oracle11g - Oracle - Delete One Row in Dimension Table is Slow -


i have datamart 5 dimension table , fact table. i'm trying clean dimension table has few rows (4000 rows). but, fact table have millions rows (25gb)(indexes , partitions).

when try delete row in table dimension, process becomes slow. it's slow despite absence of relationship row in fact table (cascade delete).

is there way optimize this?. in advance.

presumably, there cascading delete of sort between dimension table , fact table.

adding index on key column in fact table may sufficient. oracle can tell if/where given value is.

if doesn't work, drop foreign key constraint altogether. delete unused values , add constraint in.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -