Home » RDBMS Server » Server Administration » Access redo generation After migrating from 9.2.0 to 10.2.0.4 (Oracle 10.2.0.4.0 hosted on HP-UX 11.11)
Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475366] Tue, 14 September 2010 11:03 Go to next message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
We had our production database hosted on Oracle 9.2.0. Few months back we have migrated it to Oracle 10.2.0.4.0.
After Migration I have noticed that redo generation has become very very high. In earlier case no. of log files generating in production hours were around 30 where as after migration it become around 200 files per day. I have run statspack report on this database. Report is saying that db block change & disk write is become very high. Parameter timed_statistics has also been set to FALSE. Even then there is not any reduction on no. of log file generation. I had used import export for upgrading the databases. Please provide a solution for this problem.
Thanks In advance for all your favours....
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475367 is a reply to message #475366] Tue, 14 September 2010 11:08 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
Parameter timed_statistics has also been set to FALSE. Even then there is not any reduction on no. of log file generation.

1/ There is no relation between the 2
2/ This parameter is ignored on the current machine

There is no solution if you don't determine the reasons.
If you have no baseline from 9.2, you cannot determine what has changed.
If you can't determine what has change you have to first live with it.
Then you can do the usual tasks to optimize.
The log generation rate is not a problem if your hardware follow it, so is it worth to spend time on this?

Regards
Michel
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475371 is a reply to message #475367] Tue, 14 September 2010 12:05 Go to previous messageGo to next message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
Thanks Michel for such an early reply...
just to let you know that all the parameters & memory structure of instance is same as of the earlier one (before upgrade) & later one(after upgrade). So baseline is almost same. Now redo generation is become so high that it is hard to manage. Some times database suddenly stops working because redo log space become full.
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475372 is a reply to message #475371] Tue, 14 September 2010 12:08 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>Now redo generation is become so high that it is hard to manage.
REDO comes from DML
which DML is now "excessive"? Only you can answer this because we don't have access to the DB server system.

It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475373 is a reply to message #475371] Tue, 14 September 2010 12:09 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
So baseline is almost same

Baseline is not just parameters it is about the workload and how it is handles by Oracle. All statistics, all waits, and so on.

Quote:
Some times database suddenly stops working because redo log space become full.

So enlarge the space allocated to logs.
Also enlarge your redo logs.

There are much more things that happen in the background in 10g and even more in 11g.

Regards
Michel

[Updated on: Tue, 14 September 2010 12:10]

Report message to a moderator

Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475454 is a reply to message #475373] Wed, 15 September 2010 04:20 Go to previous messageGo to next message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
Thank for the quick responces...
The migration activity for this particular database is completed in one weekend. So the no of users are same. Workload is also same because this database is for a particular application. And the number of uses using it are same. Yes we can add the space in archredo directory & that is what we have done. But I want to know the rootcause that why it is generating huge redo logs.
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475459 is a reply to message #475454] Wed, 15 September 2010 04:30 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
You cannot know it unless you have a baseline about statistics, wait events and so on for your workload (third time).

Regards
Michel
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475487 is a reply to message #475459] Wed, 15 September 2010 05:19 Go to previous messageGo to next message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
Hi,
Could you be more specific about the statistics you are reffering, so that I can provide some more information. As I have earlier told that the parameters & memory structure for the instance is same before upgrade & after upgrade. Workload is also same. Queries running in the session is also same before & after upgrade. So for me redo generation sould be somehow same after I have upgraded but it is not same. One more thing I want to add that after doing the analysis on statspack report, I found that after upgrade log file switch waits is become very high. Its value is 143 millisecond for a perticular time.
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475492 is a reply to message #475487] Wed, 15 September 2010 05:32 Go to previous messageGo to next message
Michel Cadot
Messages: 68653
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
Quote:
Could you be more specific about the statistics you are reffering, so that I can provide some more information.

Statements, number of executions, number of blocks read, modified, generated logs, wait events, cpu, elapsed time...
You cannot provide them if you didn't record them before for instance in Statspack tables.

Quote:
As I have earlier told that the parameters & memory structure for the instance is same before upgrade & after upgrade. Workload is also same. Queries running in the session is also same before & after upgrade. So for me redo generation sould be somehow same after I have upgraded but it is not same.

But Oracle binaries are not so there is no reason it should be the same and I already explained it in a previous answer.

Quote:
I found that after upgrade log file switch waits is become very high. Its value is 143 millisecond for a perticular time.

Depends on your IO subsystem and its load.

Regards
Michel



Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475525 is a reply to message #475487] Wed, 15 September 2010 08:06 Go to previous messageGo to next message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Is there a time period in which the logs are generated the most
or
It is just spread throughout the day?
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475554 is a reply to message #475525] Wed, 15 September 2010 10:08 Go to previous messageGo to next message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
Hello Mahesh,
Its just spreadout through out the day.
On very first glance the cause of the problem is looks like transaction is become high, that is why redo generation become high. But It is not the case, even it cant be possible that transactions become so high in one day & that too on the day when I have upgraded when the application & the number of user are same.
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475555 is a reply to message #475554] Wed, 15 September 2010 10:24 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
select trunc(first_time) LOG_DATE, round(sum(bytes)/(1024*1024)) REDO_MB from dba_hist_log group by trunc(first_time) order by 1

run SQL on both systems & post results
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475626 is a reply to message #475555] Thu, 16 September 2010 04:01 Go to previous messageGo to next message
abhi_sri
Messages: 20
Registered: September 2010
Location: India
Junior Member
Hello, there are no two systems. Only one system in which I have upgraded from 9i to 10gR2. And the query you have given, providing the results after upgrade happened. So there is no comperative study u can find.
Re: Access redo generation After migrating from 9.2.0 to 10.2.0.4 [message #475661 is a reply to message #475626] Thu, 16 September 2010 09:22 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
> Please provide a solution for this problem.
You have never posted any evidence that any real problem exists.

It would be helpful if you followed Posting Guidelines - http://www.orafaq.com/forum/t/88153/0/
Previous Topic: not able to connect to the server
Next Topic: DB link for one to many user access
Goto Forum:
  


Current Time: Sun May 19 17:51:10 CDT 2024