How to hack the storage component?

Started by wang chaoyongalmost 13 years ago3 messages
#1wang chaoyong
wcy.sei@gmail.com

Hi folks,

Currently, I'm trying to read the storage component, since it's biased
towards the lower layer, seems more difficult to understand and debug. All
the materials I have found are the original papers on
http://db.cs.berkeley.edu, I'm wondering how much it have been changed
since Postgres. Could you please give me some suggestions? Thanks.

Regards.
Chaoyong Wang

#2Heikki Linnakangas
hlinnakangas@vmware.com
In reply to: wang chaoyong (#1)
Re: How to hack the storage component?

On 18.01.2013 11:02, wang chaoyong wrote:

Hi folks,

Currently, I'm trying to read the storage component, since it's biased
towards the lower layer, seems more difficult to understand and debug. All
the materials I have found are the original papers on
http://db.cs.berkeley.edu, I'm wondering how much it have been changed
since Postgres. Could you please give me some suggestions? Thanks.

It has changed a lot since the Berkeley times. I doubt the original
papers are of much use anymore in understanding modern PostgreSQL.
You'll want to read src/backend/storage/smgr/README, although there
isn't much there. Also make sure you read the "Database Physical
Storage" section in the user manual,
http://www.postgresql.org/docs/devel/static/storage.html.

- Heikki

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

#3wang chaoyong
wcy.sei@gmail.com
In reply to: Heikki Linnakangas (#2)
Re: [HACKERS] How to hack the storage component?

Thank you very much.
Based on your information, I find an interesting page including your
comment:
http://code.metager.de/source/history/postgresql/src/backend/storage/smgr/README
.
Seems all guys are in the core team, really nice job.
Thanks again for your kind reply and "2 phase commit" contribution.

Regards.
Chaoyong Wang

On Fri, Jan 18, 2013 at 5:26 PM, Heikki Linnakangas <hlinnakangas@vmware.com

Show quoted text

wrote:

On 18.01.2013 11:02, wang chaoyong wrote:

Hi folks,

Currently, I'm trying to read the storage component, since it's
biased
towards the lower layer, seems more difficult to understand and debug. All
the materials I have found are the original papers on
http://db.cs.berkeley.edu, I'm wondering how much it have been changed
since Postgres. Could you please give me some suggestions? Thanks.

It has changed a lot since the Berkeley times. I doubt the original papers
are of much use anymore in understanding modern PostgreSQL. You'll want to
read src/backend/storage/smgr/**README, although there isn't much there.
Also make sure you read the "Database Physical Storage" section in the user
manual, http://www.postgresql.org/**docs/devel/static/storage.html&lt;http://www.postgresql.org/docs/devel/static/storage.html&gt;
**.

- Heikki