Re: performance on new linux box

От: Pierre C
Тема: Re: performance on new linux box
Дата: ,
Msg-id: op.vfiofo1leorkce@apollo13
(см: обсуждение, исходный текст)
Ответ на: performance on new linux box  (Ryan Wexler)
Список: pgsql-performance

Скрыть дерево обсуждения

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 по дате сообщения:

От: Eliot Gable
Дата:
Сообщение: Re: performance on new linux box
От: "Kevin Grittner"
Дата:
Сообщение: Re: performance on new linux box