Unix Technical Forum

Re: [pgsql-hackers] Daily digest v1.5568 (24 messages)

This is a discussion on Re: [pgsql-hackers] Daily digest v1.5568 (24 messages) within the pgsql Hackers forums, part of the PostgreSQL category; --> On Mon, 21 Nov 2005, Marc Munro wrote: > I wonder if this idea might be taken a little ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 06:55 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: [pgsql-hackers] Daily digest v1.5568 (24 messages)

On Mon, 21 Nov 2005, Marc Munro wrote:

> I wonder if this idea might be taken a little further, to allow
> read-only tablespaces?
>
> This would allow old partitions in very large databases to be kept on
> read-only media, and would allow normal backups to ignore this
> unchanging set of data.


I guess you could do that, but it's really quite a different problem.

> It also allows for certain specific optimisations for this type of data,
> as the MVCC rules are now relaxed. Inclusion of a row in a read-only
> index is now enough to guarantee the visibility of that row to all
> backends, and fetches based solely on the index now become possible.


There's this TODO:

> Allow data to be pulled directly from indexes
>
> Currently indexes do not have enough tuple visibility information to
> allow data to be pulled from the index without also accessing the heap.
> One way to allow this is to set a bit to index tuples to indicate if a
> tuple is currently visible to all transactions when the first valid
> heap lookup happens. This bit would have to be cleared when a heap
> tuple is expired.


That method doesn't require read-only tablespaces.

- Heikki

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com