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
Our database has a domain DOM$DATE. It is used in 300 tables and 500 stored procedure. Executing and commit of each of these query's take's about 1 minute:
ALTER DOMAIN DOM$DATE
DROP CONSTRAINT;
ALTER DOMAIN DOM$DATE
ADD CHECK (VALUE BETWEEN DATE '01.01.1900' AND DATE '31.12.2100');
P.S. Vlad Khorsun's said it was due to the restructuring of dependencies, but in this case it is not necessary.
The text was updated successfully, but these errors were encountered:
almost any change of any metadata object drop's all dependencies and re-creates it again (using new definition).
It means DELETE and INSERTS into RDB$DEPENDENCIES. In this case (and in many others) - absolutely the same records
is deleted and inserted again.
Just look at stats of corresponding COMMIT statement execution.
Submitted by: Maxim Kuzmin (cybermax)
Our database has a domain DOM$DATE. It is used in 300 tables and 500 stored procedure. Executing and commit of each of these query's take's about 1 minute:
ALTER DOMAIN DOM$DATE
DROP CONSTRAINT;
ALTER DOMAIN DOM$DATE
ADD CHECK (VALUE BETWEEN DATE '01.01.1900' AND DATE '31.12.2100');
P.S. Vlad Khorsun's said it was due to the restructuring of dependencies, but in this case it is not necessary.
The text was updated successfully, but these errors were encountered: