Question about storage subsystem of PotgreSQL

Started by javadiover 12 years ago3 messages
#1javadi
seyyedahmad.javadi@gmail.com

Hi

I want to find some architectural information about the storage
subsystem of PostgreSQL especially the modulus which are responsible to
loading data from disk to the Shared Buffer. I cannot find any
structured and useful information on web.

Would you please help me to find such information.

Should I read the source code?

Which part of code is responsible to reading data from the disk?

Regards

Javadi

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

#2Bruce Momjian
bruce@momjian.us
In reply to: javadi (#1)
Re: Question about storage subsystem of PotgreSQL

On Sat, Jun 1, 2013 at 02:11:13PM +0430, javadi wrote:

Hi

I want to find some architectural information about the storage
subsystem of PostgreSQL especially the modulus which are responsible to
loading data from disk to the Shared Buffer. I cannot find any
structured and useful information on web.

Would you please help me to find such information.

Should I read the source code?

Which part of code is responsible to reading data from the disk?

You should read the developer's FAQ:

http://wiki.postgresql.org/wiki/Developer_FAQ

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

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

#3Kevin Grittner
kgrittn@ymail.com
In reply to: javadi (#1)
Re: Question about storage subsystem of PotgreSQL

javadi <seyyedahmad.javadi@gmail.com> wrote:

I want to find some architectural information about the storage
subsystem of PostgreSQL especially the modulus which are responsible to
loading data from disk to the Shared Buffer.  I cannot find any
structured and useful information on web.

Would you please help me to find such information.

Should I read the source code?

Which part of code is responsible to reading data from the disk?

You might find the README for the storage manager helpful:

http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/storage/smgr/README

--
Kevin Grittner
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

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