enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Insert (SQL) - Wikipedia

    en.wikipedia.org/wiki/Insert_(SQL)

    Using a SELECT statement after the INSERT statement with a database-specific function that returns the generated primary key for the most recently inserted row. For example, LAST_INSERT_ID() for MySQL. Using a unique combination of elements from the original SQL INSERT in a subsequent SELECT statement.

  3. Record locking - Wikipedia

    en.wikipedia.org/wiki/Record_locking

    In a SQL database, a record is typically called a "row". The introduction of granular (subset) locks creates the possibility for a situation called deadlock. Deadlock is possible when incremental locking (locking one entity, then locking one or more additional entities) is used. To illustrate, if two bank customers asked two clerks to obtain ...

  4. Optimistic concurrency control - Wikipedia

    en.wikipedia.org/wiki/Optimistic_concurrency_control

    Optimistic concurrency control (OCC), also known as optimistic locking, is a non-locking concurrency control method applied to transactional systems such as relational database management systems and software transactional memory. OCC assumes that multiple transactions can frequently complete without interfering with each other.

  5. Isolation (database systems) - Wikipedia

    en.wikipedia.org/wiki/Isolation_(database_systems)

    In this isolation level, a lock-based concurrency control DBMS implementation keeps read and write locks (acquired on selected data) until the end of the transaction. However, range-locks are not managed, so phantom reads can occur. Write skew is possible at this isolation level in some systems.

  6. Multiversion concurrency control - Wikipedia

    en.wikipedia.org/wiki/Multiversion_concurrency...

    This is often a stop-the-world process that traverses a whole table and rewrites it with the last version of each data item. PostgreSQL can use this approach with its VACUUM FREEZE process. Other databases split the storage blocks into two parts: the data part and an undo log. The data part always keeps the last committed version.

  7. Shard (database architecture) - Wikipedia

    en.wikipedia.org/wiki/Shard_(database_architecture)

    A database shard, or simply a shard, is a horizontal partition of data in a database or search engine. Each shard may be held on a separate database server instance, to spread load. Some data in a database remains present in all shards, [a] but some appears only in a single shard. Each shard acts as the single source for this subset of data.

  8. Merge (SQL) - Wikipedia

    en.wikipedia.org/wiki/Merge_(SQL)

    It also supports >REPLACE INTO syntax, [6] which first attempts an insert, and if that fails, deletes the row, if exists, and then inserts the new one. There is also an IGNORE clause for the INSERT statement, [ 7 ] which tells the server to ignore "duplicate key" errors and go on (existing rows will not be inserted or updated, but all new rows ...

  9. Index locking - Wikipedia

    en.wikipedia.org/wiki/Index_locking

    Index data are system data distinct from user data, and consist primarily of pointers. Changes in a database (by insert, delete, or modify operations), may require indexes to be updated to maintain accurate user data accesses. [1] Index locking is a technique used to maintain index integrity. A portion of an index is locked during a database ...