Two-phase commit and recovery
The two-phase commit protocol is used to ensure that distributed queries are uniformly committed or rolled back across multiple database servers. A database server automatically uses the two-phase commit protocol for any transaction that modifies data on multiple database servers.