MediaWiki REL1_40
Database

This group deals with database interface functions and query specifics/optimisations. More...

Collaboration diagram for Database:

Files

file  CloneDatabase.php
 Helper class for making a copy of the database, mostly for unit testing.
 
file  DBAccessObjectUtils.php
 This file contains database access object related constants.
 
file  IDBAccessObject.php
 This file contains database access object related constants.
 
file  MWLBFactory.php
 Generator of database load balancing objects.
 

Classes

class  Wikimedia\Rdbms\AtomicSectionIdentifier
 Class used for token representing identifiers for atomic sections from IDatabase instances. More...
 
class  Wikimedia\Rdbms\ChronologyProtector
 Provide a given client with protection against visible database lag. More...
 
class  Wikimedia\Rdbms\ConnectionManager
 Database connection manager. More...
 
class  Wikimedia\Rdbms\CriticalSessionInfo
 
class  Wikimedia\Rdbms\Database
 Relational database abstraction object. More...
 
class  Wikimedia\Rdbms\DatabaseDomain
 Class to handle database/schema/prefix specifications for IDatabase. More...
 
class  Wikimedia\Rdbms\DatabaseFactory
 Constructs Database objects. More...
 
class  Wikimedia\Rdbms\Database\DatabaseFlags
 
class  Wikimedia\Rdbms\DatabaseMysqlBase
 MySQL database abstraction layer. More...
 
class  Wikimedia\Rdbms\DatabaseMysqli
 Database abstraction object for PHP extension mysqli. More...
 
class  Wikimedia\Rdbms\DatabasePostgres
 Postgres database abstraction layer. More...
 
class  Wikimedia\Rdbms\DatabaseSqlite
 This is the SQLite database abstraction layer. More...
 
class  Wikimedia\Rdbms\DBAccessError
 Exception class for attempted DB access. More...
 
class  Wikimedia\Rdbms\DBConnectionError
 
class  Wikimedia\Rdbms\DBConnRef
 Helper class used for automatically marking an IDatabase connection as reusable (once it no longer matters which DB domain is selected) and for deferring the actual network connection. More...
 
class  Wikimedia\Rdbms\DBError
 Database error base class. More...
 
class  Wikimedia\Rdbms\DBExpectedError
 Base class for the more common types of database errors. More...
 
class  Wikimedia\Rdbms\DBLanguageError
 
class  Wikimedia\Rdbms\DBQueryDisconnectedError
 
class  Wikimedia\Rdbms\DBQueryError
 
class  Wikimedia\Rdbms\DBQueryTimeoutError
 Error thrown when a query times out. More...
 
class  Wikimedia\Rdbms\DBReadOnlyError
 
class  Wikimedia\Rdbms\DBReadOnlyRoleError
 Exception class for attempted DB write access to a DBConnRef with the DB_REPLICA role. More...
 
class  Wikimedia\Rdbms\DBReplicationWaitError
 Exception class for replica DB wait errors. More...
 
class  Wikimedia\Rdbms\DBSessionStateError
 
class  Wikimedia\Rdbms\DBTransactionError
 
class  Wikimedia\Rdbms\DBTransactionSizeError
 
class  Wikimedia\Rdbms\DBTransactionStateError
 
class  Wikimedia\Rdbms\DBUnexpectedError
 
interface  Wikimedia\Rdbms\Field
 Base for all database-specific classes representing information about database fields. More...
 
class  Wikimedia\Rdbms\GeneralizedSql
 Lazy-loaded wrapper for simplification and scrubbing of SQL queries for profiling. More...
 
interface  Wikimedia\Rdbms\IBlob
 Wrapper allowing us to distinguish a blob from a normal string and an array of strings. More...
 
interface  Wikimedia\Rdbms\IConnectionProvider
 Narrow interface providing primary/replica connections. More...
 
interface  Wikimedia\Rdbms\IDatabase
 Basic database interface for live and lazy-loaded relation database handles. More...
 
interface  Wikimedia\Rdbms\Database\IDatabaseFlags
 
interface  Wikimedia\Rdbms\ILBFactory
 Manager of ILoadBalancer objects and, indirectly, IDatabase connections. More...
 
interface  Wikimedia\Rdbms\ILoadBalancer
 This class is a delegate to ILBFactory for a given database cluster. More...
 
interface  Wikimedia\Rdbms\ILoadBalancerForOwner
 Internal interface for LoadBalancer methods used by LBFactory. More...
 
interface  Wikimedia\Rdbms\ILoadMonitor
 Database load monitoring interface. More...
 
interface  Wikimedia\Rdbms\IMaintainableDatabase
 Advanced database interface for IDatabase handles that include maintenance methods. More...
 
interface  Wikimedia\Rdbms\IReadableDatabase
 A database connection without write operations. More...
 
interface  Wikimedia\Rdbms\IResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
class  Wikimedia\Rdbms\LBFactory
 
class  Wikimedia\Rdbms\LBFactoryMulti
 LoadBalancer manager for sites with several "main" database clusters. More...
 
class  Wikimedia\Rdbms\LBFactorySimple
 Manager for sites with a single "main" cluster and any number of "external" clusters. More...
 
class  Wikimedia\Rdbms\LBFactorySingle
 Manage a single hardcoded database connection. More...
 
class  Wikimedia\Rdbms\LoadBalancer
 
class  Wikimedia\Rdbms\LoadBalancerDisabled
 Trivial LoadBalancer that always fails. More...
 
class  Wikimedia\Rdbms\LoadBalancerSingle
 Trivial LoadBalancer that always returns an injected connection handle. More...
 
class  Wikimedia\Rdbms\LoadMonitor
 Basic DB load monitor with no external dependencies. More...
 
class  Wikimedia\Rdbms\LoadMonitorNull
 
class  MWLBFactory
 MediaWiki-specific class for generating database load balancers. More...
 
class  Wikimedia\Rdbms\Replication\MysqlReplicationReporter
 
class  Wikimedia\Rdbms\QueryStatus
 
class  Wikimedia\Rdbms\Replication\ReplicationReporter
 
class  Wikimedia\Rdbms\ResultWrapper
 Result wrapper for grabbing data queried from an IDatabase object. More...
 
class  Wikimedia\Rdbms\SelectQueryBuilder
 A query builder for SELECT queries with a fluent interface. More...
 
class  Wikimedia\Rdbms\ServerInfo
 Information about an individual database host. More...
 
class  Wikimedia\Rdbms\SessionConsistentConnectionManager
 Database connection manager. More...
 
class  Wikimedia\Rdbms\Subquery
 
class  Wikimedia\Rdbms\TransactionIdentifier
 Class used for token representing identifiers for atomic transactions from IDatabase instances. More...
 
class  Wikimedia\Rdbms\TransactionManager
 
class  Wikimedia\Rdbms\TransactionProfiler
 Detect high-contention DB queries via profiling calls. More...
 
class  Wikimedia\Rdbms\UpdateQueryBuilder
 A query builder for UPDATE queries with a fluent interface. More...
 

Detailed Description

This group deals with database interface functions and query specifics/optimisations.