At present my mapping passes rows from src to tgt tables, the target table has a trigger that then deletes the processed row from the source as it enters the target table. This ensures that the source table is tidied up during the session.
At present a pre-session create_index procedure runs on a sequence column in the source table that is used to delete by the trigger on the target table. This is used extensively on our datamart. A better way, to avoid the relatively slow index creation on large tables, would be to reference the rowid of the source row. I can't seem to find a way to pass the rowid in the mapping as when I import the table I don't get the option to choose the rowid.
Does anyone know a way to do this?
cheers
simmo
At present a pre-session create_index procedure runs on a sequence column in the source table that is used to delete by the trigger on the target table. This is used extensively on our datamart. A better way, to avoid the relatively slow index creation on large tables, would be to reference the rowid of the source row. I can't seem to find a way to pass the rowid in the mapping as when I import the table I don't get the option to choose the rowid.
Does anyone know a way to do this?
cheers
simmo