Overall, I did learn some things:
- Creating an index on database tables is not sufficient to ensure fast queries. Always check the execution plan to see if the index is being used, as sometimes overindexing will cause Oracle to use a full table scan instead.
- Be careful of ending commands and statements in SQL Plus with "/" instead of ";". If a command such as "spool C:\file.txt" is ended with "/", the last run statement will be run again, which can be a problem.
- If the rollback segment is insufficient, it may be possible to split the query into smaller batches to run and thus not trouble the DBA.
- Always check if an object with the same name already exists when creating new objects in scripts and do not commit in the script to save some headaches.
- Check if CPU usage in Win XP is a bottleneck by checking if the TaskManager constantly reports a usage of 100%.
No comments:
Post a Comment