Re: ATTN: Clodaldo was Performance problem. Could it be related to 8.3-beta4?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Clodoaldo <clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: Re: ATTN: Clodaldo was Performance problem. Could it be related to 8.3-beta4?
Date: 2008-01-20 16:16:29
Message-ID: 20080120161629.GA22106@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane escribió:

> In the long run, for queries inserting many rows it might be interesting
> to accumulate all the entries intended for a btree index and sort them
> before inserting. Not sure about possible downsides of that.

Yeah, in the long run we need a more flexible approach towards index
insertion. I doubt we want to know _all_ the entries beforehand; that
would probably involve disk-spilling, etc. Perhaps accumulate a
reasonable number (using up to work_mem?) and insert those in batches.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2008-01-20 16:33:43 Re: Sun acquires MySQL
Previous Message Leonel Nunez 2008-01-20 16:09:24 Re: postgresql source build instructions for ubuntu 7.04