Advertisement

07.23.2003 at 12:44PM PDT, ID: 20688270
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.0

performance degredation.

Asked by logicjello in Oracle Database

Tags: , ,

Hi,
I inherited an Oracle 9iR2 database on a Win2k advanced server platform, w/ 3 cpus and 4 GB ram.  Previously, there was job that was running, which supposedly took less than an hour.  What the job did was gather statistics on tables, and then did some data mining, and data manipulation, writing to summary tables.  The data "loaded/inserted" into the "master" table was about 9 mil records daily. The job would kick off, @ an off-peak time, to roll this data.   Once this data was "rolled up", then the data that was in the master table was deleted, not truncated, b/c there are points when data is still being inserted, while this job is running.
Now I had to install the new patchset 3, b/c there were some issues w/ the 4GB limit.   Now after some time, it seems to take about 4 hours.  At first I thought the main reason was because there were high deletes and inserts that there was a very high watermark on the table, which was true.  I was able to reset it, by truncating the table, and rebuilding it's indexes.  I also did a move table, and rebuild index, to make sure.
But that didn't do much, after I ran the process once after truncating table, and moving table, still was running about 4 hours.   There were no changes to the init.ora or spfile for that matter.  I ran a statspack (w/ timing statistics set to true of course), and sorted out that I needed to increase my buffer cache, and PGA parameters(sort_area_size, etc..), but again,didn't do a whole lot.  I saw that my undo header was quite high...and that surprised me considering that I am using Automatic Undo mgmt. w/ undo tablespace.  And the tablespace is an permanent LMT.
The tablespace which contains all the data is an LMT, using ASSM.  Also showed that I needed to increase the Log Buffers, which I set to max to(512k ram).  I read somewhere that oracle will either use 512k or 128*cpu count which ever is greater.
And I know, yes, I should run a tkprof, to check out the sql stmts, but my question is, should I check on sql stmts if it hasn't changed, and the data in master table is usually constant on a daily basis?  Is there something else I could be missing?  There's nothing wrong on the o/s or hardware, that was checked.  No other processes are running in background that would cause degradation(ie anti-virus, system process that kicked off, etc...)
Any feedback/help/suggestions/advice would be greatly appreciated.
Start Free Trial
[+][-]07.23.2003 at 02:42PM PDT, ID: 8990402

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Oracle Database
Tags: buffer, need, oracle
Sign Up Now!
Solution Provided By: Vinay_dba
Participating Experts: 5
Solution Grade: B
 
 
[+][-]07.23.2003 at 03:50PM PDT, ID: 8990739

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2003 at 11:33PM PDT, ID: 8992688

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2003 at 11:43PM PDT, ID: 8992740

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2003 at 02:33AM PDT, ID: 8993579

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2003 at 06:48AM PDT, ID: 8995068

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2003 at 06:51AM PDT, ID: 8995100

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.25.2003 at 08:54AM PDT, ID: 9005536

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32