pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feedIndexing on a separate volume
4+ messages / 3 participants
[nested] [flat]
* Indexing on a separate volume
@ 2001-06-13 12:35 mlw <markw@mohawksoft.com>
0 siblings, 2 replies; 4+ messages in thread
From: mlw @ 2001-06-13 12:35 UTC (permalink / raw)
To: pgsql-hackers
I was thinking this morning, how much work would it be to change the directory
structure of Postgres.
from:
postgres/
base/
db1/
db2/
db3/
...
pg_xlog/
to
postgres/
base/
db1/
db2/
db3/
...
index/
db1/
db2/
db3/
...
pg_xlog/
Or
postgres/
base/
db1/
data/
index/
db2/
data/
index/
db3/
data/
index/
...
pg_xlog/
This sort of arangment would allow putting indexes on separate volumes. If it
is a stupid idea, with little value or a huge amount of work, I take it back.
Seriously, however, does it make any sense?
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Indexing on a separate volume
@ 2001-06-13 13:55 Gavin Sherry <swm@linuxworld.com.au>
parent: mlw <markw@mohawksoft.com>
1 sibling, 1 reply; 4+ messages in thread
From: Gavin Sherry @ 2001-06-13 13:55 UTC (permalink / raw)
To: mlw <markw@mohawksoft.com>; +Cc: pgsql-hackers
On Wed, 13 Jun 2001, mlw wrote:
> I was thinking this morning, how much work would it be to change the directory
> structure of Postgres.
Another useful change would be the addition of directory splitting in the
database directories. This will increase performance on operating systems
whose filesystem performance drops dramatically with a large number of
files (say, large objects) in a single directory.
Gavin
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Indexing on a separate volume
@ 2001-06-13 14:01 Bruce Momjian <pgman@candle.pha.pa.us>
parent: mlw <markw@mohawksoft.com>
1 sibling, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2001-06-13 14:01 UTC (permalink / raw)
To: mlw <markw@mohawksoft.com>; +Cc: pgsql-hackers
It is a good idea. See the web-based TODO list under tablespaces for a
discussion.
> I was thinking this morning, how much work would it be to change the directory
> structure of Postgres.
>
> from:
>
> postgres/
> base/
> db1/
> db2/
> db3/
> ...
> pg_xlog/
>
> to
>
> postgres/
> base/
> db1/
> db2/
> db3/
> ...
> index/
> db1/
> db2/
> db3/
> ...
> pg_xlog/
>
> Or
> postgres/
> base/
> db1/
> data/
> index/
> db2/
> data/
> index/
> db3/
> data/
> index/
> ...
> pg_xlog/
>
> This sort of arangment would allow putting indexes on separate volumes. If it
> is a stupid idea, with little value or a huge amount of work, I take it back.
> Seriously, however, does it make any sense?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Indexing on a separate volume
@ 2001-06-13 14:07 Bruce Momjian <pgman@candle.pha.pa.us>
parent: Gavin Sherry <swm@linuxworld.com.au>
0 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2001-06-13 14:07 UTC (permalink / raw)
To: Gavin Sherry <swm@linuxworld.com.au>; +Cc: mlw <markw@mohawksoft.com>; pgsql-hackers
> On Wed, 13 Jun 2001, mlw wrote:
>
> > I was thinking this morning, how much work would it be to change the directory
> > structure of Postgres.
>
> Another useful change would be the addition of directory splitting in the
> database directories. This will increase performance on operating systems
> whose filesystem performance drops dramatically with a large number of
> files (say, large objects) in a single directory.
Good news is that in 7.1 large objects are all in one file. Again, see
the TODO.detail about tablespaces.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2001-06-13 14:07 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-13 12:35 Indexing on a separate volume mlw <markw@mohawksoft.com>
2001-06-13 13:55 ` Gavin Sherry <swm@linuxworld.com.au>
2001-06-13 14:07 ` Bruce Momjian <pgman@candle.pha.pa.us>
2001-06-13 14:01 ` Bruce Momjian <pgman@candle.pha.pa.us>
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