I have a really huge table with ~ 200 million rows. It did not have a / pk index at all. The choices in this table were (obviously) slow. I decided to create PK using 3 columns. I did this in a test environment that has a smaller version of this table, and it works like a charm.
So, before heading home, I did ALTER TABLE HUGETABLE ADD CONSTRAINT PK_HUGETABLE PRIMARY KEY (ID1, ID2, ID3);
I expected it to work all night, but more than 24 hours have passed and it still works.
I know that if I saved the session identifier before starting my request, I could track it on V $ SESSION_LONGOPS. But I didn’t.
Is there any way to check how my request goes or how long it will last?
oracle indexing primary-key composite-primary-key
Michael
source share