Autocommit
In the context of data management, autocommit is a mode of operation of a database connection.[src] Each individual database interaction (i.e., each SQL statement) submitted through the database connection in autocommit mode will be executed in its own transaction that is implicitly committed.[src] A SQL statement executed in autocommit mode cannot be rolled back.[src] Autocommit mode incurs per-statement transaction overhead and can often lead to undesirable performance or resource utilization impact on the database.[src] Nonetheless, in systems such as Microsoft SQL Server, as well as connection technologies such as ODBC and Microsoft OLE DB, autocommit mode is the default for all statements that change data, in order to ensure that individual statements will conform to the ACID (atomicity-consistency-isolation-durability) properties of transactions.[src] The alternative to autocommit mode (non-autocommit) means that the SQL client application itself is responsible for ending transactions explicitly via the commit or rollback SQL commands.[src] Non-autocommit mode enables grouping of multiple data manipulation SQL commands into a single atomic transaction.[src] Some DBMS (e.g.[src] MariaDB ) force autocommit for every DDL statement, even in non-autocommit mode.[src] In this case, before each DDL statement, previous DML statements in transaction are autocommitted.…[src]
In the context of data management, autocommit is a mode of operation of a database connection.[src] Each individual database interaction (i.e., each SQL statement) submitted through the database connection in autocommit mode will be executed in its own transaction that is implicitly committed.[src] A SQL statement executed in autocommit mode cannot be rolled back.[src] Autocommit mode incurs per-statement transaction overhead and can often lead to undesirable performance or resource utilization impact on the database.[src] Nonetheless, in systems such as Microsoft SQL Server, as well as connection technologies such as ODBC and Microsoft OLE DB, autocommit mode is the default for all statements that change data, in order to ensure that individual statements will conform to the ACID (atomicity-consistency-isolation-durability) properties of transactions.[src] The alternative to autocommit mode (non-autocommit) means that the SQL client application itself is responsible for ending transactions explicitly via the commit or rollback SQL commands.[src] Non-autocommit mode enables grouping of multiple data manipulation SQL commands into a single atomic transaction.[src] Some DBMS (e.g.[src] MariaDB ) force autocommit for every DDL statement, even in non-autocommit mode.[src] In this case, before each DDL statement, previous DML statements in transaction are autocommitted.[src] Each DDL statement is executed in its own new autocommit transaction.[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Autocommit." encyclopegia.org, 2024, https://encyclopegia.org/wiki/autocommit. Accessed 30 November 2026.
Chicago
"Autocommit." encyclopegia.org. Accessed November 30, 2026. https://encyclopegia.org/wiki/autocommit.
APA
encyclopegia.org. (2024). Autocommit. Retrieved November 30, 2026, from https://encyclopegia.org/wiki/autocommit
Accessed November 30, 2026 · CC BY-SA 4.0 · citation page · JSON