0

Can anybody explain me

When should we use global indexes ?

When should we use local indexes ?

Which indexes needs to be dropped before loading into table ?

Thanks

Shajo
  • 873
  • 2
  • 11
  • 22
Srinivas P
  • 31
  • 3
  • 9

1 Answers1

0

Which indexes needs to be dropped before loading into table ?

  • The unique ones. According to Oracle's documentation there is no way how to bulk-load data into table, having PK, UK constraints disabled and unique indexes invalidated. Even if you do both (disabling, invalidation) you will get ORA- error in insert anyway. The "official" recommendation is really to drop UK indexes before the load. And re-create the index afterwards.
ibre5041
  • 4,903
  • 1
  • 20
  • 35