Search Postgresql Archives

Re: How can i get record by data block not by sql?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/03/2011 05:03 PM, 姜头 wrote:
How can i get record by data block not by sql?
I want to read and write lots of data by data blocks, so i can form a
disk-resident tree by recording the block address. But i don't know how
to implement in postgresql.
Is there system function can do this?

Now that I understand what you want better, I'd advise you to look at the PostgreSQL storage manager (smgr) and buffer cache manager.

See:
https://github.com/postgres/postgres/tree/master/src/backend/storage/smgr

See also: http://developer.postgresql.org/pgdocs/postgres/history.html for some historical but possibly still useful information.

--
Craig Ringer

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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux