Re: Questions about indexes? - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: Questions about indexes?
Date
Msg-id 20030217202431.Y6345-100000@houston.familyhealth.com.au
Whole thread Raw
In response to Re: Questions about indexes?  (Daniel Kalchev <daniel@digsys.bg>)
List pgsql-hackers
> I ended up with few only indexes on the operations table, because the
> processes that fill it up do minimal lookups to see if data is already in the
> table, if not do inserts. Then at regular intervals, the table is cleaned up -
> that is, a process to remove the duplicate is run. This unfortunately costs
> OIDs, but I found no other reasonable way to do the fast inserts. Perhaps the
> best way is to create the table without OIDs (but wouldn't this still waste
> OIDs?) use COPY and then clean afterwards?

No, WITHOUT OIDS is implemented specifically to not waste OIDs.

Chris



pgsql-hackers by date:

Previous
From: Daniel Kalchev
Date:
Subject: Re: Questions about indexes?
Next
From: Tatsuo Ishii
Date:
Subject: Re: client_encoding directive is ignored in