[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

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

[PERFORM] Lengthy pg_restore and high iowait?

2004-02-13 Thread Leon Out
Courier NewHello again. I'm setting up a backup routine for my new db server. As part of my testing, I'm attempting to pg_restore a pg_dump'ed backup of my database. The database is about 4.3 GB, and the dump file is about 100 MB. I first did a schema-only restore, then started a data-only restore