Adds support for Foreign keys table in Pstress #101
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://perconadev.atlassian.net/browse/PSTRESS-152
Introduced support for Foreign key tables in Pstress.
_fkwhilecreating the tables.
ifk_colcolumn referencing parent table'sipkey.is a 50% chance there will be a table tt_N_fk whose parent would be
tt_N.
--fk-prob=100 --pk-prob=100--no-fkoption.Fixed transaction behaviour:
START TRANSACTIONdoesn't block other sessions by runningtransactions independently.
Adjusted the default probabilities of some features:
of partition tables created and is set to 10% by default.
temporary-prob to control the number of temporary tables and is set to
10% by default.
commit-prob, which controls the probability of executing commit and is
set to 95 by default.
to 10%.
primary-key-probabilityis renamed to--pk-probfpr clarity.Thanks Rahul Malik for the contribution.
(github.com/#92)