Re: partitioning system tables

From: David Johnston <polobo(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: partitioning system tables
Date: 2013-10-02 20:57:00
Message-ID: 1380747420751-5773155.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Walter Hurry 2013-10-02 21:33:39 Re: pgAdmin forgets password on "could not connect to server" error
Previous Message Radovan Jablonovsky 2013-10-02 20:14:50 partitioning system tables