re: SQL 201: Speed up your queries with Indexes VIEW POST

TOP OF THREAD FULL DISCUSSION
re: It's not always true. Selective index is good but if you not index on column in foreign key you may can get big problem with locks.
 

Of course. For example table2 have column colF and foreign key to table1. If on colF not indexing and while table1 (any data) change we have exclusive table lock on table2. It's true for Oracle.
I have this problems many times.

Cool, thank for sharing! I guess its kind if database agnostic, good to know for oracle! ✌️😊

code of conduct - report abuse