Search



Search Results
Displaying 41 to 50 of 948 total results
https://dev.mysql.com/doc/refman/9.7/en/grant.html
For example, this statement grants the SELECT and INSERT privileges globally: GRANT SELECT, INSERT ON *.* TO u1; The globally granted privileges apply to all databases, tables, and columns, even though not granted at any of those lower levels. To ...
https://dev.mysql.com/doc/refman/9.7/en/innodb-locks-set.html
The locks are normally next-key locks that also block inserts into the “gap” immediately before the record. If you have no indexes suitable for your statement and MySQL must scan the entire table to process the statement, every row of the table ... A locking read, an UPDATE, or a DELETE generally set record locks on every index record that is scanned in the processing of an SQL ...
https://dev.mysql.com/doc/refman/9.7/en/information-functions.html
LAST_INSERT_ID(), LAST_INSERT_ID(expr) With no argument, LAST_INSERT_ID() returns a BIGINT UNSIGNED (64-bit) value representing the first automatically generated value successfully inserted for an AUTO_INCREMENT column as a result of the most ...It ...
https://dev.mysql.com/doc/refman/9.7/en/innodb-locking.html
Shared and Exclusive Locks Intention Locks Record Locks Gap Locks Next-Key Locks Insert Intention Locks AUTO-INC Locks Predicate Locks for Spatial Indexes Shared and Exclusive Locks InnoDB implements standard row-level locking where there are two ...
https://dev.mysql.com/doc/refman/9.7/en/jdv-examples.html
The view uses a table annotation to allow INSERT, UPDATE, and DELETE operations on the root object and sub-object orders. The view uses a table annotation to allow INSERT, UPDATE, and DELETE operations on the root object. Since the sub-object is a ... To demonstrate the different DML operations you can execute on JSON duality views, create the customers and orders relational ...
https://dev.mysql.com/doc/refman/9.7/en/trigger-syntax.html
Here is a simple example that associates a trigger with a table, to activate for INSERT operations. The trigger acts as an accumulator, summing the values inserted into one of the columns of the table. In this case, the trigger activates before each ... To create a trigger or drop a trigger, use the CREATE TRIGGER or DROP TRIGGER statement, described in Section 15.1.26, “CREATE TRIGGER Statement”, and Section 15.1.39, “DROP TRIGGER ...
https://dev.mysql.com/doc/refman/9.7/en/mysql-cluster-replication-schema.html
The NDB injector is responsible for capturing all the data events within the cluster, and ensures that all events which change, insert, or delete data are recorded in the ndb_binlog_index table. You can distribute logging for a given table among ...
https://dev.mysql.com/doc/refman/9.7/en/replace.html
REPLACE works exactly like INSERT, except that if an old row in the table has the same value as a new row for a PRIMARY KEY or a UNIQUE index, the old row is deleted before the new row is inserted. For another MySQL extension to standard SQL—that ... REPLACE [LOW_PRIORITY | DELAYED] [INTO] tbl_name [PARTITION (partition_name [, partition_name] ...)] [(col_name [, col_name] ...)] { {VALUES | VALUE} (value_list) [, (value_list)] ...
https://dev.mysql.com/doc/x-devapi-userguide/en/creating-documents.html
Once a collection has been created, it can store JSON documents. You store documents by passing a JSON data structure to the Collection.add() function. Some languages have direct support for JSON data, others have an equivalent syntax to represent ...
https://dev.mysql.com/doc/refman/9.7/en/optimizing-myisam-bulk-data-loading.html
These performance tips supplement the general guidelines for fast inserts in Section 10.2.5.1, “Optimizing INSERT Statements”. For a MyISAM table, you can use concurrent inserts to add rows at the same time that SELECT statements are running, ...With some extra work, it is possible to make LOAD DATA run even faster for a MyISAM table when the table has many ...
Displaying 41 to 50 of 948 total results