Refreshing data mart data in a table
You can use the dropPartMart() and loadPartMart() functions to refresh the data in a table instead of refreshing all the data in the data mart. The table must be a non-fragmented table. If your database table is not fragmented, your data mart table is also not fragmented. Refreshing the data in a table is faster than refreshing an entire data mart.
Before you begin
Prerequisite
Register the dropPartMart() and loadPartMart() functions
in the database by using the DB-Access utility:
$ dbaccess database $INFORMIXDIR/etc/boot1170XC5iwa.sqlAbout this task
Procedure
- Identify the table name or use the oncheck -pt command to look up the table's partition number.
- Use the dropPartMart() function to drop the data from the table in the data mart.
- Use the loadPartMart() function to load the new data in the table in the data mart.