| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> | 
|---|---|
| To: | "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM> | 
| Cc: | Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Jan Wieck <JanWieck(at)Yahoo(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> | 
| Subject: | Re: Big 7.1 open items | 
| Date: | 2000-06-27 18:18:07 | 
| Message-ID: | 200006271818.OAA29260@candle.pha.pa.us | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
[ 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
rather than:
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mikheev, Vadim | 2000-06-27 19:22:13 | RE: Big 7.1 open items | 
| Previous Message | Peter Eisentraut | 2000-06-27 18:11:59 | Re: Is *that* why debugging backend startup is so hard!? |