Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: BLOB fields slow down queries
Big George wrote:
> Hello,
>
> If I run this query:
>
> select MyID, MyDescription, MyblobField
>>From MyTable
>>From MyTable
It generally is not a good idea to read all of the BLOB's in this fashion. You have 500 records and each BLOB is about 250KB. Doing the math means that your query will return approximately 125MB of data. If you have to do physical reads to satisfy the query, then reading 125MB of data will take some time. You might want to consider putting this table in the KEEP cache so that you only have logical reads, not physical reads. You also might want to consider redefining the SQL so that you return only those BLOB's that you need...maybe you've done this already.
HTH,
Brian
-- =================================================================== Brian Peasland dba_at_nospam.peasland.net http://www.peasland.net Remove the "nospam." from the email address to email me. "I can give it to you cheap, quick, and good. Now pick two out of the three" - UnknownReceived on Tue Sep 26 2006 - 18:00:06 CDT
![]() |
![]() |