[ Charset ISO-8859-1 unsupported, converting... ]
> > > > The symlinks wouldn't do any good for what Bruce had in
> > > > mind anyway (IIRC, he wanted to get useful per-database
> > > > numbers from "du").
> > >
> > > Our database design seems to be in the opposite direction
> > > if it is restricted for the convenience of command calls.
> > Well, I don't see any reason not to use tablespace/database
> > rather than just tablespace. Seems having fewer files in each directory
> Once again - ability to use different tablespaces (disks) for tables/indices
> in the same schema. Schemas must not dictate where to store objects <-
> bad design.
I am suggesting this symlink:
ln -s data/base/testdb/myspace /var/myspace/testdb
ln -s data/base/testdb/myspace /var/myspace
Tablespaces still sit inside database directories, it is just that it
points to a subdirectory of myspace, rather than myspace itself.
Am I missing something?
> > will be a little faster, and if we can make administration easier,
> > why not?
> Because you'll not be able use du/ls once we'll implement new smgr anyway.
At least du will work. I doubt we will be putting tables from different
databases in the same file.
> And, btw, - for what are we going implement tablespaces? Just to have
> fewer files in each dir ?!
No, I thought it was to split files across drives.
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-hackers by date
|Next:||From: Mikheev, Vadim||Date: 2000-06-27 19:22:13|
|Subject: RE: Big 7.1 open items|
|Previous:||From: Peter Eisentraut||Date: 2000-06-27 18:11:59|
|Subject: Re: Is *that* why debugging backend startup is so hard!?|