GTID Format and Storage Flashcards

1
Q

GTID

A
  • A global transaction identifier (GTID) is a unique identifier
  • created and associated with each transaction committed
  • on the server of origin (the source)
  • unique across all servers in a given replication topology
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

GTID
What is the difference between client transactions replicated transactions

A

client transactions:
* which are committed on the source
* it is assigned a new GTID

Replicated transactions:
* retain the same GTID that was assigned to the transaction on the server of origin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

auto-skip function for GTIDs

A

means that a transaction committed on the source can be applied no more than once on the replica

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

GTID representation

A

GTID = source_id:transaction_id

  • source_id identifies the originating server
  • the transaction_id is a sequence number determined by the order in which the transaction was committed on the source.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

upper limit for sequence numbers for GTIDs

A

signed 64-bit integer
+-9,223,372,036,854,775,807

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

GTID Sets

A

3E11FA47-71CA-11E1-9E33-C80AA9429562:1-3:11:47-49

A GTID set can include any combination of
* single GTIDs and
* ranges of GTIDs,
* and it can include GTIDs originating from different servers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly