Search Postgresql Archives

Re: Large tables, ORDER BY and sequence/index scans

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

 



>>>>> "JRP" == John R Pierce <pierce@xxxxxxxxxxxx> writes:

    >> effective_cache_size = 128MB

    JRP> thats rather small unless your systme is very memory
    JRP> constrained.  assuming postgres is the primary disk IO consumer
    JRP> on this ysstem, take a look at the cached' value on TOP or
    JRP> whatever after its been running, thats a good first order
    JRP> estimate of effective_cache_size.... this is often half or more
    JRP> of your physical memory.

Indeed, increasing effective_cache_size helps, thanks.

Thank you all for the tips, I hope I understand the planner behavior for
my queries better now.

Regards,
Milan Zamazal


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[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