includes/ExternalStoreDB.php File Reference

Go to the source code of this file.

Classes

class  ExternalStoreDB
 DB accessable external objects. More...

Variables

global $wgExternalLoadBalancers = array()
 External database storage will use one (or more) separate connection pools from what the main wiki uses.
global $wgExternalBlobCache = array()
 One-step cache variable to hold base blobs; operations that pull multiple revisions may often pull multiple times from the same blob.


Variable Documentation

$wgExternalBlobCache = array()

One-step cache variable to hold base blobs; operations that pull multiple revisions may often pull multiple times from the same blob.

By keeping the last-used one open, we avoid redundant unserialization and decompression overhead.

Definition at line 20 of file ExternalStoreDB.php.

Referenced by ExternalStoreDB::fetchBlob().

$wgExternalLoadBalancers = array()

External database storage will use one (or more) separate connection pools from what the main wiki uses.

If we load many revisions, such as when doing bulk backups or maintenance, we want to keep them around over the lifetime of the script.

Associative array of LoadBalancer objects, indexed by cluster name.

Definition at line 11 of file ExternalStoreDB.php.


Generated on Sat Sep 5 02:08:06 2009 for MediaWiki by  doxygen 1.5.9