Switch logs

hey gurus
i have a database on oracle 9.2. i have created two standby out of it .and both are in managed recovery.ths database has sufficient space of it's requirement . Good space for datafile to grow and good space for archive logs. but the strange problem i'm facing is when ever i run command
alter system switch logfile;
it takes more then 3 or 4 hrs. and also i never find any error in ALERT FILE .
there are also many other databases with diff version running on that server and having no problem in switch logs ..
can any body discuss and define why this is happening

by 3 4 hour i mean when ever we execute this command
alter system switch logfile;
it show no activity at all .like it's hang which it is not .it stays in same ondition for 3 4 hours and then switches log ,
here are the results from all the querys
SQL> SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS 2> FROM V$MANAGED_STANDBY;
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
ARCH CLOSING 1 24230 1 1
ARCH CLOSING 1 24229 1 3
SELECT RECOVERY_MODE FROM V$ARCHIVE_DEST_STATUS ;
RECOVER
IDLE
MANAGED
MANAGED
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
IDLE
SQL> SELECT ARCHIVED_THREAD#, ARCHIVED_SEQ#, APPLIED_THREAD#, APPLIED_SEQ# 2> FROM V$ARCHIVE_DEST_STATUS;
ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ#
1 24230 0 0
1 24230 1 24228
1 24230 1 24228
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
no error in alert log file
no arror in and trace file
tnsping is working perfectly fine
( some time this command switch log file instantanously and at that time archive logs are getting trasferred to standby location)
No cron job is running on this database
only 40 gb is n size and very very less activity
select event, sum(WAIT_TIME), count(*) from v$session_wait group by event order by 2
EVENT SUM(WAIT_TIME) COUNT(*)
rdbms ipc message 0 6
smon timer 0 1
switch logfile command 0 1
can any body suggest something any clue in this regard
Message was edited by:
closetodestination
Message was edited by:
closetodestination

