Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-13 Thread Vivek Khera
> "LO" == Leon Out <[EMAIL PROTECTED]> writes: LO> project. The results so far have been disappointing, with Postgres LO> performing queries in about the same time as SQL Server even though LO> Postgres is running on a dedicated box with about 4 times the clock LO> speed of the SQL Server box.

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-13 Thread Vivek Khera
> "LO" == Leon Out <[EMAIL PROTECTED]> writes: LO> Josh, the disks in the new system should be substantially faster than LO> the old. Both are Ultra160 SCSI RAID 5 arrays, but the new system has LO> 15k RPM disks, as opposed to the 10k RPM disks in the old system. If you've got the time, try

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-13 Thread Leon Out
All, thanks for your suggestions. I've tweaked my configuration, and I think I've squeezed a little more performance out of the setup. I also tried running several tests simultaneously against postgres and SQL Server, and postgres did much better with the heavy load. My new settings are: max_co

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-13 Thread Andrew Sullivan
On Thu, Feb 12, 2004 at 05:19:27PM -0500, Chris Ruprecht wrote: > what he's doing, this might be a bottleneck. I don't like the virtual memory > strategy of Linux too much and would rather increase this to 1 - 2 GB for the > Postgres DB - Specially since he's not running anything else on the mac

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-12 Thread Josh Berkus
Leon, > Hello all. I am in the midst of porting a large web application from a > MS SQL Server backend to PostgreSQL. The migration work is basically > complete, and we're at the testing and optimization phase of the > project. The results so far have been disappointing, with Postgres > perfor

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-12 Thread Chris Ruprecht
Bruce, my bet is on the limited amount of shared memory. The setup as posted by Leon only shows 80 MB. On a 4 GB database, that's not all that much. Depending on what he's doing, this might be a bottleneck. I don't like the virtual memory strategy of Linux too much and would rather increase thi

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-12 Thread PC Drew
Please run your largest (worst) queries using EXPLAIN ANALYZE and send in the results so we can see how the queries are being executed & optimized. On Feb 12, 2004, at 11:29 AM, Leon Out wrote: Hello all. I am in the midst of porting a large web application from a MS SQL Server backend to Post

Re: [PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-12 Thread Bruce Momjian
Leon Out wrote: > Hello all. I am in the midst of porting a large web application from a > MS SQL Server backend to PostgreSQL. The migration work is basically > complete, and we're at the testing and optimization phase of the > project. The results so far have been disappointing, with Postgres

[PERFORM] Disappointing performance in db migrated from MS SQL Server

2004-02-12 Thread Leon Out
Hello all. I am in the midst of porting a large web application from a MS SQL Server backend to PostgreSQL. The migration work is basically complete, and we're at the testing and optimization phase of the project. The results so far have been disappointing, with Postgres performing queries in a