Re: performance on new linux box

From: Pierre C
Subject: Re: performance on new linux box
Date: ,
Msg-id: op.vfiofo1leorkce@apollo13
(view: Whole thread, Raw)
In response to: performance on new linux box  (Ryan Wexler)
List: pgsql-performance

Tree view

performance on new linux box  (Ryan Wexler, )
 Re: performance on new linux box  (Tom Lane, )
 Re: performance on new linux box  (Rob Wultsch, )
 Re: performance on new linux box  (Andy Colson, )
  Re: performance on new linux box  (Eliot Gable, )
   Re: performance on new linux box  ("Kevin Grittner", )
    Re: performance on new linux box  (Eliot Gable, )
     Re: performance on new linux box  ("Kevin Grittner", )
      Re: performance on new linux box  (Ryan Wexler, )
       Re: performance on new linux box  ("Joshua D. Drake", )
       Re: performance on new linux boxeradmin(11983)i: STATEMENT: update license set expires= '2010-06-15' where lic  (John Rouillard, )
       Re: performance on new linux box  (Craig James, )
       Re: performance on new linux box  (Russell Smith, )
        Re: performance on new linux box  (Samuel Gendler, )
         Re: performance on new linux box  (Ryan Wexler, )
          Re: performance on new linux box  (Greg Smith, )
          Re: performance on new linux box  (Andy Colson, )
       Re: performance on new linux box  ("Joshua D. Drake", )
 Re: performance on new linux box  ("Pierre C", )
 Fwd: performance on new linux box  (Ryan Wexler, )
  Re: performance on new linux box  (Jochen Erwied, )
   Re: performance on new linux box  (Ryan Wexler, )
    Re: performance on new linux box  ("Kevin Grittner", )
    Re: performance on new linux box  (Jochen Erwied, )
     Re: performance on new linux box  (Ryan Wexler, )
      Re: performance on new linux box  (Ben Chobot, )
      Re: performance on new linux box  ("Kevin Grittner", )
       Re: performance on new linux box  (Ryan Wexler, )
        Re: performance on new linux box  (David Boreham, )
        Re: performance on new linux box  ("Kevin Grittner", )
        Re: performance on new linux box  (Craig James, )
         Re: performance on new linux box  (<>, )
          Re: performance on new linux box  (Craig James, )
           Re: performance on new linux box  (Scott Carey, )
            Re: performance on new linux box  (Ben Chobot, )
             Re: performance on new linux box  (Scott Carey, )
              Re: performance on new linux box  (Ben Chobot, )
               Re: performance on new linux box  (Ryan Wexler, )
                Re: performance on new linux box  (Ben Chobot, )
                 Re: performance on new linux box  (Craig Ringer, )
               Re: performance on new linux box  (Scott Carey, )
                Re: performance on new linux box  (Ben Chobot, )
                Re: performance on new linux box  (Greg Smith, )
              Re: performance on new linux box  (Scott Marlowe, )
               Re: performance on new linux box  (Scott Carey, )
               Re: performance on new linux box  (Craig Ringer, )
            Re: performance on new linux box  (Ryan Wexler, )
          Re: performance on new linux box  (David Boreham, )
   Re: performance on new linux box  (Ryan Wexler, )
    Re: performance on new linux box  (Jochen Erwied, )
 Re: performance on new linux box  (Ben Chobot, )
  Re: performance on new linux box  ("Pierre C", )

> 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:

From: Eliot Gable
Date:
Subject: Re: performance on new linux box
From: "Kevin Grittner"
Date:
Subject: Re: performance on new linux box