Question about storage subsystem of PotgreSQL

Lists: pgsql-hackers
From: javadi <seyyedahmad(dot)javadi(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Question about storage subsystem of PotgreSQL
Date: 2013-06-01 09:41:13
Message-ID: 51A9C1B9.3060007@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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


From: Bruce Momjian <bruce(at)momjian(dot)us>
To: javadi <seyyedahmad(dot)javadi(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about storage subsystem of PotgreSQL
Date: 2013-06-03 20:33:47
Message-ID: 20130603203347.GA4828@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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


From: Kevin Grittner <kgrittn(at)ymail(dot)com>
To: javadi <seyyedahmad(dot)javadi(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Question about storage subsystem of PotgreSQL
Date: 2013-06-03 20:41:16
Message-ID: 1370292076.39983.YahooMailNeo@web162903.mail.bf1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

javadi <seyyedahmad(dot)javadi(at)gmail(dot)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