Re: Loading png images into a mysql table/database
- From: "seaside" <seaside.ki@xxxxxxx>
- Date: 21 Dec 2006 19:57:27 -0800
eholz1 schrieb:
Hello Members,
I am setting up a photo website. I have decided to use PHP and MySQL.
I can load jpeg files into the table (medium blob, or even longtext)
and get the image(s) to display without a problem.
Just a small performance note:
If you use blobs and various other types, MySQL is likely to fall back
in table-scan mode which might slow down your queries very much. A
table-scan needs to read the full table data, at least much more, than
an index.
Even if you use some indexes, MySQL might not use them - the exact
behaviour depends on your indexes and queries.
Are there good reasons to keep image data in tables and not in file
systems - other than simpler coding, e.g.?
.
- Follow-Ups:
- Re: Loading png images into a mysql table/database
- From: seaside
- Re: Loading png images into a mysql table/database
- From: Nick DeNardis
- Re: Loading png images into a mysql table/database
- References:
- Loading png images into a mysql table/database
- From: eholz1
- Loading png images into a mysql table/database
- Prev by Date: Re: Getting a function result while in heredoc
- Next by Date: Re: About mysql_pconnect
- Previous by thread: Loading png images into a mysql table/database
- Next by thread: Re: Loading png images into a mysql table/database
- Index(es):
Relevant Pages
|