Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRTTs-0007AQ-DG for pgsql-admin@arkaria.postgresql.org; Wed, 02 Oct 2013 20:57:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VRTTr-0002br-Q0 for pgsql-admin@arkaria.postgresql.org; Wed, 02 Oct 2013 20:57:11 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRTTp-0002bi-Nt for pgsql-admin@postgresql.org; Wed, 02 Oct 2013 20:57:09 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VRTTi-0001Xc-B7 for pgsql-admin@postgresql.org; Wed, 02 Oct 2013 20:57:08 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VRTTg-00028I-SV for pgsql-admin@postgresql.org; Wed, 02 Oct 2013 13:57:01 -0700 Date: Wed, 2 Oct 2013 13:57:00 -0700 (PDT) From: David Johnston To: pgsql-admin@postgresql.org Message-ID: <1380747420751-5773155.post@n5.nabble.com> In-Reply-To: References: Subject: Re: partitioning system tables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 3.7 (+++) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org 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. -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin