Board index » delphi » HELP: Storing images into InterBase very slow

HELP: Storing images into InterBase very slow

Hi

I am trying to store images (30KByte) into a blob field of an Interbase
mdb. I assign the image to a TDBImage but when I post it takes a lot
of time, even working with a local server. If I try to do the same with
a 300KByte image, it may even hang the application.

I have tried different approaches, such as doing the same using
SQL statements or using a stream to write to the field. In any case,
when the changes are posted it takes that much time.

On the other hand, if I try to store the same amount of info (30KByte)
into a TDBMemo, it works pretty fast.

Does anybody know why it doesn't work as well for images? Is there
something I am missing?

Any comments are appreciated

Pere Pal

 

Re:HELP: Storing images into InterBase very slow


Quote
Pere =?iso-8859-1?Q?Pal=E0?= (p...@tsc.upc.es) wrote:

: I am trying to store images (30KByte) into a blob field of an Interbase
: mdb. I assign the image to a TDBImage but when I post it takes a lot
: of time, even working with a local server. If I try to do the same with
: a 300KByte image, it may even hang the application.

Not being an Interbase user, I can't answer your question.
But I'll just mention that if the images are always going
to remain available and in the same place, what you can
do is only store the path to the image as a character field
inside the database.
--
============================================================
Rick Carter   carte...@email.uc.edu   rcar...@tso.cin.ix.net
============================================================

Other Threads