Обсуждение: Question about storage subsystem of PotgreSQL
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
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. +
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