Search Postgresql Archives

Re: work_mem greater than 2GB issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Quoting wickro <robwickert@xxxxxxxxx>:
I have a largish table (> 8GB). I'm doing a very simple single group
by on.

This doesn't answer your question, but you might want to take advantage of table partitioning:
http://www.postgresql.org/docs/8.3/interactive/ddl-partitioning.html

I've recently gone through this exercise (several tables were 10GB+, some almost 30GB) and if your WHERE clauses qualify, then expect significant performance gains with /much/ better memory consumption.

You only have one large table, so partitioning it should be painless and not take too long (unlike our scenario).

Cheers
Henry

Attachment: pgpQ5N5Rdos2c.pgp
Description: PGP Digital Signature


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux