Re: Big 7.1 open items
От | Bruce Momjian |
---|---|
Тема | Re: Big 7.1 open items |
Дата | |
Msg-id | 200006181333.JAA01648@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Big 7.1 open items (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: Big 7.1 open items
Re: Big 7.1 open items |
Список | pgsql-hackers |
> 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/tablocdata/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@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления: