Re: Best practice to get performance

From: Ivan Voras <ivoras(at)freebsd(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Best practice to get performance
Date: 2010-11-20 00:06:36
Message-ID: ic73ed$kmp$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/19/10 23:14, Andy Colson wrote:
> On 11/19/2010 4:04 PM, Ivan Voras wrote:
>> On 11/19/10 15:49, Andy Colson wrote:
>>
>>> unlogged will only help insert/update performance. Lookup tables sound
>>> readonly for a majority of time. (I'm assuming lots of reads and every
>>> once and a while updates). I doubt that unlogged tables would speed up
>>> lookup tables.
>>
>> Are FreeBSD's temp tables still storage-backed? (i.e. are there
>> memory-backed temp tables)?
>>
>>
>>
>
> Sorry, I'm not sure what you are asking. Not sure what this has to do
> with FreeBSD, or its temp tables.
>
> Unless: s/freebsd/postgres/i

Yes, sorry, switched between mailing lists too fast :)

> Ah, yes, Postgres temp tables still make it to disk eventually. They are
> not WAL logged (but if they get really big they spill to disk). There
> are no memory only tables, no. But PG will cache the heck out of all
> tables, so you get the best of both worlds.

Thanks!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-11-20 03:03:06 Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n
Previous Message Tom Lane 2010-11-19 23:13:16 Re: Upgrading 8.2 to 8.4: pg_restore: did not find magic string in file header\n