Showing posts with label oracle. Show all posts
Showing posts with label oracle. Show all posts
Tuesday, 2 January 2018
Sunday, 31 December 2017
Oracle_sql performance tuning
SQL performance tuning.
1.Change table as no logging.
- ALTER TABLE t1 NOLOGGING;
From my experience, I had to migration data > 2million records.
Data was customer information (CIF) of credit cards.
This sql statement can change migration time from 4 hours to 30 minutes.
But you have to ensure that you dont want redo action.
2.Tuning SQL statement.
Data was customer information (CIF) of credit cards.
This sql statement can change migration time from 4 hours to 30 minutes.
But you have to ensure that you dont want redo action.
2.Tuning SQL statement.
- Use primary or unique index as criteria join.
- Filter from bottom to upper.
- Filter from left to right.
Refer: www.techonthenet.com
Subscribe to:
Posts (Atom)