You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usually in large-scale systems, we do not use foreign key constraints to ensure data consistency. Imagine that if we need to split tables and databases because of the huge amount of data, foreign key constraints will lead to the implementation of the above scheme is very complex.
Activity
[-]Trade id zero in g_fill table[/-][+]Zero(0) trade id in g_fill table[/+]greensheng commentedon Nov 14, 2019
The fill record with trade_id = 0 is a done record (fill. Done = true), indicating that the order has been completed
amitsharma8891 commentedon Nov 14, 2019
It causing foreign key constraints error...any solution for this?
greensheng commentedon Nov 14, 2019
Usually in large-scale systems, we do not use foreign key constraints to ensure data consistency. Imagine that if we need to split tables and databases because of the huge amount of data, foreign key constraints will lead to the implementation of the above scheme is very complex.