The metadata as stored and maintained by WhereScape RED does not necessarily reflect the actual tables and procedures in use in the data warehouse. For example, if a new column is added to the metadata for a table, then that change is not automatically made in the actual physical table residing in the data warehouse. Likewise, if a column is deleted from the metadata, then that column may still exist in the physical database table.
This situation may be particularly apparent after an application patch or upgrade. The menu option Validate > Validate Table Create Status, and the right-click menu options in either the left or middle panes all provide a means of comparing the metadata to the physical tables in the database. A table, range of tables, or all tables can be chosen. Each chosen table is a table in the metadata, and it is compared against the physical database table, if it exists.
The following example is the output from a validation.
In this example, we see five different scenarios.
When dragging from a data warehouse table to create another data warehouse table (e.g. Load table to create Dimension table) a check is made to ensure that the metadata matches the database table.
If the two are found to be out of sync, the following message appears:
If a subsequent validation of the table in question shows that it validates, this message means that the dates are somehow out of sync. This can occur for example, after an import where the metadata has been replaced, but the underlying table still matches the metadata. Another common occurrence is where a new column is added and then deleted. To prevent the message from reoccurring in such a situation, proceed as follows.
Use the right-click menu and select Alter Table when positioned on the table name in the validate results screen (even though the table validates OK). The metadata update time is set back to that of the last database table created.