Patrick Holmes
Member²
I use the "Compare User Objects" tool all the time. However, we also use Oracle's Data Masking (DM). DM has a really annoying bug that changes the precision of NUMBER type columns. For example, we have a NUMBER(9) for SSN in a table and a NUMBER(38) for PHONE_NO in the same table, in Production. We often create a Test database from a copy of Production and then mask it. But the DM changes the type for each masked numeric column so that it is changed to just "NUMBER". Then when I compare TEST to Production, there are differences that should not be there. Oracle won't even acknowledge the bug per se, simply saying that it is "expected behavior".
If I try to change Test to match Production, i.e. change the type from NUMBER back to NUMBER(38), I get a an "ORA-01440: column to be modified must be empty to decrease precision or scale" error, of course.
If I were to change Production to match test, our DBA believes that this could easily affect performance due to chaining and increased storage.
What would be great is if you could provide a comparison option that was a checkbox for "Ignore number precision", so then your comparison would treat NUMBER(38), NUMBER(9) and NUMBER as all the same type. The option would default to unchecked, but I would use it when comparing with a Data-Mask'ed database.
I know this is a very odd request, and would not normally be a good idea. But if you had this feature, it would make our lives a lot easier.
thanks,
pat
If I try to change Test to match Production, i.e. change the type from NUMBER back to NUMBER(38), I get a an "ORA-01440: column to be modified must be empty to decrease precision or scale" error, of course.
If I were to change Production to match test, our DBA believes that this could easily affect performance due to chaining and increased storage.
What would be great is if you could provide a comparison option that was a checkbox for "Ignore number precision", so then your comparison would treat NUMBER(38), NUMBER(9) and NUMBER as all the same type. The option would default to unchecked, but I would use it when comparing with a Data-Mask'ed database.
I know this is a very odd request, and would not normally be a good idea. But if you had this feature, it would make our lives a lot easier.
thanks,
pat