Home > database > Under the condition of real-time inserts data to a mysql since mysql columns have unique constraints
Under the condition of real-time inserts data to a mysql since mysql columns have unique constraints
Time:10-02
Under the condition of real-time inserts data to a mysql since mysql columns have unique constraints, leading to increased column discontinuous how should solve
CodePudding user response:
For reasons of performance, the increase would not guarantee continuous If it is to be continuous, you can consider sacrificing performance, use a lock to prevent concurrent, and limit the bulk insert, or in your spare time to regenerate the column value