Re: performance on new linux box - Mailing list pgsql-performance

From Pierre C
Subject Re: performance on new linux box
Date
Msg-id op.vfiofo1leorkce@apollo13
Whole thread Raw
In response to performance on new linux box  (Ryan Wexler <ryan@iridiumsuite.com>)
List pgsql-performance
> On the new system the bulk loads are extremely slower than on the
> previous
> machine and so are the more complex queries.  The smaller transactional
> queries seem comparable but i had expected an improvement.  Performing a
> db
> import via psql -d databas -f dbfile illustrates this problem.

If you use psql (not pg_restore) and your file contains no BEGIN/COMMIT
statements, you're probably doing 1 transaction per SQL command. As the
others say, if the old box lied about fsync, and the new one doesn't,
performance will suffer greatly. If this is the case, remember to do your
imports the proper way : either use pg_restore, or group inserts in a
transaction, and build indexes in parallel.

pgsql-performance by date:

Previous
From: Andy Colson
Date:
Subject: Re: performance on new linux box
Next
From: Eliot Gable
Date:
Subject: Re: performance on new linux box