Re: [GENERAL] [SQL] Can we load all database objects in memory?

2009-03-25 Thread ries van Twisk

Deepak,

please don't cross-post the same question to 3 different lists.

The short answer is no, you cannot force PostgreSQL to load all  
objects into memory.


However when you proper configure PostgreSQL most, if not all of your  
data will be cached

by the OS and/or PostgreSQL shared memory system.

Ries



Hi All,

I have a database of 10GB.
My Database Server has a RAM of 16GB

Is there a way that I can load all the database objects to memory?

Thanks for your time and taking a look at this question.


Thanks
Deepak








smime.p7s
Description: S/MIME cryptographic signature


Re: [GENERAL] [SQL] Can we load all database objects in memory?

2009-03-25 Thread Scott Marlowe
On Wed, Mar 25, 2009 at 1:20 PM, DM  wrote:
> Hi All,
>
> I have a database of 10GB.
> My Database Server has a RAM of 16GB
>
> Is there a way that I can load all the database objects to memory?

Just replying to pgsql-general...

Yeah, just select * from table for each table, then they'll be in
kernel cache and ready to go.

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


Re: [GENERAL] [SQL] Can we load all database objects in memory?

2009-03-25 Thread ries van Twisk

Deepak,

please don't cross-post the same question to 3 different lists.

The short answer is no, you cannot force PostgreSQL to load all  
objects into memory.


However when you proper configure PostgreSQL most, if not all of your  
data will be cached

by the OS and/or PostgreSQL shared memory system.

Ries
On Mar 25, 2009, at 2:20 PM, DM wrote:


Hi All,

I have a database of 10GB.
My Database Server has a RAM of 16GB

Is there a way that I can load all the database objects to memory?

Thanks for your time and taking a look at this question.


Thanks
Deepak








--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general