Re: pg_dump and thousands of schemas

От: Bruce Momjian
Тема: Re: pg_dump and thousands of schemas
Дата: ,
Msg-id: 20120525151830.GD25444@momjian.us
(см: обсуждение, исходный текст)
Ответ на: Re: pg_dump and thousands of schemas  (Tom Lane)
Ответы: Re: pg_dump and thousands of schemas  (Jeff Janes)
Список: pgsql-performance

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

pg_dump and thousands of schemas  ("Hugo ", )
 Re: pg_dump and thousands of schemas  (Craig James, )
  Re: pg_dump and thousands of schemas  (Jeff Janes, )
   Re: pg_dump and thousands of schemas  (Bruce Momjian, )
    Re: pg_dump and thousands of schemas  ("Hugo <Nabble>", )
     Re: pg_dump and thousands of schemas  (Ondrej Ivanič, )
     Re: pg_dump and thousands of schemas  (Tom Lane, )
      Re: pg_dump and thousands of schemas  (Bruce Momjian, )
       Re: pg_dump and thousands of schemas  (Jeff Janes, )
      Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
       Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
        Re: pg_dump and thousands of schemas  (Tom Lane, )
         Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
         Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
          Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
           Re: pg_dump and thousands of schemas  (Tom Lane, )
            Re: pg_dump and thousands of schemas  (Stephen Frost, )
             Re: pg_dump and thousands of schemas  (Tom Lane, )
            Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
           Re: pg_dump and thousands of schemas  (Bruce Momjian, )
            Re: pg_dump and thousands of schemas  (Tom Lane, )
             Re: pg_dump and thousands of schemas  (Bruce Momjian, )
             Re: [HACKERS] pg_dump and thousands of schemas  (Robert Haas, )
              Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
               Re: [HACKERS] pg_dump and thousands of schemas  (Jeff Janes, )
                Re: [HACKERS] pg_dump and thousands of schemas  (Robert Haas, )
                 Re: [HACKERS] pg_dump and thousands of schemas  (Denis, )
                  Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
                   Re: [HACKERS] pg_dump and thousands of schemas  (Denis, )
                    Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
                     Re: [HACKERS] pg_dump and thousands of schemas  (Denis, )
                      Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
                       Re: [HACKERS] pg_dump and thousands of schemas  (Denis, )
                        Re: [HACKERS] pg_dump and thousands of schemas  (Jeff Janes, )
                         Re: [HACKERS] pg_dump and thousands of schemas  (Denis, )
                          Re: [HACKERS] pg_dump and thousands of schemas  (Jeff Janes, )
                          Re: [HACKERS] pg_dump and thousands of schemas  (Andrew Dunstan, )
          Re: pg_dump and thousands of schemas  (Jeff Janes, )
           Re: pg_dump and thousands of schemas  (Jeff Janes, )
            Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
             Re: pg_dump and thousands of schemas  (Jeff Janes, )
              Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
               Re: pg_dump and thousands of schemas  ("Hugo <Nabble>", )
        Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
         Re: pg_dump and thousands of schemas  (Robert Klemme, )
          Re: pg_dump and thousands of schemas  (Tatsuo Ishii, )
           Re: pg_dump and thousands of schemas  (Robert Klemme, )
            Re: pg_dump and thousands of schemas  (Claudio Freire, )
             Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
              Re: [HACKERS] pg_dump and thousands of schemas  (Robert Haas, )
               Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
                Re: [HACKERS] pg_dump and thousands of schemas  (Bruce Momjian, )
                Re: [HACKERS] pg_dump and thousands of schemas  (Claudio Freire, )
                 Re: [HACKERS] pg_dump and thousands of schemas  (Tom Lane, )
                  Re: [HACKERS] pg_dump and thousands of schemas  (Claudio Freire, )
                Re: [HACKERS] pg_dump and thousands of schemas  (Robert Haas, )
                 Re: [HACKERS] pg_dump and thousands of schemas  (Bruce Momjian, )
      Re: pg_dump and thousands of schemas  ("Hugo <Nabble>", )
       Re: pg_dump and thousands of schemas  (Jeff Janes, )
        Re: pg_dump and thousands of schemas  (Tom Lane, )
         Re: pg_dump and thousands of schemas  ("Hugo <Nabble>", )
    Re: pg_dump and thousands of schemas  (Jeff Janes, )
     Re: pg_dump and thousands of schemas  (Tom Lane, )
      Re: pg_dump and thousands of schemas  (Jeff Janes, )
     Re: pg_dump and thousands of schemas  (Tom Lane, )
      Re: pg_dump and thousands of schemas  (Jeff Janes, )

On Fri, May 25, 2012 at 10:41:23AM -0400, Tom Lane wrote:
> "Hugo <Nabble>" <> writes:
> > If anyone has more suggestions, I would like to hear them. Thank you!
>
> Provide a test case?
>
> We recently fixed a couple of O(N^2) loops in pg_dump, but those covered
> extremely specific cases that might or might not have anything to do
> with what you're seeing.  The complainant was extremely helpful about
> tracking down the problems:
> http://archives.postgresql.org/pgsql-general/2012-03/msg00957.php
> http://archives.postgresql.org/pgsql-committers/2012-03/msg00225.php
> http://archives.postgresql.org/pgsql-committers/2012-03/msg00230.php

Yes, please help us improve this!  At this point pg_upgrade is limited
by the time to dump/restore the database schema, but I can't get users
to give me any way to debug the speed problems.

Someone reported pg_upgrade took 45 minutes because of pg_dumpall
--schema, which is quite long.

--
  Bruce Momjian  <>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


В списке pgsql-performance по дате сообщения:

От: Tom Lane
Дата:
Сообщение: Re: pg_dump and thousands of schemas
От: Jeff Janes
Дата:
Сообщение: Re: pg_dump and thousands of schemas