X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 23A0FD1B456 for ; Tue, 9 Dec 2003 00:39:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 26172-08 for ; Mon, 8 Dec 2003 20:39:07 -0400 (AST) Received: from biglumber.com (biglumber.com [207.228.252.42]) by svr1.postgresql.org (Postfix) with SMTP id 75842D1B47C for ; Mon, 8 Dec 2003 20:39:03 -0400 (AST) Received: (qmail 30869 invoked from network); 9 Dec 2003 00:39:06 -0000 Received: from unknown (HELO localhost) (207.228.252.42) by 0 with SMTP; 9 Dec 2003 00:39:06 -0000 From: greg@turnstep.com To: pgsql-admin@postgresql.org Cc: thierry.missimilly@bull.net Cc: thierry.missimilly@bull.net Subject: Re: find table name X-PGP-Key: 2529 DF6A B8F7 9407 E944 45B4 BC9B 9067 1496 4AC8 X-Request-PGP: http://www.biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 In-Reply-To: <3FD44553.5B69CDA1@BULL.NET> Date: Tue, 9 Dec 2003 00:39:06 -0000 X-Mailer: JoyMail 1.38 Message-ID: <37fc27d7e91348f8dde4657681ca37e5@biglumber.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/92 X-Sequence-Number: 11600 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > I used to run oid2name to find the relation between database names and > .../data/base/ but i'm interested also to identify relation between table > names, index names and files number as would try to decrease Wait I/O by > setting tables on one disk and indexes on another one. > The tables pg_class and pg_index do not give the symbolic name with the > "numbers". This is probably not what you want to do - there are less drastic ways to get more performance out of PostgreSQL. One thing you can do is move your WAL files to a different disk, as they are very heavily accessed. (this is the pg_xlog directory). There are lots of other things that can help as well - post your hardware and/or queries to the performance list and you should get some good responses: http://tinyurl.com/yc2b - -- Greg Sabino Mullane greg@turnstep.com PGP Key: 0x14964AC8 200312081935 -----BEGIN PGP SIGNATURE----- iD8DBQE/1RlYvJuQZxSWSsgRAjV4AJ9uvU5e4yStJSWLhEJZXW/TEiiDGgCgmwKM rymCF633HioUBJQ0Oj0obZg= =rf6h -----END PGP SIGNATURE-----