LogoopenSUSE Build Service > Projects
Sign Up | Log In

A set of functions to manage blocks in memory

With PostgreSQL, each Table or Index is splitted in segments of (usually) 1GB,
and each segment is splitted in pages in memory then in blocks for the

Those functions let you know which and how many disk block from a relation are
in the page cache of the operating system. It can provide the result as a VarBit
and can be stored in a table. Then using this table, it is possible to restore
the page cache state for each block of the relation, even in another server,
thanks to Streaming Replication.

Other functions are used to set a *POSIX_FADVISE* flag on the entire relation
(each segment). The more usefull are probably *WILLNEED* and *DONTNEED* which
push and pop blocks of each segments of a relation from page cache,

Each functions are call with at least a table name or an index name (or oid)
as a parameter and walk each segment of the relation.

Source Files

Filename Size Changed Actions
_multibuild 197 Bytes 27 days ago Download File
pgfincore-v1.1.2.tar.bz2 16.9 KB almost 4 years ago Download File
postgresql-pgfincore.changes 859 Bytes 27 days ago Download File
postgresql-pgfincore.spec 2.76 KB 27 days ago Download File

Comments for server:database:postgresql (0)

Login required, please login or signup in order to comment