Similar Messages

  • Switch log file

    Hi Everyone,
    We are using the 9i database and during the import, we have temporarily added 2 new log groups (Each 2 gb in size) to improve the import performance. After the completion of the import we have a plan to drop those newly added log groups. In order to do that we have issue the command "Alter system switch logfile".,
    but it is running more than 8 hrs., We have increased the Log_archive_max_processes value also but still it is running.,
    Could anyone please suggest about how to improve the speed of switch log file operation?
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE 9.2.0.8.0 Production
    TNS for HPUX: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production
    Regards,
    Jai

    Hi,
    Please find below the last few lines of alert log,
    Thu Mar 7 15:06:15 2013
    alter database datafile 7 autoextend off
    Thu Mar 7 15:06:15 2013
    Completed: alter database datafile 7 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 8 autoextend off
    Completed: alter database datafile 8 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 9 autoextend off
    Completed: alter database datafile 9 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 10 autoextend off
    Completed: alter database datafile 10 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 11 autoextend off
    Completed: alter database datafile 11 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 12 autoextend off
    Completed: alter database datafile 12 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 13 autoextend off
    Completed: alter database datafile 13 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database datafile 14 autoextend off
    Completed: alter database datafile 14 autoextend off
    Thu Mar 7 15:06:15 2013
    alter database tempfile 1 autoextend off
    Completed: alter database tempfile 1 autoextend off
    Thu Mar 7 16:02:53 2013
    ARCH: Evaluating archive log 1 thread 1 sequence 7
    Thu Mar 7 16:03:17 2013
    ARCH: Evaluating archive log 1 thread 1 sequence 7
    Thu Mar 7 16:26:01 2013
    alter database datafile 7 autoextend off
    Thu Mar 7 16:26:01 2013
    Completed: alter database datafile 7 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 8 autoextend off
    Completed: alter database datafile 8 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 9 autoextend off
    Completed: alter database datafile 9 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 10 autoextend off
    Completed: alter database datafile 10 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 11 autoextend off
    Completed: alter database datafile 11 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 12 autoextend off
    Completed: alter database datafile 12 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 13 autoextend off
    Completed: alter database datafile 13 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database datafile 14 autoextend off
    Completed: alter database datafile 14 autoextend off
    Thu Mar 7 16:26:01 2013
    alter database tempfile 1 autoextend off
    Completed: alter database tempfile 1 autoextend off
    Fri Mar 8 04:21:08 2013
    ALTER SYSTEM SET log_archive_max_processes=6 SCOPE=BOTH;
    Fri Mar 8 05:05:43 2013
    alter database drop logfile group 4
    Fri Mar 8 05:05:43 2013
    ORA-350 signalled during: alter database drop logfile group 4...
    Fri Mar 8 05:07:13 2013
    ARCH: Evaluating archive log 1 thread 1 sequence 7

  • Switching log file

    Hi All,
    Greeting of the day...
    please suggest on the below...
    need to do alter switch log file if the log file is not switched for 15 minutesthanks,
    baskar.l

    I'd suggest you not to do it manually, but rather to use [FAST_START_MTTR_TARGET|http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams068.htm#REFRN10058] parameter
    The FAST_START_MTTR_TARGET initialization parameter is used to specify the amount of time (in seconds) a database should take to perform a crash or instance recovery. The value set for the FAST_START_MTTR_TARGET initialization parameter is internally converted to a set of parameters that modify the operation of Oracle in such a way that recovery time is as close to this estimate as possible.
    The FAST_START_IO_TARGET, LOG_CHECKPOINT_INTERVAL, and LOG_CHECKPOINT_TIMEOUT initialization parameters should not be used when using the FAST_START_MTTR_TARGET initialization parameter. Setting these parameters to active values obstructs the normal functioning of the FAST_START_MTTR_TARGET initialization parameter, resulting in unexpected results.
    The maximum value that can be set for the FAST_START_MTTR_TARGET initialization parameter is 3600. If a value greater than 3600 is set, Oracle automatically rounds it to 3600.
    Edited by: Kamran Agayev A. on Aug 4, 2009 12:06 PM

  • Switch log creating lock and hangs

    created new db, placed db into archivelog mode, switch log file, session waits. enterprise manage is showing an "IS" lock on that session. the arc
    folder is completely read/writable.
    any ideas?

    all is how it should be, archivelog enabled and started, write access to the dir and partition has plenty of free space. its the 3rd log switch creates a wait for something.
    SQL> alter database open;
    Database altered.
    SQL> ARCHIVE LOG LIST;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /archlogs/misliv
    Oldest online log sequence 317
    Next log sequence to archive 319
    Current log sequence 319
    SQL> alter system switch logfile;
    System altered.
    SQL> /
    System altered.
    SQL> /
    ^Calter system switch logfile
    ERROR at line 1:
    ORA-01013: user requested cancel of current operation
    SQL> exit
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.4.0 - Production
    $ cd /archlogs
    $ ls -l
    total 22
    drwx------ 2 oracle oinstall 8192 Nov 9 2006 lost+found
    drwxrwxrwx 2 oracle oinstall 512 Oct 19 09:32 misliv
    $
    Message was edited by:
    the_gusman
    Message was edited by:
    the_gusman

  • How to view router/switch logs using LMS 3.2?

    Of course I can log into each of my 100 routers and switches and peforms "sh loggin" to look for problems, but how do I use LMS 3.2 to consolidate all those logs into one location?  Can I set up something so I can see those logs in more or less real time?
    Thanks in advance.

    >> Does LMS go get syslog messages periodically or does the device send a copy to LMS whenever it generates a new message?
    The latter.
    If for some reason, the devices cannot log directly to LMS, there're a few options: 1) Devices log to a central syslog server, which in turn exposes the syslogs to LMS' Syslog Analyzer, either via the Cisco-supplied Remote Syslog Collector or some unsupported methods such as NFS mount, or 2) Install Syslog-ng on the central syslog server, relay the logs to LMS, as described in this whitepaper: http://www.cisco.com/en/US/prod/collateral/netmgtsw/ps6504/ps6528/ps2425/white_paper_c11-571038.html
    >> What's the benefit of scheduling a report to run automatically?  Is it saved somewhere that is easier/quicker to get to?
    It's the usual benefits of automation. Scheduled syslog reports apparently write outputs to /var/adm/CSCOpx/files/rme/cri/archives/syslog/reports/output/[jobID_runID], on Solaris, for example. The structure inside is rather muddy. So it might be easier to have something like a VBscript to screen-scrape the LMS web GUI for the report outputs instead.
    >> Can new syslog messages from devices be posted to an RSS feed?
    That's a novel idea. Though obviously not from the devices directly, it most likely coud be done through some "syslog2rss" relay residing on the syslog server. I think the potential volumes of logs could be too much for RSS, unless careful filtering/deduplication takes place on the relay before posting to a feed.

  • Muse not switching log-in accounts

    I have creating three sites in MUSE. One is live and running find as a paid account on BC. The second and third are client sites and I am now running into real problems.
    First, I am running MUSE Beta 7. I am trying to SWITCH ACCOUNTS in the PERFERENCES so that I can upload a client site using a NEW ADOBE ID. I keep getting the error:  "User name or password is incorrect, please try again." (SEE PHOTO). The new client Adobe ID WORKS PERFECTLY on the Adobe website Sign-in page.
    So then I went to my ADMIN on BC and UPGRADED the trail site for the client to a PAID site and thought that I could switch the BC account for the new PAID site to a new ADODBE ID USER. But no, there appears to be no way to switch a paid user in the PARTNER PORTAL to a new Adobe ID so the client has a separate log-in. I am not a paying PARTNER for Business Catalyst, but I cannot imagine BC turning down business.
    What can I do to make MUSE recognize a new ADOBE ID in PERFERENCES?
    And secondly, if anyone on the MUSE team knows what to do about switching ID's on paid accounts on BC, please help as the forum for Business Catalyst does not seem to be thriving with helpful employees.
    FYI: Adobe better start have support staff who can addres BOTH Business Catalyst and MUSE issues since I am not alone in using both tools, and Adobe is pushing to have the products be linked as much as possible.
    Pulling my hair out!

    Andrew, thanks for trying, but I am not sure what you mean as there is no general BC log-in, only an ADMIN log-in which requires that a website ALREADY be set up on BC.
    When I go to www.businesscatalyst.com/ the link now goes to an ADOBE page rather than a separate website. The only “log-in” on that page is the Adobe Sign-In page. I can use the client Adobe ID there with no problem, but the Adobe Log-in and for an Adobe ID has NO WAY to link the BC account to the ID.
    If you are talking about the LOG-IN panel for a Business Catalyst website, the only panel I can log into is the one for MY OWN site (https://nj.worldsecuresystems.com/Admin/Index.aspx?OURL=www.kazapme.com&to=), NOT the client site because the client site does not have its own panel yet because BC is mixing my account with the client account. Dear God, this is a nightmare with still no help from the BD Form!
    So, unless the BC team finally answer my question, it sounds like I need to download and install MUSE on a DIFFERENT computer, then try and get MUSE to work with a DIFFERENT Adobe ID because it refuses to swith accounts. Insane, but right now I am desperate for a solution. What happens with my third client when I want to take that site live and cannot switch because the ADobe ID is new? I only have so many computers or so much time to install than reinstall MUSE for each time I want to switch accounts to a new one (if that process would even work).

  • Switch log file is too slow

    hello,
    my database is 10R2
    the specified size of online redolog file is 50mb
    the switching of log file is too slow..
    even though the size of archived log file has become around 50,029,there is still no log switch of file..
    why the log switch is not occuring immediately after the size reaches upto that limit(50,029)...?
    what might be the setting do i need to do..
    any help ....any guess ??
    thank you..

    Hello,
    The frequency of the log switch depends on the activity of the Database.
    You may check the Alert log for some messages like this:
    Thread 1 cannot allocate new log, sequence ...
    Checkpoint not completeWhile Oracle needs informations in the Redo log to complete the Checkpoint, it cannot reuse it. So, it can happen that the Database doesn't switch the redo log up to the Checkpoint is complete.
    If you have this kind of messages, the following link may help you:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:69012348056
    Often, it's solved by adding redo log files.
    The Parameter fast_start_mttr_target may also help the Database to optimize the checkpoint:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams068.htm
    Else, if you don't have this message ( checkpoint not complete ...), but you want to log switch more frequently (even if the Redo log is not completely full), you have the parameter archive_lag_target. It can help to force log switch every n+ seconds:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams009.htm
    NB: It's not recommended to get log switch too frequently, in general you shouldn't have more than 3 or 4 log switchs every hour.
    Hope this help.
    Best regards,
    Jean-Valentin
    Edited by: Lubiez Jean-Valentin on Mar 5, 2011 11:44 AM

  • Syslog locks when switching logs without console

    Hi all,
    We are comming across a problem in one of our Solaris 2.6 machines. When the script newsyslog switches the logs for syslogd, this process stops writing in the messages files. This happens when newsyslog is executed not having a console open in the machine. Besides whe get the following message in the console from time to time:
    INIT: Command is respawning too rapidly. Check for possible errors.
    id: sc "/usr/lib/saf/sac -t 300"
    So it seems that for any reason sac is not able to start and that is blocking the correct start of syslogd, maybe?
    I would appreciate any help. Regards,
    Jorge

    Mine does it too. It to do with your security settings. I believe you'll have to disable the 'Remote Lock' you have in the screen shot. Bit of a pain, but addded security if you lose your phone I guess.
    Jurassic Park, Sam Neill to Dickie Attenborough " Mr. Hammond, the phones are working !"
    N8-00 Tesco UK 059C951, Lumia 920

  • Switch Logging info from HDV to Apple Intermidate Codec???

    I have just logged all my tapes accidently using the HDV codec, is there a way to switch over to the Apple Intermidate Codec before i digitise or am i screwed?
      Mac OS X (10.4.7)  

    Many people choose to use HDV, and tell me that there's no downside to that. The downside I expected there to be would be that random access would be slower (as you're jumping around in an MPEG-2 file). But apparently that doesn't happen.
    I would be tempted to just go ahead and try editing the files you have, because if it works it's a better quality path than converting to Apple Intermediate Codec would be, as well as taking up a lot less disk space.

  • Switch Logs _Power supply

    Hi ,
    Can anyone tell me why we got following logs on Cisco IOS Software, C3560E Software (C3560E-UNIVERSALK9-M), Version 12.2(55)SE3, RELEASE SOFTWARE (fc1)?
    Help me out.
    Mar 26 14:58:04.456 IST: %PLATFORM_ENV-1-FRU_PS_ACCESS: FRU Power Supply is not responding
    Mar 26 14:58:07.719 IST: %PLATFORM_ENV-1-FRU_PS_SIGNAL_FAULTY: POWER_GOOD signal on power supply 1 is faulty
    Mar 26 14:58:12.743 IST: %PLATFORM_ENV-1-FRU_PS_SIGNAL_OK: POWER_GOOD signal on power supply 1 is restored.
    Regards,
    Rohan

    Hi Susan,
    Do you have redundant power supplies connected to the 2950s?
    If not, you are probably running into a cosmetic bug, CSCee96721.
    We can confirm this by issuing a "show env" in the CLI.
    You should see something like this:
    "switch#sho env all
    FAN is OK
    Internal POWER supply is OK
    RPS is NOT present
    RPS is FAULTY"
    Note that the last line indicates that the RPS is faulty, even though the line above it indicates that no RPS is present.
    If that applies to you as well, then you are hitting this bug. CNA is polling the same information, which is why you are seeing "switch redundant power supply failed" in CNA.
    The fix is in 12.1(22)EA3 and later.
    HTH,
    Bobby
    *Please rate helpful posts.

  • Couldn't switch log

    Dear buddies,
    I was dropping and recreating some of the redo logs to create them with a larger size and somehow made some mistakes (in location and when I want to drop and recreate now, one of the files is giving me an error.
    select * from v$logfile;
    select group#, sequence#, bytes, archived, members, status
    from v$log;
    alter database drop logfile group 1;
    alter database
    add logfile group 1 ('F:\ORACLE\DATA\DEV\REDO01.LOG',
    'F:\ORACLE\DATA\DEV\REDO01A.LOG',
    'F:\ORACLE\DATA\DEV\REDO01B.LOG')SIZE 55M reuse;
    alter database drop logfile group 2;
    alter database
    add logfile group 2 ('F:\ORACLE\DATA\DEV\REDO02.LOG',
    'F:\ORACLE\DATA\DEV\REDO02A.LOG',
    'F:\ORACLE\DATA\DEV\REDO02B.LOG')SIZE 55M reuse;
    alter database drop logfile group 3;
    alter database
    add logfile group 3 ('F:\ORACLE\DATA\DEV\REDO03.LOG',
    'F:\ORACLE\DATA\DEV\REDO03A.LOG',
    'F:\ORACLE\DATA\DEV\REDO03B.LOG')SIZE 55M reuse;
    alter database
    add logfile group 4 ('F:\ORACLE\DATA\DEV\REDO03.LOG',
    'F:\ORACLE\DATA\DEV\REDO03A.LOG',
    'F:\ORACLE\DATA\DEV\REDO03B.LOG')SIZE 55M reuse; --added this newly and didn't change the file name
    alter system switch logfile;
    ALTER SYSTEM CHECKPOINT GLOBAL;
    This is the error I receive when I try to start the database
    ORA-00331: log version 10.2.0.4.0 incompatible with ORACLE version 10.1.0.0.0
    ORA-00312: online log 2 thread 1: 'F:\ORACLE\DATA\MAinDB\LOG_02.LOG'
    I mistakenly used the logs which belongs to another database.
    Please help me.
    Its the production database!
    Nith

    Ok try that:
    alter database
    add logfile group 5 ('F:\ORACLE\DATA\DEV\REDO05.LOG') SIZE 55M ;
    alter database
    add logfile group 6 ('F:\ORACLE\DATA\DEV\REDO06.LOG') SIZE 55M ;
    alter database drop logfile group 1;
    alter database drop logfile group 2;
    alter database drop logfile group 3;
    alter database drop logfile group 4;if you can not drop these logfiles then you need recreate controlfiles again with resetlogs option as:
    sqlplus "/as sysdba"
    shutdown ummediate;
    STARTUP NOMOUNT;
    CREATE CONTROLFILE REUSE DATABASE "W" RESETLOGS  ARCHIVELOG
        MAXLOGFILES 16
        MAXLOGMEMBERS 3
        MAXDATAFILES 100
        MAXINSTANCES 8
        MAXLOGHISTORY 292
    LOGFILE
      GROUP 1 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\REDO01.LOG'  SIZE 50M,
      GROUP 2 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\REDO02.LOG'  SIZE 50M,
      GROUP 3 'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\REDO03.LOG'  SIZE 50M
    DATAFILE
      'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSTEM01.DBF',
      'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\UNDOTBS01.DBF',
      'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\SYSAUX01.DBF',
      'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\USERS01.DBF',
      'D:\ORACLE\PRODUCT\10.2.0\ORADATA\W\EXAMPLE01.DBF';
    alter database open resetlogs;Edited by: Chinar on Aug 3, 2010 4:00 AM

  • Is there a way to identify manual log switches?

    Hi!
    A while ago I upgraded a 10g database to 11.2.0.2 64 Bit Windows.
    During the Upgrade we realized that redo logs were configured really small (~10MB) what resulted in a lot of log switches (a few hundred per day). So we adjusted redo log size to 100MB and set archive_lag_target to 1800.
    The amount of log switches went down a little but less far than we expected it. After further analysing the situation we recognized that Oracle is switching logs far before reaching the 100MB log size (and also far before reaching 1800s). All the archived logs have a size of about 15MB. I know that 11g invented something like "preemptive log switching" that switches logs round about 20% before reaching the maximum value (if I remember it correctly..). But switching already at 15% of the maximum size seems strange to me...
    I couldn't find any helpful stuff on Google or Metalink about that topic but today I had a different idea: what if it's the application software that's doing manual log switches?
    (I have no idea why it should do that but I can remember that the application user does require the sysdba privilege - don't ask me why, I didn't write it, I won't defend it...)
    So I checked the alert log but unfortunately I had to realize that there is no difference between an automatic switch and a manual one (only alter system archive log... does get an extra line).
    So my questions are:
    1) Does anybody know a way of distinguishing between an automatic log switch and a manual one? Is there a table or another logfile where this information is recorded?
    2) Has anybody experienced a similar situation where Oracle is switching the logs way before reaching the maximum size?
    Best regards,
    Marcus

    lebigmac wrote:
    1) Does anybody know a way of distinguishing between an automatic log switch and a manual one? Is there a table or another logfile where this information is recorded?
    Off the top of my head - I think the only way to do a manual log switch is to issue "alter system switch log file", and I think that any "alter system" command is written to the alter log in you version of Oracle. (I really ought to check both statements before posting this, but I've been up since 2:30 am).
    2) Has anybody experienced a similar situation where Oracle is switching the logs way before reaching the maximum size?
    It's very common with recent versions of Oracle when private redo threads come into play; but your example seems a little exaggerated. The log file switch has to start when there is enough space left in the log file for all the public and all (or maybe it's the previously used - i'll have to check my book) private redo threads. You could check x$kcrfstrand to see what this sizes look like: http://jonathanlewis.wordpress.com/?s=private+thread
    Regards
    Jonathan Lewis

  • Is it possible to get logs from a 3850 Cisco member switch in a stack?

    %STACKMGR-1-STACK_LINK_CHANGE: MEMBER: 4 stack-mgr:  Stack port 2 on switch 4 is down
    %STACKMGR-1-STACK_LINK_CHANGE: STANDBY:2 stack-mgr:  Stack port 1 on switch 2 is down  (OC-SWTCH)
    %STACKMGR-6-SWITCH_REMOVED: STANDBY:2 stack-mgr:  Switch 3 has been removed from the stack.
    I recieved errors on a 3850 switch 3 in my stack, it's removed from my stack and after 5 minutes it comes back up. I want to know what the switch was doing for those 5 minutes, is it possible to get the log files for only switch 3? Telneting to the switch stack or connecting a console cable directly to switch 3 only gives me the logs for master switch logs. Ideally when a switch reconnects to a stack, the master switch should ask the joining switch for it's logs, and merge them into it's own logs so it has a record of the switch did when it wasn't communitating.

    HI,
    create a internal with type of the structure and populate values into that n do wat ever u want.
    ex:
    data: itab type zstruct occurs 0 with header line. // where zstruct is a structure in a database.
    select * from .............. into table itab where ...............
    loop at itab.
    write:/10 itab-fld1,
              20    itab-fld2,
    endloop.
    if helpful reward some points.
    with regards,
    suresh aluri.

  • RAC 10.2.0.4, event gc cr block busy & log file switch

    hello everybody,
    i would like to know if there is any dependencies between gc cr block busy and log switch in the one node of the rac cluster.
    i had a select and its completion time lasted 12 secs instead of 1, the start time of the select is the start time of the log switch on the node.
    But when i looked into the active session history the session which was standing for that select had been waiting gc cr block busy instead log file switch completion.
    While looking to the Google resources i ve noticed that "The gc current block busy and gc cr block busy wait events indicate that the
    remote instance received the block after a remote instance processing delay.
    In most cases, this is due to a log flush".
    I would be really greatfull if anybody would be able to locate the initial dependancy i ve mantioned and explain the cause of the issue as i can not quite get why the selection took so long.
    Thank you in advance!

    Did you told "log file switch"?
    you mean log file switch (checkpoint incomplete) or log file switch (archiving needed) or log file switch/archive or log file switch (clearing log file) or log file switch completion or log switch/archive
    however a instance can wait ... if you find high values about waiting, you may tune your database.
    please show us
    - Top 5 Wait Events
    SQL> alter session set nls_date_format='YYYY/MM/DD HH24:MI:SS';
    SQL> select name, completion_time from V$ARCHIVED_LOG order by completion_time ;
    Check How often do you switch logfile to archive log? ... Every switch log file... you may find "log file switch" waiting
    I see... you no high DML activitiy.
    But Please check High segment + object and query on AWR report... (example: Segments by Physical Writes )
    just investigate
    Good Luck

  • T is frequently switching the redo log files within 5min approx..

    i am facing frequent switching of redo logs within 5minutes
    can you please tell how to resolve
    thanks for help

    Hi,
    I found this:
    More frequent log switches may result in decreased performance. If your redo logs switches so faster Oracle will stop processing until the checkpoint completes successfully. Generally it is recommended to size your redo log file in a way that Oracle performs a log switch every 15 to 30 minutes.
    A recommended approach is to
    Query V$LOG view to determine the current size of the redo log members.
    Record the number of log switches per hour.
    Increase the log file size so that Oracle switches at the recommended rate of one switch per 15 to 30 minutes.
    You can also check messages in the alert log in order to determine how fast Oracle is filling and switching logs. Suppose if your database redo log file size is set to 1MB. It means that Oracle switches the logs every 1 minute. So you will need to increase the size of redo log file to 30MB so that Oracle switches per 30 minutes.
    It is also recommended to ensure that your online redo log files do not switch too often during high activity time. Instead in the period of high activity it should switch less while it should switch enough times during the time of low processing workloads. Many database administrators create PL/SQL programs to ensure that the logs switch every 15 to 30 minutes during times when activity is low.
    Oracle ARCHIVE_LAG_TARGET can also be used to force a log switch after the specified amount of time elapses. The basic purpose of ARCHIVE_LAG_TARGET parameter is to control the amount of data that is lost and effectively increasing the availability of the standby database but many database administrators set ARCHIVE_LAG_TARGET parameter to make sure that the logs switch at regular intervals during lower activity time periods.
    You should also keep in mind that how the size of the online redo log files will affect the instance recovery. Remember the lesser the checkpoints are taken; the longer will be the instance recovery duration. You can decrease the instance recovery time by appropriately setting the LOG_CHECKPOINT_TIMEOUT, LOG_CHECKPOINT_INTERVAL and FAST_START_MTTR_TARGET parameters.

