From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Jan Wieck <JanWieck(at)Yahoo(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, 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-18 13:33:44 |
Message-ID: | 200006181333.JAA01648@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
> I haven't figured out extent locations yet. One idea is to allow
> administrators to create symlinks for tables >1 gig, and to not remove
> the symlinks when a table shrinks. Only remove the file pointed to by
> the table, but leave the symlink there so if the table grows again, it
> can use the symlink. lstat() would allow this.
OK, I have an extent idea. It is:
CREATE LOCATION tabloc IN '/var/private/pgsql' EXTENT2
'/usr/pg'.
This creates an /extents directory in the location, with extents/2
symlinked to /usr/pg:
data/base/mydb/tabloc
data/base/mydb/tabloc/extents/2
When extending a table, it looks for an extents/2 directory and uses
that if it exists. Same for extents3. We could even get fancy and
round-robin through all the extents directories, looping around to the
beginning when we run out of them. That sounds nice.
--
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 | Peter Eisentraut | 2000-06-18 14:24:43 | Re: Database Transfer |
Previous Message | Michael Reifenberger | 2000-06-18 10:38:39 | Re: Big 7.1 open items |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-06-18 14:35:54 | Re: Big 7.1 open items |
Previous Message | Michael Reifenberger | 2000-06-18 10:38:39 | Re: Big 7.1 open items |