~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to src/backend/storage/ipc/README

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
$PostgreSQL: pgsql/src/backend/storage/ipc/README,v 1.4 2003-11-29 19:51:56 pgsql Exp $
 
2
Mon Jul 18 11:09:22 PDT 1988  W.KLAS
 
3
 
 
4
Cache invalidation synchronization routines:
 
5
===========================================
 
6
 
 
7
The cache synchronization is done using a message queue. Every
 
8
backend can register a message which then has to be read by
 
9
all backends. A message read by all backends is removed from the 
 
10
queue automatically. If a message has been lost because the buffer
 
11
was full, all backends that haven't read this message will be
 
12
told that they have to reset their cache state. This is done
 
13
at the time when they try to read the message queue.
 
14
 
 
15
The message queue is implemented as a shared buffer segment. Actually,
 
16
the queue is a circle to allow fast inserting, reading (invalidate data) and
 
17
maintaining the buffer.