The maximum number of seconds to wait for synchronisation If any existing transaction is flushed, and this is called, then queries will reflect the point the DB was synced up to (on success) without interference from REPEATABLE-READ snapshots. Wait for the replica DB to catch up to a given primary DB position.Note that this does not start any new transactions. PrimaryPosWait ( DBPrimaryPos $pos, $timeout) Returns bool Since 1.26 Stability: stable to override More. ListViews ( $prefix=null, $fname=_METHOD_)Ĭheck to see if a named lock used by lock() use blocking queues. ListTables ( $prefix=null, $fname=_METHOD_) More.ĭifferentiates between a TABLE and a VIEW. Get information about an index into an object Returns false if the index does not exist. IndexInfo ( $table, $index, $fname=_METHOD_) Returns string|null 32, 64, or 128 bit integer ID null if not applicable or unknown Exceptions DBQueryError It is assumed that the server only participates in the replication of a single relevant dataset. Get a non-recycled ID that uniquely identifies this server within the replication topology.A replication topology defines which servers can originate changes to a given dataset and how those changes propagate among database servers. Get the position of the primary DB from SHOW SLAVE STATUS. Get the position of the primary DB from SHOW MASTER STATUS. DoLock (string $lockName, string $method, int $timeout)ĭoLockIsFree (string $lockName, string $method)ĭoUnlock (string $lockName, string $method)ĭuplicateTableStructure ( $oldName, $newName, $temporary=false, $fname=_METHOD_)ĮstimateRowCount ( $tables, $var=' *', $conds='', $fname=_METHOD_, $options=, $join_conds=)Įstimate rows in dataset Returns estimated count, based on EXPLAIN output Takes same arguments as Database::select() More.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |