Query Time is Slow - Mailing list pgsql-performance

From Foster, Kristian B (HSC)
Subject Query Time is Slow
Date
Msg-id 7DF4C4113E7CAD4D90A978233833EFE803A6180921@TESLA.hsc.net.ou.edu
Whole thread Raw
Responses Re: Query Time is Slow
List pgsql-performance

Start off, I’m new to postgres.  I’m running Ubuntu 10.04.04 with postgres 9.1 on a VM with 32 GB of RAM.

 

I’m trying to increase the response time on submitted queries.  I’m comparing the same queries to a SQL Server instance with the same data sets.

 

The queries are used in our Analytics environments.

The parameters we have modified on postgresql.confi are the following:

·         shared_buffers = 24MB to 512 MB to 4GB

·         work_mem = 1MB to 512MB to 1GB

·         maintenance_work = 16MB to 1GB

·         temp_buffers = 8MB to 1GB

·         effective_cache_size = 128MB to 1024MB to 16GB

·         autovacuum = on to off

 

Currently the queries are running about 4x slower on postgres than sql server.  Is there any settings I need to check?

 

Thanks

Kristian

pgsql-performance by date:

Previous
From: Jon Nelson
Date:
Subject: temp tablespaces and SSDs, etc..
Next
From: Kevin Grittner
Date:
Subject: Re: Query Time is Slow