Re: Large number of rows in pg_type and slow gui (pgadmin) refresh

Поиск
Список
Период
Сортировка
От Igor Neyman
Тема Re: Large number of rows in pg_type and slow gui (pgadmin) refresh
Дата
Msg-id A76B25F2823E954C9E45E32FA49D70EC08F48D61@mail.corp.perceptron.com
обсуждение исходный текст
Ответ на Re: Large number of rows in pg_type and slow gui (pgadmin) refresh  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-general

> -----Original Message-----
> From: Thomas Kellerer [mailto:spam_eater@gmx.net]
> Sent: Thursday, January 03, 2013 12:31 PM
> To: pgsql-general@postgresql.org
> Subject: Re: Large number of rows in pg_type and slow gui (pgadmin)
> refresh
>
> Robert Klaus wrote on 03.01.2013 16:50:
> > We have 36,000+ rows returned by " SELECT oid, format_type(oid,
> > typtypmod) AS typname FROM pg_type".
> >
> > My manager says this is only a small number compared to what is
> > expected by next summer.
>
> Why do you need so many types?
> That sounds like something in your design is not right.
>
> Thomas
>

Probably those are not the types Robert created explicitly.
There must be lots of tables/views (m.b. lots of partitions) in the database.  Every table/view adds couple records to
pg_type:one type for table/view record and one type the set (array) of table/view records. 

Regards,
Igor Neyman




В списке pgsql-general по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Unable to reload postgresql.conf without restarting
Следующее
От: Ali Pouya
Дата:
Сообщение: Re: Monitoring streaming replication from standby on Windows