Maybe you are looking for

  • Overriding attributes in ABAP objects

    Hello, I currently want know if it is possible to override attributes in ABAP objects. i know it is possible with methods. I have extend a previous class functionality and want to change the refrence type of an attribute from the parent class, but on

  • Transform incomplete xml

    is it possible to transform a incomplete xml with xsl. incomplete xml without root tag +++++++++++++++++++++++++++++++++++++++++++++++++++++++ <log action="NEW_ORDER" time="06.06.2003 12:00:06"> </log> <log action="NEW_ORDER" time="06.06.2003 12:00:0

  • DRAM wound too tight??????? Neo 865PE Board Advice needed

    RapidShare Account-ID: 14334524 Password: QfYkRMdt First - My computer is normally rock solid with no problems. I turned my computer on today and it would not even boot to the BIOS. It was if there was no power going into it but then it started to bo

  • Too much memory is being used?

    hello, i have 256mb, but when i look at task manager, my free physical memory is just 60mb?  it used to be 120+mb i have fuzzylogic 4, nforce apu, modem, immersion(logitech itouch), star wars screenthemes on my taskbar. dont know what takes much of m

  • Shipment of external archive inside of movie clip, is outside of the place

    Neste caso não quero criar um  movie clipe apartir de código. o movie clip , já existe no palco. o  traço que aparece no canto inferiro da tela indica o arquivo externo,  mas  como referência o traço está no centro do arquivo. a  referência é o quadr