If I create a UNIQUE index on this table (4 concatenated not null columns) AND use the alter table command to enforce...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
the primary key, is this totally redundant?
Here are the statements I'm using and the elapsed time it is taking.
1) Create unique index X on X nologging (53 minutes).
2) Alter table X add constraint X primary key (col1, col2, col3) using index (one hour 50 minutes).
Dig Deeper on Oracle database administration
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.