Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
504
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. wsrep_certify_nonPK
  2.  
  3. Defines whether the node should generate primary keys on rows without them for the purposes of certification.
  4.  
  5. Command-line Format --wsrep-certify-nonpk
  6. System Variable Name: wsrep_certify_nonpk
  7. Variable Scope: Global
  8. Dynamic Variable:
  9. Permitted Values Type: Boolean
  10. Default Value: ON
  11. Support Introduced: 1
  12. Galera Cluster requires primary keys on all tables. The node uses the primary key in replication to allow for the parallel applying of transactions to the table. This parameter tells the node that when it encounters a row without a primary key, that it should create one for replication purposes. However, as a rule do not use tables without primary keys.
  13.  
  14. SHOW VARIABLES LIKE 'wsrep_certify_nonpk';
  15.  
  16. +---------------------+-------+
  17. | Variable_name | Value |
  18. +---------------------+-------+
  19. | wsrep_certify_nonpk | ON |
  20. +---------------------+-------+
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement