Stand by database is slow

Hi all,
I am testing data guard at my laptop with winxp, i m using Oracle 9.2 version.
Data guard is implemented and working fine.
The problem i am facing is very slow response from standby database, it takes so much time while startup, change recovery mode and changing read only mode. Where as primary database is working fine.
Any idea what could be the reason.
Regards,
Asim

couple of days earlier i implement data guard on the same laptop, at that time primary and standby database was working fine no performance (slow) issues, then i need to reinstall windows, now when i once again configured data guard and face the stated (standby slow) problem.
I have tested some hit and trials and finally stop all other database basis and started only standby in nomount mode but same problem.
:-) I agree with your point, this is a not a normal behaviour.
Further i think to solve this problem, i might reinstall windows, probably then this problem will be solved and some one new might arise.
Regards,

Similar Messages

  • Can we run application services when physical stand by database is in read

    can we run application services when physical stand by database is in read only mode
    i Want to up the EBS application services and check login when phyiscal standby database is in read only mode.
    Is it possible? for checking dataguard database application as well.

    but i just want to know that can i start EBS application services and nagivate the application.Without distrubing my primary database and application.You should not do as the moment you open the standby database it becomes invalid.
    Thanks,
    Hussein

  • Adding Temp tablespace to physical stand by database?

    I am getting the below error when i try to load data using SQL loader from physical stand by database to another database after making the physical stand by database in read only mode.
    ORA-25153: Temporary Tablespace is Empty.
    On primary database when i query
    SQL>select ts#,name from v$tablespace;
    TS# NAME
    2 TEMP
    On physical stand by when i query
    SQL>select ts#,name from v$tablespace;
    TS# NAME
    2 TEMP
    On primary DB when i query
    select name from v$tempfile where ts#=2;
    NAME
    /dev/vx/rdsk/oradata/tempfile0101
    On standby when i query
    SQL>select name from v$tempfile where ts#=2;
    no rows selected
    At this point do i need to add datafile to the TEMP tablespace of stand by database or just need to add TEMP tablespace to stand by database.?
    DB version:9.2.0.6
    Thank You all...

    Can you make sure that /dev/vx/rdsk/oradata/tempfile0101 is copied to standby site during the standby creation. Often it happens that the hot backups are copied to standby ste and generally they dont contain temp files. If the files is present , then i'll suggest you to do a quick bounce of standby instance to make sure that controlfile attempted to access it. You can also try recreating the standby control file on promary and copy it to standby site along with the tempfile and start the instance with new control file.
    If you want to add temp files to the standby instance, the only option you have is to add them on primary site. If you have standby_file_management as auto they will get copied over. If not you can copy the files to standby instance and restart the recovery.
    Please let us know if any of the hints are applicable to your case.
    -Ravi

  • Stand by database

    Hi guys,
    OS: Windows Server 2003 (32 bit)
    DB Version: 10.2.0.3
    Question:
    Simple question I guess but still I'm failing to understand the logic. Will the changes applied on the primary database also occur in the stand-by, for instance if I delete a table in the primary database, will that also take effect in the stand-by database?
    Regards,
    Durbanite

    Have you had a log switch to create a new archived redo log in that time?? the change will only be transported across to the standby when it gets writted to an archived redo log that is then sent to the standby and applied (if using physical standby)
    If not, in sqlplus, do : alter system switch logfile+; and watch it get sent to the standby and then check the if the table is still there or not.
    HTH,
    Ric.

  • Open stand by database to run scripts

    hello all,
    I am having one physical stand by database which is synchronized with production database.Now i am have some scripts which extracts data.But i want to run this scripts on stand by database which is in recovery mode.Now i want to make the stand by database in read only mode and after executing the scripts make it back to stand by database in recovery mode.My plan to make the stand by database is as follows.
    SQL>connect / as sysdba
    SQL>recover managed standby database cancel;
    SQL>alter database open;
    Now i want to make it back to physical standby database and my plan is as below.
    SQL>connect / as sysdba
    SQL>shutdown immediate;
    SQL>alter database mount standby database;
    SQL>recover managed standby database disconnect;
    Will the above scripts run for my purpose.I don't have a test server to test it.
    DB version:9.2.0.6
    Thank You All...

    First off, I would say that not having a test environment to test this sort of thing is exceptionally short-sighted. If the database is important enough to go through the effort of setting up a physical standby, it is well worth having a proper test environment so that you can test scripts before applying it to production.
    Second, you will want to review the documentation for [opening a physical standby database for read-only access|http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/manage_ps.htm#1014483] which walks through a different set of steps than you have outlined here. I wouldn't dream of running the documented script on a production environment, though, without having first run it in some sort of test environment.
    Justin

  • Manually Apply Archived log to stand by database

    Hi all,
    I'm using Oracle 10g. So, we need to apply the archived logs of Primary database to stand by database, but this process must be manually.
    A "robot" copy the archived logs to destination. I need to get these archived logs from destination and manually apply to stand by database.
    How can I do this?
    thank you very much!!!!

    How can I do this?First stop current recover process as
    alter database recover managed standby database cancel;Then transfer all need archive logs from primary to standby side and apply these manually using below command.
    recover standby database until cancel
    /*this command will ask full path of archive logs
    and give these then finally enter "CANCEL" word*/Finally you can continue normal/automatic state using
    alter database recover managed standby database ;

  • User say ur database is slow how u slove this how identified reasons

    user say ur database is slow how u slove this how identified reasons

    blame the developers for that, a bad tuned query will reduce your performance. Also you may blame the users for that, a lot of concurrent users running inefficient sql statements will strangle your system.
    You may find further suggestions in your duplicated thread --> Some inter view Questions Please give prefect answer  help me

  • In stand by database

    how can set this parameter.
    db_file_name_convert
    log_file_name_convert

    thanx for ur reply nicolas
    i am set this two parameter in my init.ora file...
    i am create stand by database on my some host ( mean primary database already running on some machine.)/
    i am set this two parameter like it is right or wrong plz check it.
    db_file_name_convert = 'd:\oracle\product\10.1.0\oradata\db01\','c:\oracle\sdydb\';
    log_file_name_convert = 'd:\oracle\product\10.1.0\oradata\db01\','c:\oracle\sdydb\';

  • Database is slow due to indexes.

    Hi,
    Our database is slow and we are trying to identify duplicate indexes in a table within a schema where the index name may be different but the columns indexed are same. They may not necessarily be in the same order.Please update me the query which gives duplicate indexes.
    Thanks

    Dear,
    As Nicolas did emphasize it, you need facts and proof before claiming that your performance problem is due to indexes.
    Anyway, when speaking about duplicate indexes you need first to understand what is a duplicate index. Let me then show you a simple example about this
    mhouri>drop table t1;
    Table dropped.
    mhouri>create table t1(a number, b number, c varchar2(10), d date, x number, y  number);
    Table created.
    mhouri>create index t1_i1 on t1(a,b);
    Index created.I have created a simple table and added to it a simple composite index on (a,b)
    Now, I will create a duplicate index
    mhouri>create index t1_i2 on t1(a);
    Index created.You know why this index is considered as a duplicate one? simply because the first index I did create has its leading column = a and hence the second index t1_i2 can be covered by the first index t1_i1.
    And what about the following index
    mhouri>create index t1_i3 on t1(b,a);
    Index created.is it a duplicate index? the answer is NO; it is not a duplicate one. Because there is no index starting with the couple (b,a). However, if you have the intention to create an index say t1_i4(b) then do not do it because it will be covered by the index t1_i3(b,a).
    Finally, you can use simple select as the following one
    define m_table_name    = &m_table 
    set verify off
    set linesize 100
    select substr(uc1.table_name,1,25)  table_name
          ,substr(uc1.index_name,1,30)  index_name
          ,substr(uc1.column_name,1,10) column_name
          ,uc1.column_position          column_pos                
    from user_ind_columns uc1  
    where uc1.table_name   = upper('&m_table_name')
    order by          
        uc1.index_name  
       ,uc1.column_position
       ,uc1.column_position
    ;which will give you a list of existing indexes per input table together with their columns and the position of those columns. Based on your knowledge of what a duplicate index is you can analyse and act accordingly.
    The above select when executed against our current table t1 gives the following picture
    mhouri>start c:\red-index.sql
    Enter value for m_table: t1
    TABLE_NAME                INDEX_NAME                     COLUMN_NAM COLUMN_POS                     
    T1                        T1_I1                          A                   1                     
    T1                        T1_I1                          B                   2                     
    T1                        T1_I2                          A                   1                     
    T1                        T1_I3                          B                   1                     
    T1                        T1_I3                          A                   2                      In which we can point out that there exist two indexes t1_i and t1_i2 starting with the same column A . This is why the index t1_i2 is not necessary and should not have been created originally.
    Hope this helps
    Mohamed Houri

  • Create Stand by database difference server

    Dear all,
    I copied physical datafiles whole database from production to stand by database.
    After then i reconfig and start stb db.It's works well.But when i test updated and commit transaction from prod and i copied archive files into stb db and i tried to recover as following command:
    sql> recover database;
    ORA-00283: recovery session canceled due to errors
    ORA-00264: no recovery required
    What happend?
    Thks for advance !
    Chara

    Hi,
    ORA-00264:no recovery required
    Cause:     An attempt was made to perform media recovery on files that do not // need any type of recovery.
    Action:     Do not attempt to perform media recovery on the selected files. Check to see that the filenames were entered properly. If not, retry the command with the proper filenames.
    Cheers

  • Rman back up on stand by database

    Hi all,
    I created one stand by database. log shipping is not in place yet.
    I manually copied rman files and archive files from the primary database and copied to standby.
    Whenever I was trying to restore the database. it gives me below error. please see and let me know if I am doing it wrong.
    Recovery Manager: Release 10.2.0.3.0 - Production on Tue Sep 28 11:20:16 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: WTFNL (DBID=3371173325, not open)
    RMAN>
    using target database control file instead of recovery catalog
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of configure command at 09/28/2010 11:20:16
    RMAN-05021: this configuration cannot be changed for a BACKUP or STANDBY control file
    RMAN>
    Recovery Manager complete.
    RAMAN backup completed.
    Tue Sep 28 11:20:16 EST 2010
    Thanks

    Make sure from where you are giving commands...
    Oracle Error :: RMAN-05021
    this configuration cannot be changed for a BACKUP or STANDBY control file
    Cause
    The user attempted to modify the configuration which cannot be changed for a BACKUP or STANDBY control file while the mounted control file was either BACKUP or STANDBY. The following configurations can be changed only when connected to primary database instance that has CURRENT/CREATED control file type mounted: CONFIGURE RETENTION POLICY CONFIGURE EXCLUDE CONFIGURE ENCRYPTION CONFIGURE DB_UNIQUE_NAME
    Action
    Connect to primary database instance and execute the command.

  • Database very slow/hangs.

    Hello,
    My company server has a database of size 400GB. It has has been distributed on 2 HDD of 300GB each. Previously i had faced the problem of database performing very slow . That time the size of the database was much shorter & i just moved the REDOLOG FILE to other HDD using rename command. That worked & again the database was working great. But now the scenario is quite different than previous... as given below ...
    Tablespace Name - LHSERP
    No. Of. Datafiles in LHSERP Tablespace - 55  ( Which are distributed on 2 HDD )
    Hard Disk Drive (HDD) in server - 2
    Capacity of HDD - 300GB each.now both HDD has datafiles from LHSERP tablespace. I tried to move the redo log files to other HDD but no use. No improvement in the performance. Still the database is slow.
    One more thing i need to make a point of , when i see the task manager on the server it shows some RED and GREEN color graph of CPU usage. Does it mean anything serious ???? Even the whole OS works quite slow on the server. Right from opening MY COMPUTER , to loging into the user ....to fire the query in the user ...everything is very slow. Should i try to short out this problem in some different direction ???
    Can you suggest me what to do next ... to improve database performance. If you have anymore ideas please let me know.
    ORACLE DATABASE 10g
    Windows Server 2008 64-Bit
    Thanks in advance ....

    Hi,
    What is your AWR snapshot keep time? I normally set it to 30 days so that in case of some problem, i can compare my AWR with my history AWRs. Now, can you take out an AWR when your database was doing good and then the latest AWR and then compare it and see what is the difference? Is redo log generation has increased? What are the top 5 wait events in the good AWR report and now in current bad AWR report. What are the top SQLs (elapsed time, CPU time) in good and bad AWR. What were the top segments in bad and good AWRs.
    Doing this will give you insight of the problematic area.
    Can you check ADDM report, is oracle recommending you anything t o look into?
    what is the CPU usage. Even Oracle is the top consumer, can you check the CPU usage for past 24 hours, is it touching 100 %?
    You should have OEM configured with the database. Form OEM, can you check host hard disks performance and check the busy percentage of your hard disks for past one month and check if there was any increase in the hard disk busy rate.
    Doing all above will certainly help you identify the problematic area.
    Salman

  • Redolog operation from primary to stand by database

    We have primary and stand by database and our primary database is generating too much redo logs. what I learnt is reading of redlogs from primary is sequential operation. Basically this operation is taking more time. So is there any way to parallel the process of reading of redo logs from primary database.
    Or I want a confirmation from oracle experts that this cant be done.

    Hi,
    The process has to be serial from log to log as later events may be dependant on earlier events.
    For an individual log increasing the value of recovery_parallelism from it's default of 0 may help in your standby.
    Cheers,
    Harry

  • AWR - Database Performance Slow

    If my Whole Database Performance is slow,
    running AWR report include current time statistics when the DB Performance is slow ?

    The default AWR Snapshot Interval is 1 hour. So, if you have the default implementation, you will be able to create an AWR report for the period 10am to 11am. It will not reflect what or why "slowness" occurred at 10:45. The statistics in the AWR report will be a summation / averaging of all the activity in the entire hour.
    You could modify the Snapshot Interval (using dbms_workload_repository.modify_snapshot_settings) to have Oracle collect snapshots every 15minutes. But that will apply after the change has been made. So, if you have a slowness subsequently, you will be able to investigate it with the AWR report for that period. But what has been collected in the past at hourly intervals cannot be refined any further.
    Hemant K Chitale

  • Database Performance Slow

    Hi to all,
    My database performance is suddenly going slow. My PGA Cahe hit percentage remain in 96%.
    I will list out the findidngs I found...
    Some tables were not analyzed since Dec2007. Some tables were never analyzed.
    (Will the tables were analyzed the performance will be improved for this scenario)
    PGA Allocated is 400MB. But till now the max pga allocated is 95MB since Instance started (11 Nov 08 - Instance started date).
    (I persume we have Over allocated PGA can i reduce it to 200MB and increase the Shared pool and Buffer Cache 100MB each?)
    Memory Configuration:
    Buffer Cache: 504 MB
    Shared Pool: 600 MB
    Java Pool: 24MB
    Large Pool: 24MB
    SGA Max Size is: 1201.72 MB
    PGA Aggregate is: 400 MB
    My Database resided in Windows 2003 Server Standard Edition with 4GB of RAM.
    Please give me suggestions.
    Thanks and Regards,
    Vijayaraghavan K

    Vijayaraghavan Krishnan wrote:
    My database performance is suddenly going slow. My PGA Cahe hit percentage remain in 96%.
    Some tables were not analyzed since Dec2007. Some tables were never analyzed.
    PGA Allocated is 400MB. But till now the max pga allocated is 95MB since Instance started (11 Nov 08 - Instance started date).
    (I persume we have Over allocated PGA can i reduce it to 200MB and increase the Shared pool and Buffer Cache 100MB each?)
    You are in an awkward situtation - your database is behaving badly, but it has been in an unhealthy state for a very long time, and any "simple" change you make to address the performance could have unpredictable side effects.
    At this moment you have to think at two levels - tactical and strategic.
    Tactical - is there anything you can do in the short term to address the immediate problem.
    Strategic - what is the longer-term plan to sort out the state of the database.
    Strategically, you should be heading for a database with correct indexing, representative data statistics, optimium resource allocation, minimum hacking in the parameter file, and (probably) implementation of "system statistics".
    Tactically, you need to find out which queries (old or new) have suddenly introduced an extra work load, or whether there has been an increase in the number of end-users, or other tasks running on the machine.
    For a quick and dirty approach you could start by checking v$sql every few minutes for recent SQL that might be expensive; or run checks for SQL that has executed a very large number of times, or has used a lot of CPU, or has done a lot of disk I/O or buffer gets.
    You could also install statspack and start taking snapshots hourly at level 7, then run off reports covering intervals when the system is slow - again a quick check would be to look at the "SQL ordered by .." sections of the report to the expensive SQL.
    If you are lucky, there will be a few nasty SQL statements that you can identify as responsible for most of your resource usage - then you can decide what to do about them
    Regarding pga_aggregate_target: this is a value that is available for sharing across all processes; from the name you've used, I think you may be looking at a figure for a single specific process - so I wouldn't reduce the pga_aggregate_target just yet.
    If you want to post a statspack report to the forum, we may be able to make a few further suggestions. (Use the "code" tags - in curly brackets { } to make the report readable in a fixed fontRegards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "The temptation to form premature theories upon insufficient data is the bane of our profession."
    Sherlock Holmes (Sir Arthur Conan Doyle) in "The Valley of Fear".

Maybe you are looking for

  • Hard Disk Drive not Recognized as Startup Disk

    Hi: I am an experienced Mac user, and have been for 20+ years. But I need a little help. I recently purchased a Western Digital 'Caviar Green" SATA internal 3.5" disk drive (model number WD15EARS-00Z5B1). I installed it into my Mac Pro as I have done

  • Portege Z930: Loss of Fn keys after Win 8 upgrade - cannot turn WiFi on/off

    After many months biding my time I have just embarked upon upgrading my Portege Z930-11G to Windows 8 Pro. Largely this has gone to plan with the exception that after running the Toshiba Upgrade Assistant I've lost the Fn key display and about half t

  • Can i run and work with OSX 10.3.9 on an external hard drive???

    Hi There all, I'm getting a 250gb External firewire HDD, i want to do this: I want to install Tiger on my PowerBook's HDD, But everything i've got on it now with Panther is perfect, but some of the software is'nt compatible with Tiger, so i was hopin

  • Sender Soap Adapter communication channel  error

    Dear Experts, When i see Sender soap adapter status in Communication channel monitoring.I am getting the status as: "Processing Errors in the Last 50 Minutes" Thanx in advance

  • OS X 10.5.3 (and beyond) Increases CPU Power Draw?

    Hi all I've got another ongoing thread (2006 Mac Pro Elevated CPU Temps) where I've been attempting to determine why my 2006 Mac Pro was running so much warmer than I recall at time of purchase... By sheer luck, I seem to have stumbled on the cause..