pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: greg@turnstep.com
To: pgsql-admin@postgresql.org
Cc: thierry.missimilly@bull.net
Subject: Re: find table name
Date: Tue,  9 Dec 2003 00:39:06 -0000
Message-ID: <37fc27d7e91348f8dde4657681ca37e5@biglumber.com> (raw)
In-Reply-To: <3FD44553.5B69CDA1@BULL.NET>


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
 
> I used to run oid2name to find the relation between database names and
> .../data/base/<dir> 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-----





view thread (4+ messages)

Message-ID: <37fc27d7e91348f8dde4657681ca37e5@biglumber.com>
Permalink:  ../37fc27d7e91348f8dde4657681ca37e5@biglumber.com/
Also on:    postgresql.org/message-id/37fc27d7e91348f8dde4657681ca37e5@biglumber.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: greg@turnstep.com, thierry.missimilly@bull.net
  Subject: Re: find table name
  In-Reply-To: <37fc27d7e91348f8dde4657681ca37e5@biglumber.com>
  References: <3FD44553.5B69CDA1@BULL.NET> <37fc27d7e91348f8dde4657681ca37e5@biglumber.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox