A set of functions to manage blocks in memory

Edit Package postgresql-pgfincore
http://pgfoundry.org/projects/pgfincore/

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
filesystem.

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,
respectively.

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.

Refresh
Refresh
Source Files
Filename Size Changed
_multibuild 0000000197 197 Bytes
pgfincore-1.2.2.tar.gz 0000017668 17.3 KB
postgresql-pgfincore.changes 0000002550 2.49 KB
postgresql-pgfincore.spec 0000002507 2.45 KB
Revision 15 (latest revision is 19)
Marcus Rueckert's avatar Marcus Rueckert (darix) committed (revision 15)
- fix postgresql_has_llvm usage
Comments 0
openSUSE Build Service is sponsored by