Purpose
GTID_SUBTRACT() returns all global transaction IDs (GTIDs) in a set that do not belong to another set.
Syntax
GTID_SUBTRACT(set1,set2)
Note
Only the keyword syntax is supported. The functionality does not actually take effect.
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI.
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI. Explore ->
OceanBase Database
Download PDF
GTID_SUBTRACT() returns all global transaction IDs (GTIDs) in a set that do not belong to another set.
GTID_SUBTRACT(set1,set2)
Only the keyword syntax is supported. The functionality does not actually take effect.