top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How can you be in a position to create indexes after completion of the load process?

+1 vote
775 views
How can you be in a position to create indexes after completion of the load process?
posted Mar 9, 2015 by Amit Sharma

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

For the purpose of creating indexes after the load process, command tasks at session level can be used. Index creating scripts can be brought in line with the session’s workflow or the post session implementation sequence. Moreover this type of index creation cannot be controlled after the load process at transformation level.

create Indexes after the load process is done

Using post Sql  in session.
OR
In unix we do like this...
#!/usr/bin/ksh
sqlplus -s username/password<<END
execute proc_drop_idx;
Commit;
exit;
END
============================create or replace procedure proc_drop_idx
as
begin
EXECUTE IMMEDIATE 'drop index dept_idx';
end;
answer Mar 10, 2015 by Manikandan J
...