Re: partitioning system tables - Mailing list pgsql-admin

From David Johnston
Subject Re: partitioning system tables
Date
Msg-id 1380747420751-5773155.post@n5.nabble.com
Whole thread Raw
In response to partitioning system tables  (Radovan Jablonovsky <radovan.jablonovsky@replicon.com>)
List pgsql-admin
Radovan Jablonovsky wrote
> Hello,
>
> When postgresql system tables, (tables in pg_catalog) reach size of 10mil
> rows, it will slow down some DDL operations, which insert, update or
> delete
> data from pg_* tables. Is it possible to partition the system tables or is
> there some other way to improve performance of the DDL operations?

Is it possible now? No.

I guess the most possible partitioning scheme would be schema-based so each
schema's objects are created on their own partitioned catalogs and the
name-based search mechanism would append a where clause to the search limit
the schemas that are search based upon the current search_path.  Since the
catalogs are cluster shared having a partition be database-schema name based
would be even more appropriate.

Note I'm not even sure if catalog access in this way is done via SQL or by
some other mechanism that would not be readily partitioned.

David J.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/partitioning-system-tables-tp5773152p5773155.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


pgsql-admin by date:

Previous
From: Radovan Jablonovsky
Date:
Subject: partitioning system tables
Next
From: Walter Hurry
Date:
Subject: Re: pgAdmin forgets password on "could not connect to server" error