MediaWiki  1.23.12
Database

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

Files

file  ChronologyProtector.php
 Generator of database load balancing objects.
 
file  CloneDatabase.php
 Helper class for making a copy of the database, mostly for unit testing.
 
file  Database.php
 Base interface for all DBMS-specific code.
 
file  Database.php
 Base interface for all DBMS-specific code.
 
file  DatabaseError.php
 This file contains database error classes.
 
file  DatabaseMssql.php
 This is the MS SQL Server Native database abstraction layer.
 
file  DatabaseMysql.php
 This is the MySQL database abstraction layer.
 
file  DatabaseMysqlBase.php
 This is the MySQL database abstraction layer.
 
file  DatabaseMysqli.php
 This is the MySQLi database abstraction layer.
 
file  DatabaseOracle.php
 This is the Oracle database abstraction layer.
 
file  DatabasePostgres.php
 This is the Postgres database abstraction layer.
 
file  DatabaseSqlite.php
 This is the SQLite database abstraction layer.
 
file  DatabaseUtility.php
 This file contains database-related utility classes.
 
file  DBAccessBase.php
 Base class for objects that allow access to other wiki's databases using the foreign database access mechanism implemented by LBFactoryMulti.
 
file  IDBAccessObject.php
 This file contains database access object related constants.
 
file  LBFactory.php
 Generator of database load balancing objects.
 
file  LBFactoryMulti.php
 Advanced generator of database load balancing objects for wiki farms.
 
file  LBFactorySingle.php
 Simple generator of database connections that always returns the same object.
 
file  LoadBalancer.php
 Database load balancing.
 
file  LoadMonitor.php
 Database load monitoring.
 

Classes

class  Blob
 Utility class. More...
 
class  DatabaseBase
 Database abstraction object. More...
 
class  DatabaseMssql
 
class  DatabaseMysql
 Database abstraction object for PHP extension mysql. More...
 
class  DatabaseMysqlBase
 Database abstraction object for MySQL. More...
 
class  DatabaseMysqli
 Database abstraction object for PHP extension mysqli. More...
 
class  DatabaseOracle
 
class  DatabasePostgres
 
class  DatabaseSqlite
 
class  DatabaseSqliteStandalone
 This class allows simple acccess to a SQLite database independently from main database settings. More...
 
class  DBConnectionError
 
class  DBConnRef
 Helper class to handle automatically marking connectons as reusable (via RAII pattern) as well handling deferring the actual network connection until the handle is used. More...
 
class  DBError
 Database error base class. More...
 
class  DBExpectedError
 Base class for the more common types of database errors. More...
 
class  DBObject
 Utility class. More...
 
class  DBQueryError
 
class  DBUnexpectedError
 
interface  Field
 Base for all database-specific classes representing information about database fields. More...
 
interface  IDatabase
 Interface for classes that implement or wrap DatabaseBase. More...
 
class  LBFactory
 An interface for generating database load balancers. More...
 
class  LBFactoryMulti
 A multi-wiki, multi-master factory for Wikimedia and similar installations. More...
 
class  LoadBalancer
 Database load balancing object. More...
 
interface  LoadMonitor
 An interface for database load monitoring. More...
 
class  LoadMonitorMySQL
 Basic MySQL load monitor with no external dependencies Uses memcached to cache the replication lag for a short time. More...
 
class  MssqlField
 Utility class. More...
 
class  MySQLField
 Utility class. More...
 
class  ORAField
 Utility class. More...
 
class  ORAResult
 The oci8 extension is fairly weak and doesn't support oci_num_rows, among other things. More...
 
class  PostgresTransactionState
 Used to debug transaction processing Only used if $wgDebugDBTransactions is true. More...
 
class  ResultWrapper
 Result wrapper for grabbing data queried by someone else. More...
 
class  SavepointPostgres
 Manage savepoints within a transaction. More...
 
class  SQLiteField
 

Detailed Description

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

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html