Hi Everyone.
In an archlog mode database, does oracle create redo log entries while creating an index ?
If so, what id the form of it ?
Is it just a DDL log ? or the actually index entries send to the redo?
Thx
Printable View
Hi Everyone.
In an archlog mode database, does oracle create redo log entries while creating an index ?
If so, what id the form of it ?
Is it just a DDL log ? or the actually index entries send to the redo?
Thx
yes , creating index creates the redo logs .
Hi,
Yes,
The redo log records all changes made to any database buffer, including data, index, and rollback segments, whether the changes are committed or uncommitted.
Thnx
P. Soni
Hi,
When you are creating index and and if you doesn't want redo'sto be generated, then create an index with nologging.
But if you encounter any instance or media failurem, you cannot recover it.
Regs
Sundarganesh
Hi.
Thx for all taht reply my question.
So, what does it mean when I issue the following statement in sqlplus;
create index rev_order_idx1 on rev_order(order_no, prod_id) ;
if I have 5 millions rows in rev_order table, will Oracle generate a lot of redo logs or will there only 1 entry (creating index statement into the relo log) ?
Thx
Yes, it will generate enough redo to recreate the index. I would include the nologging parameter as previously suggested unless it would take an unreasonably long time to recreate the index if there were problems.
Joe