Re: [GENERAL] [PERFORM] Very slow inner join query Unacceptable latency.

2013-05-24 Thread Scott Marlowe
On Fri, May 24, 2013 at 3:44 PM, wrote: > Total runtime: 1606.728 ms 1.6 seconds <- very good response time > improvement > > (7 rows) > > Questions: > > Any concerns with setting these conf variables you recommended; work_mem, > random_page_cost dbserver wide (in postgresql,conf)? > > Thanks so

Re: [GENERAL] [PERFORM] Very slow inner join query Unacceptable latency.

2013-05-24 Thread fburgess
1.) Server settingmemory: 32960116kB = 32GB2.) Current Postgresql configuration settings of note in my environment.enable_hashjoin=offwork_mem = 16MB #random_page_cost-4.0 <- defaultmaintenance_work_mem=256MBshared_buffers = 8GBserverdb=# explain analyze select count(*) as y0_ from SARS_ACTS this_

[PERFORM] Re: pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance

2013-05-24 Thread sachin kotwal
Thanks for reply. >This could easily be caused by something outside of the test itself. Background processes. A monitoring system kicking in to write some data to disk will cause a drop like this. >Three things you could look into to try and track down the issue: >-Did you turn on log_checkpoin

Re: [PERFORM] pgbench: spike in pgbench results(graphs) while testing pg_hint_plan performance

2013-05-24 Thread Greg Smith
On 5/23/13 7:39 AM, Sachin D. Bhosale-Kotwal wrote: So i am not getting why spike occure at *12:09:14 *only*.* This could easily be caused by something outside of the test itself. Background processes. A monitoring system kicking in to write some data to disk will cause a drop like this. T

Re: [PERFORM] Reliability with RAID 10 SSD and Streaming Replication

2013-05-24 Thread Greg Smith
On 5/22/13 2:45 PM, Shaun Thomas wrote: That read rate and that throughput suggest 8k reads. The queue size is 270+, which is pretty high for a single device, even when it's an SSD. Some SSDs seem to break down on queue sizes over 4, and 15 sectors spread across a read queue of 270 is pretty hash