Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: count(*) very very slow with few records ?

Re: count(*) very very slow with few records ?

From: David Pattinson <dpattinson_at_enternet.com.au>
Date: 2000/06/19
Message-ID: <394DB1D0.E14D4EAB@enternet.com.au>#1/1

I generally split entities with a CLOB column into two parts, with a one-to-one relationship between them. One part handles information about the CLOB (the parent table) and the other just has a PK and the CLOB. I've found that this improves performance and manageability. Technically you shouldn't have to do this, but it's a technique that will work on pretty much any DBMS. In this case your count(*) would operate on the small parent table, which would have a relatively small high water mark.

linux wrote:

> Hello,
>
> Any idea for that :
> count(*) very very slow with few records ?!
> The table contains one CLOB column and have frequently "insert/delete"
> operations
>
> Thanks
Received on Mon Jun 19 2000 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US