Question
Rohit Gupta, September 09, 2016 - 8:36 am UTC
Hi,
Thanks for the promt reply. I checked with my DBA for this no logging option and got to know that logging is turned on on DB level. I altered the table and indexes to nologging mode and changed the query to use "append" hits but that too is not working.
Also, inside the procedure we are not performing data movement between 2 tables but we are using multiple tables and performing calculation on data with functions then inserting it
to the table. And rewritting the SP will take time and that is the last thing we want to do, please suggest.
September 10, 2016 - 5:13 am UTC
If your dba has done "force logging" then *all* operations will be logged.
You can reduce logging *slightly* by changing index statuses before large operations and by using direct mode operations where possible, but these will give small percentage gains not the "order of magnitude" you might be seeking.
Logging is part and parcel of the database.