Unix Technical Forum

Caching in PostgreSQL

This is a discussion on Caching in PostgreSQL within the Pgsql Performance forums, part of the PostgreSQL category; --> Hi, Can anybody tell me how can I implement data Caching in the shared memory using PostgreSQL. For one ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Performance

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-19-2008, 10:05 AM
ramachandra.bhaskaram@wipro.com
 
Posts: n/a
Default Caching in PostgreSQL



Hi,

Can anybody tell me how can I implement data Caching in the
shared memory using PostgreSQL.

For one of the projects we are using Postgres version 8.0.3 and
were planning to support table partitioning in order to improve the DB
query/update performance but, it will be very much helpful if anybody
can tell me whether data cache is possible in Postgres.

We also, need to know if the DB view is kept in the DB Managers program
memory or in the shared memory of the processor. If it is in the shared
memory, we only need to know the shared memory address/name so that we
can access. If not in shared memory then we need know whether it is
possible to make the postgress to store the DB view in shared memory.

Thanks in Advance,
Ram.


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-19-2008, 10:05 AM
Heikki Linnakangas
 
Posts: n/a
Default Re: Caching in PostgreSQL

ramachandra.bhaskaram@wipro.com wrote:
>
> Hi,
>
> Can anybody tell me how can I implement data Caching in the
> shared memory using PostgreSQL.


PostgreSQL, like most other DBMS, caches data pages in shared memory.
What exactly are you trying to accomplish? Are you having a performance
problem?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-19-2008, 10:05 AM
Chris Browne
 
Posts: n/a
Default Re: Caching in PostgreSQL

ramachandra.bhaskaram@wipro.com writes:
> Can anybody tell me how can I implement data Caching in the
> shared memory using PostgreSQL.


PostgreSQL already does that.

Implementing this functionality is rather tricky: Between version 7.4
and now, it has seen *massive* change which has required a great deal
of effort on the part of various developers.

Reimplementing it without a well-tested, well-thought-out alternative
proposal isn't likely to happen...
--
let name="cbbrowne" and tld="linuxfinances.info" in name ^ "@" ^ tld;;
http://linuxfinances.info/info/emacs.html
"Just because it's free doesn't mean you can afford it." -- Unknown
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 05:31 AM.


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