Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
postgres internals

postgres internals

Ratings: (0)|Views: 68 |Likes:

More info:

Published by: gunasekaran.subramani3879 on Jul 28, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

07/28/2011

pdf

text

original

 
A Tour of PostgreSQL Internals
A Tour of PostgreSQL Internals 
Tom LaneGreat Bridge, LLCtgl@sss.pgh.pa.us1
31 Oct 2000 Tom Lane
 
A Tour of PostgreSQL Internals
Outline 
I’m going to present three separate views of PostgreSQL.Each view is equally valid but will teach you something different about the beast.• VIEW 1: Processes and interprocess communication structure
Key ideas: client/server separation, inter-server communication
• VIEW 2: System catalogs and data types
Key ideas: extensibility, compartmentalization
• VIEW 3: Steps of query processing
Key ideas: parse and plan trees, scans and joins, cost estimation
2
31 Oct 2000 Tom Lane
 
A Tour of PostgreSQL Internals
PostgreSQL processes: client/server communication 
InterfaceLibraryClientApplicationDaemonProcess
Postmaster Postgres 
Server(Backend)
DB Requestsand ResultsviaLibrary APISpawnServerProcessSQL Queries
Client
and Results
Server Processes
InitialConnectionRequestandAuthentication
Client Processes
• Multiple client libraries offer different APIs: libpq, ODBC, JDBC,Perl DBD• Client libraries insulate client applications from changes inon-the-wire protocol
3
31 Oct 2000 Tom Lane

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->