GoldenGate Initial load to only generate log file

Hi all

OS version: Oracle Linux 6

Version GG: 11.2.1.0.6

We implement in our env Setup GG, where trail source files will be urged to target and tool Abinitio target read gg track files (via abinitio plug) and load data in the target of Teradata Database incremental. We have an obligation to initial charge of small tables, for this we intend to use gg.

Is it possible to generate the initial load of GG in the form of files (canonical format IE gg native format) of the track at the source and sent to target where target Abinitio will use same files to load into the Teradata Database.

AM trying as follows with our replicat but it does not work

EXTRACT TEST_INI

SOURCEISTABLE

Username Ggate, PASSWORD ggate

RMTHOST SEC12_SEC, MGRPORT 7809

RMTTRAIL ./dirdat/VC

TABLE GGATE. TEST1;

Thanks in advance.


Concerning

KVM

MVK,

So you say that the extract stopped and that's all that is in the report file? It does not even show that it had tried to connect to the remote system. An other INFO and VIEW the REPORT to verify that it has not progressed further. Check the ggserr.log on the source and remote systems. Looking for a gglog .dmp -file in the install OGG on the source directory.

Best regards

Mary

Tags: Business Intelligence

Similar Questions

  • Utility.bat doesn't generate log file

    Hello

    You try to run utility.bat with batch script, but it is impossible to generate the log after completion.

    My script: -.

    Set _A_=\Oracle\Middleware\user_projects\epmsystem1\bin\Utility.bat

    Set b = xmlfile.xml

    Define juxtaposition = b 'C:\Oracle\Middleware\user_projects\epmsystem1\import_export\admin@Native Directory.

    Define _D_ = >

    Set _E_ = c:\xmlfile.log

    Set _runutlt = %%%d b %%d %%d %%d % _F_ _D_ juxtaposition rhymed

    : Home

    % _runutlt %

    When I run above script cmd prompt it takes up to % rhymed %%d b %%d juxtaposition % (\Oracle\Middleware\user_projects\epmsystem1\bin\Utility.bat xmlfile.xml - b "C:\Oracle\Middleware\user_projects\epmsystem1\import_export\admin@Native Directory").

    It ignores the suite (> c:\xmlfile.log).

    But if I run directly from the cmd as prompt

    \Oracle\Middleware\user_projects\epmsystem1\bin\Utility.bat xmlfile.xml b "C:\Oracle\Middleware\user_projects\epmsystem1\import_export\admin@Native directory" > c:\xmlfile.log

    It is able to generate the log file.

    has anyone encountered this problem? any difficulty please

    Thnx

    Set the same command is working. (I don't think it will work unless you use ^ as escape)

    By why even settle it, you set all files, use % something % > Journal %

    Concerning

    Celvin

    http://www.orahyplabs.com

  • Large log files

    Hello. We organize Web Forms and I noticed a few log files who got quite large size. They appear to be logs of some sort. Can any of these simply deleted files so that they go back to a smaller size?

    -rw-rw-r - 1 oracle oinstall 3156473432 23 Jul 10:12 /apps/oracle/product/oracleforms/j2ee/OC4J_BI_Forms/log/OC4J_BI_Forms_default_island_1/default-web-access.log
    -rw - r - 1 oracle oinstall 1198443058 Mar 03 21:52 /apps/oracle/product/oracleforms/sysman/log/em-application.log
    -rw-rw-r - 1 oracle oinstall 3710101573 23 Jul 10:12 / apps/oracle/product/oracleforms/webcache/logs/access_log

    There is only the log file, for you, to track activity.

    François

  • SQL Loader / WHAT clause / off swich? / bloated log files

    Hello everyone,

    I'm loading data using SQL-Loader very large source files. It all works very well.

    However, now, by using the WHEN clause (in the control file), I would like to only a very small subset of most load data. This also works very well...

    WHEN ARTICLECODE! '000000000000006769' =

    However, the log file becomes fully inflated with messages telling me to each record that does not have the WHEN clause...

    Record 55078: Discarded - failed all WHEN clauses.

    This becomes a problem because it slows down the process and creates large log files that eat upward of my disk space.

    There must be a simple command to allow me to disable the messages of thiese, but although I googled on it, I could not find it.

    Any ideas on this one? I don't know that it's simple.

    Best regards and many thanks,
    Alan Searle

    Try adding the SILENCE = RELEASES key sqlldr command

    Silent means - delete messages during execution (header, comments, errors, discards, partitions)

  • Several LOG files generated in the temp folder

    Hello

    Still having some problems with CC; first of all, my subscription has been terminated apparently for no reason a few weeks ago. Payment was to be made manually.

    Since then, whenever I use my system, it generates files LOG more and more, even if I just use Illustrator to perform a simple task.

    temp file photo.jpg

    The thing is looks like it is constantly re - generate and add in the same file, this has never happened before.

    Can you please advise, because as you can see I'm maxing out now the reader

    Thank you

    Note Please there is already a forum post on this 'problem' that you can consider to use workaround suggested. If you keep having problems please create a support case. Chat support can be contacted: Contact customer service

    AdobeGC.log files taking up my hard drive

  • External table - load a log file with more than 4000 bytes per column

    Hello
    I'm trying to import a log file into a database table that has a single column: txt_line
    In this column, I'm trying to fill out a log by record type entry. Each log entry is normally more than 4000 bytes in the outer table, it should be a clob.
    Below is a table of external work that works, but cut all entries after 4000 bytes. How is it is possible to directly load the data into a clob column? All I've found are descriptions where I have a clob-file by file.
    Any help is appreciated
    Thank you



    Source file
    .. more than 4000 bytes...]] .. .more Quen 4000 bytes...]] .. more than 4000 bytes.

    ]] ist the record delimiter

    External table:
    create the table TST_TABLE
    (
    txt_line varchar2 (4000)
    )
    external organization
    (type
    ORACLE_LOADER
    the default directory tmp_ext_tables
    (settings) access
    records delimited by a "]]"
    fields (txt_line char (4000))
    )
    location ("test5.log")
    )
    reject the limit 0
    ;

    user12068228 wrote:

    I'm trying to import a log file into a database table that has a single column: txt_line
    In this column, I'm trying to fill out a log by record type entry. Each log entry is normally more than 4000 bytes in the outer table, it should be a clob.
    Below is a table of external work that works, but cut all entries after 4000 bytes. How is it is possible to directly load the data into a clob column? All I've found are descriptions where I have a clob-file by file.
    Any help is appreciated
    . . . E t c...

    And what did you expect if you define the field source and target column as 4000 characters?

    Try this:

    CREATE TABLE tst_table
     (
       txt_line CLOB
     )
     ORGANIZATION EXTERNAL
     (TYPE oracle_loader
        DEFAULT DIRECTORY tmp_ext_tables
        ACCESS PARAMETERS (
           RECORDS DELIMITED BY ']]'
           FIELDS (txt_line CHAR(32000))
        )
      LOCATION ('test5.log')
     )
    REJECT LIMIT 0
    ;
    

    8 2

  • Generate the log file for the dialog box

    Hi all


    I'm generating information for the dialog box as a .txt log file format. That means that if the box is checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against the information on tickets and slug jobs"is checked


    If the checkbox is not checked, the log file will be give ' checkbox1 - 01.»   Check the report, sizes against ticket and slug information on employment"is not checked


    and also the entry "myText2" also needs to generate the log file


    Can someone help on this... Help would be appreciated!



    var l is new window ('dialogue');.

    myGroup1 var = w.add ("panel", undefined, ' P & & G check the list ');

    myGroup1.alignChildren = 'left ';

    CheckBox1 var = myGroup1.add ("checkbox", not defined, '01.   (Check the ratio, size against the information on tickets and slug jobs");

    CheckBox2 var = myGroup1.add ("checkbox", not defined, '02.   "" "Check images are linked");

    var checkbox3 = myGroup1.add ("checkbox", not defined, '03.   Visually check the progress of KV/model/CP images");

    var checkbox4 = myGroup1.add ("checkbox", not defined, '04.   Visually check the progress of other elements such as Logo and bottle");

    var checkbox5 = myGroup1.add ("checkbox", not defined, '05.   Check the positioning of the markup language");

    var checkbox6 = myGroup1.add ("checkbox", not defined, '06.   Ensure that all measures are calculated Live based area");

    var checkbox7 = myGroup1.add ("checkbox", not defined, '07.   After that the resizing of the picture KV frame open to cut and bleed");

    var checkbox8 = myGroup1.add ("checkbox", not defined, '08.   Complete Magenta if there is insufficient image');

    var checkbox9 = myGroup1.add ("checkbox", not defined, '09.   ("To ensure that the document's bleed, crop gutter and slug information brands ');

    var checkbox10 = myGroup1.add ("checkbox", not defined, '10.   Make sure that the final work is updated on the server");

    var checkbox11 = myGroup1.add ("checkbox", not defined, '11.   ("Enter time cmd");

    var myGroup2 = w.add ('panel', undefined, 'The operator name');

    var myText2 = myGroup2.add ("edittext", undefined, "");

    myText2.characters = 25;

    myGroup2.orientation = 'left ';

    var buttons = w.add ("group");

    Buttons.Add ('button', undefined, 'Export to PDF', {name: 'ok'});

    Buttons.Add ('button', undefined, 'Cancel');

    w.Show ();

    ~ group();

    ~ If (myGroup1.alignChildren.value! = true) {}

    ~ alert ('yes')

    //~ }


    myDoc = app.activeDocument;

    w = [];


    DESCRIPTION: Make a TXT file

    myDoc = app.activeDocument;

    Log1 = makeLogFile (app.activeDocument.name.split('.') ([0], myDoc, true);

    log (log1, app.activeDocument.name);

    ~ log2 = makeLogFile ("test", myDoc, false);

    ~ Journal (log2, "Text file log base 2");

    Log1. Execute();

    ~ log2.execute ();

    function makeLogFile (aName, aDoc, deleteIt) {}

    var logLoc; path to the folder that will contain the log file

    try {}

    logLoc = aDoc.filePath;

    } catch (e) {}

    logLoc = getmyDoc (). parent.fsName

    }

    var queue = aFile (logLoc + "/" + name + ".txt");

    If {(deleteIt)

    aFile.remove ();

    return aFile;

    }

    var n = 1;

    so that {(aFile.exists)

    aFile = File (logLoc + "/" + String (n) + ".txt" aName);

    n ++

    }

    return aFile

    }

    function getScriptPath() {}

    try {}

    Return app.activeScript;

    } catch (e) {}

    Return File (e.fileName);

    }

    }

    function log (aFile, message) {}

    var today = new Date();

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (String (today) + "\n");

    aFile.close ();

    }

    }

    function log (aFile, message) {}

    var text = o;

    If (! aFile.exists) {}

    do the new log file

    aFile.open ("w");

    aFile.write (message + "\n" + "\n" + String (w) + "\n");

    aFile.close ();

    }

    ~ aFile.open ("e");

    ~ aFile.seek (0.2);

    ~ aFile.write ("\n" + message);

    ~ aFile.close ();

    }

    myDoc.close (SaveOptions.no);

    Thanks in advance

    Steve

    Hi Steve,.

    There are some errors in your code.

    1. function 'getmyDoc' is used, but not created.
    2. fucntion 'getScriptPath' is created but not used. (In any case, this will not give you error)
    3. function 'journal' has defined two times with the same length of the parameter.

    etc...

    Here, I have modified your code. Try this.

    var w = new Window ("dialog");
    var myGroup1 = w.add('panel', undefined, 'P&&G Check List');
    myGroup1.alignChildren = "left";
    var checkbox1 = myGroup1.add ("checkbox", undefined, "  01.  Check the ratio, sizes against job ticket and slug information");
    var checkbox2 = myGroup1.add ("checkbox", undefined, "  02.  Check images are linked");
    var checkbox3 = myGroup1.add ("checkbox", undefined, "  03.  Visually check the progression of KV/Model/CP images");
    var checkbox4 = myGroup1.add ("checkbox", undefined, "  04.  Visually check the progression of other elements like Logo and Bottle");
    var checkbox5 = myGroup1.add ("checkbox", undefined, "  05.  Check the placement of Language Tagging");
    var checkbox6 = myGroup1.add ("checkbox", undefined, "  06.  Ensure that all measurements are calculated based on Live area");
    var checkbox7 = myGroup1.add ("checkbox", undefined, "  07.  After resizing the KV image frame opened up to trim and bleed");
    var checkbox8 = myGroup1.add ("checkbox", undefined, "  08.  Fill Magenta if there is inadequate image");
    var checkbox9 = myGroup1.add ("checkbox", undefined, "  09.  Ensure the document has bleed, crop marks, gutter marks and slug information");
    var checkbox10 = myGroup1.add ("checkbox", undefined, "  10.  Ensure the final artwork is updated in the Server");
    var checkbox11 = myGroup1.add ("checkbox", undefined, "  11.  Enter time in CMD");
    var myGroup2 = w.add('panel', undefined, ' Operator Name');
    var myText2 = myGroup2.add("edittext", undefined, "");
    myText2.characters = 25;
    myGroup2.orientation = "left";
    var buttons = w.add ("group");
    buttons.add ("button", undefined, "Export PDF", {name: "ok"});
    buttons.add ("button", undefined, "Cancel");
    w.show ();
    myDoc = app.activeDocument;
    log1 = makeLogFile(app.activeDocument.name.split('.')[0], myDoc, true);
    log(log1, app.activeDocument.name);
    log1.execute();
    function makeLogFile(aName, aDoc, deleteIt)
    {
        var logLoc = "";
        try
        {
            logLoc = aDoc.filePath;
            } catch (e) {}
        var aFile = File(logLoc + "/" + aName + ".txt");
        var n = 1;
        while (aFile.exists)
        {
            aFile = File(logLoc + "/" + aName + String(n) + ".txt");
            n++;
            }
        return aFile
        }
    function log(aFile, message)
    {
        var text = w;
        var rep = "";
        if (!aFile.exists)
        {
            aFile.open("w");
            var today = new Date();
            rep += String(today) + "\n";
            rep += message + "\n" + "\n\n";
            for(var i =0;i
    

    Kind regards

    Cognet

  • SQL * Loader - can I specify the log file in the control file

    SQL * Loader - can I specify the log file in the control file? If so how

    Yes,

    Try sqlldr "echo $command_line_par".

    Note: ' back quotes

    Kind regards

  • WINDOWS\SYSTEM32\WBEM\Logs\FrameWork.log file of only 1.3 GB in size with 65 404 of fragments that cannot be defragmented

    Original title: WBME\Logs\Framework.log

    I have a WINDOWS\SYSTEM32\WBEM\Logs\FrameWork.log file which is 1.3 GB with 65 404 fragments that cannot be defragmented.  How I can fix this, or is it acceptable?

    http://social.technet.Microsoft.com/forums/en-us/ConfigMgrSetup/thread/fa9daa24-410f-44b1-AB2C-66054c161f9e

    http://support.Microsoft.com/kb/836605

    first link has been resolved by the second link, please read both.

  • Send the log file only works on Simulator

    Hello together,

    I added the ability for our users to send a log file of the application for me (author). Its a business application. We have now deployed version and now the log file is NOT attached to the email.

    The code I am using:

    void ApplicationUI::sendLogfile()
    {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]" << "[email protected]");
        data["subject"] = "ceAuToApp Logdatei";
        QString fileName = QString("log.txt.%1").arg(QDate::currentDate().toString("yyyy-MM-dd"));
        QString filePath = QString("logs/%1").arg(fileName);
        QString logpath = QString("shared/misc/%1").arg(fileName);
        QFile::remove(logpath);
        QFile::copy(filePath,logpath);
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
        InvokeManager manager;
        manager.invoke(request);
    }
    

    QML:

    Button {
                text: qsTr("Logdatei an Entwickler senden")
                onClicked: {
                    _ApplicationUI.sendLogfile()
                }
                horizontalAlignment: HorizontalAlignment.Center
            }
    

    Any ideas why it works on Simulator as well as on the device (running in developer mode) but not within the company? Thanks for your help.

    Sven

    He got together with the following code:

    void ApplicationUI::sendLogfile()
    {
        InvokeRequest request;
        request.setAction("bb.action.COMPOSE");
        request.setMimeType("message/rfc822");
        QVariantMap data;
        data["to"] = (QVariantList() << "[email protected]" << "[email protected]");
        data["subject"] = "ceAuToApp Logdatei";
        QString fileName = QString("log.txt.%1").arg(QDate::currentDate().toString("yyyy-MM-dd"));
        QString filePath = QDir::currentPath() + QDir::separator() + QString("logs/%1").arg(fileName);
        QString logpath = QDir::currentPath() + QDir::separator() + QString("shared/misc/%1").arg(fileName);
        QFile::remove(logpath);
        QFile::copy(filePath,logpath);
        QString logpathEncoded = QString(QUrl(logpath).toEncoded());
        data["attachment"] = (QVariantList() << logpathEncoded);
        QVariantMap moreData;
        moreData["data"] = data;
        bool ok;
        request.setData(bb::PpsObject::encode(moreData, &ok));
        InvokeManager manager;
        manager.invoke(request);
    }
    
  • GoldenGate OGG-01194 in initial load

    I have this error when start the extract of initial charging process:

    GSI > view report ext1
    2012-04-16 23:33:40 WARNING EXTRACT OGG-01194 task added REP1: Table USR1. T does not exist in the target database.

    I already check that the table usr1. T does not exist in the target, is not created in the source.
    Go there at the time of the initial load process automatically creates the table built in the target? or... I don't have to create the table structure in the menu start the e target the initial charge went after?

    Thank you

    Before you run the loading process Initial you create the target table.

  • Can someone help me interpret the results of a log cbs.log file?

    My laptop worked little strange - gel sometimes and only excessively slow.  I ran chkdsk /f checks and / r.  Both went well.  I then ran sfc/scannow.  The results of this analysis are displayed below.  I'm not a pc expert, so I don't know if I'm all together or if there is something else, I have to do.  Specifically, the last line of the cbs.log file says, "Verify and Repair Transaction completed. All of the files and registry keys listed in the framework of this operation were properly repaired".

    Any help would be appreciated!  Sorry for the text copy/pasted for a long time.  I cut about 99% of the out and about 1% of the folder (due to a limit of 60 000 characters) just left.  I couldn't find a way to attach a file.

    Thank you!

    POQ 64 ends.

    2012-10-09 22:06:25, Info CSI 00000171 [SR] check complete

    2012-10-09 22:06:26, info CSI 00000172 [SR] components check 100 (0 x 0000000000000064)

    2012-10-09 22:06:26, transaction Info CSI 00000173 [SR] beginning verify and repair

    2012-10-09 22:06:37, info CSI 00000174 Member \SystemRoot\WinSxS\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.0.6002.18005_none_2ce6c04cdc275758\settings.ini file hashes are not actual file [l:24 {12}] "settings.ini": "

    Found: {l:32 b:sKFy6962 + 2YBWdYMZ6Z/UOVMGpEOdEczYmmYd2o9CE4 =} expected: {l:32 = b:v6OQf2AJO5FVbRBJuIwXxkdkCoOaSk3y0ol6uTH491o}

    2012-10-09 22:06:37, info CSI 00000175 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2012-10-09 22:06:40, info CSI 00000176 Member \SystemRoot\WinSxS\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.0.6002.18005_none_2ce6c04cdc275758\settings.ini file hashes are not actual file [l:24 {12}] "settings.ini": "

    Found: {l:32 b:sKFy6962 + 2YBWdYMZ6Z/UOVMGpEOdEczYmmYd2o9CE4 =} expected: {l:32 = b:v6OQf2AJO5FVbRBJuIwXxkdkCoOaSk3y0ol6uTH491o}

    2012-10-09 22:06:40, info CSI 00000177 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2012-10-09 22:06:40, info CSI 00000178 [SR] this element is referenced by [l:162 {81}] "' Package_17_for_KB948465 ~ 31bf3856ad364e35 ~ amd64 ~ ~ 6.0.1.18005.948465 - 60_neutral_GDR" "

    2012-10-09 22:06:41, Info CSI 00000179 repair results created:

    POQ 65 begins:

    2012-10-09 22:17:24, info CSI 00000301 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2012-10-09 22:17:24, info CSI 00000302 Member \SystemRoot\WinSxS\amd64_microsoft-windows-sidebar_31bf3856ad364e35_6.0.6002.18005_none_2ce6c04cdc275758\settings.ini file hashes are not actual file [l:24 {12}] "settings.ini": "

    Found: {l:32 b:sKFy6962 + 2YBWdYMZ6Z/UOVMGpEOdEczYmmYd2o9CE4 =} expected: {l:32 = b:v6OQf2AJO5FVbRBJuIwXxkdkCoOaSk3y0ol6uTH491o}

    2012-10-09 22:17:24, info CSI 00000303 [SR] cannot repair the military record [l:24 {12}] "settings.ini" Microsoft-Windows-Sidebar, Version = 6.0.6002.18005, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), the Culture neutral, VersionScope is 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, type neutral, TypeName neutral, neutral to the public key in the store, hash mismatch "

    2012-10-09 22:17:24, Info CSI 00000304 [SR] this element is referenced by [l:162 {81}] "' Package_17_for_KB948465 ~ 31bf3856ad364e35 ~ amd64 ~ ~ 6.0.1.18005.948465 - 60_neutral_GDR" "

    2012-10-09 22:17:24, info CSI 00000305 hashes for Member file? \C:\Windows\PolicyDefinitions\inetres.ADMX are not real file [l:24 {12}] "inetres.admx": "

    Found: {l:32 b:DjclSPQ + c3ju7E53XXW47eR94SH7ICruHSUKg8YAkO0 =} expected: {l:32 b:3 T / Xc + 0 k/wBxJ4k/vlPd86jLOYtWOjRsHrz0hHH9H8s =}

    2012-10-09 22:13:42, CSI 0000027e Info [SR] repair corrupted file [ml:520 {260}, l:64 {32}] '------? \C:\windows\policydefinitions"\[l:24{12}]"Inetres.ADMX' of the store

    2012-10-09 22:13:42, CSI Info 0000027f WARNING: file [l:24 {12}] "inetres.admx" in [l:64 {32}] '-? ' "" \C:\windows\policydefinitions' switching property

    Old: Microsoft-Windows-InetRes-Adm, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    New: Microsoft-Windows-InetRes-Adm, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    2012-10-09 22:13:44, info CSI 00000280 hashes for Member file? \C:\Windows\PolicyDefinitions\en-US\InetRes.adml are not real file [l:24 {12}] "InetRes.adml": "

    Found: {l:32 b:8uqfOni5TmKQ2 + wymJKX9uLDOmUV2H1RKpYV3gacaRw =} expected: {l:32 = b:f2Ca02GHu2Yr3ccXiLvfpdfLkfeeDX2UExmZb6pQm2U}

    2012-10-09 22:13:44, info CSI 00000281 [SR] repair file corrupted [ml:520 {260}, l:76 {38}] '------? \C:\Windows\PolicyDefinitions\en-us"\[l:24{12}]"InetRes.adml' of the store

    2012-10-09 22:13:44, info CSI 00000282 WARNING: file [l:24 {12}] "InetRes.adml" in [l:76 {38}] '-? ' "" \C:\Windows\PolicyDefinitions\en-us' switching property

    Old: Microsoft-Windows-InetRes - Adm.Resources, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    New: Microsoft-Windows-InetRes - Adm.Resources, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    2012-10-09 22:17:25, 00000306 CSI info [SR] repair corrupted file [ml:520 {260}, l:64 {32}] '------? \C:\windows\policydefinitions"\[l:24{12}]"Inetres.ADMX' of the store

    2012-10-09 22:17:25, info CSI 00000307 WARNING: file [l:24 {12}] "inetres.admx" in [l:64 {32}] '-? ' "" \C:\windows\policydefinitions' switching property

    Old: Microsoft-Windows-InetRes-Adm, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    New: Microsoft-Windows-InetRes-Adm, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    2012-10-09 22:17:25, info CSI 00000308 hashes for Member file? \C:\Windows\PolicyDefinitions\en-US\InetRes.adml are not real file [l:24 {12}] "InetRes.adml": "

    Found: {l:32 b:8uqfOni5TmKQ2 + wymJKX9uLDOmUV2H1RKpYV3gacaRw =} expected: {l:32 = b:f2Ca02GHu2Yr3ccXiLvfpdfLkfeeDX2UExmZb6pQm2U}

    2012-10-09 22:17:25, 00000309 CSI info [SR] repair corrupted file [ml:520 {260}, l:76 {38}] '------? \C:\Windows\PolicyDefinitions\en-us"\[l:24{12}]"InetRes.adml' of the store

    2012-10-09 22:17:25, CSI Info 0000030a WARNING: file [l:24 {12}] "InetRes.adml" in [l:76 {38}] '-? ' "" \C:\Windows\PolicyDefinitions\en-us' switching property

    Old: Microsoft-Windows-InetRes - Adm.Resources, Version = 9.1.8112.16421, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    New: Microsoft-Windows-InetRes - Adm.Resources, Version = 8.0.6001.18702, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture = [l:10 {5}] 'en-US', VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral

    2012-10-09 22:17:25, created results CSI 0000030b repair Info:

    POQ 127 ends.
    2012-10-09 22:17:25, all repairs [SR] CSI Info 0000030 c
    2012-10-09 22:17:25, CSI Info 0000030 d [SR] validation of transaction
    2012-10-09 22:17:25, transaction CSI Info 0000030e Creating NT (seq 1), objectname [6] "(null) '"
    2012-10-09 22:17:25, CSI Info 0000030f NT created transaction (seq 1) result 0x00000000, manage @0x14c4
    2012-10-09 22:17:25, Info CSI 00000310@2012/10/10:02:17:25.662 CSI perf trace:
    CSIPERF:TXCOMMIT; 143298
    2012-10-09 22:17:25, Info CSI 00000311 [SR] check and complete repair operation. All of the files and registry keys listed in this operation were repaired successfully

    Hello

    As noted at the end of your message SFC/scannow points out that there is no rest
    questions that he can fix.

    More information on how to easily read the important information as SFC/scannow
    adds to the cbs.log.

    Many files that SFC cannot resolve are not important.

    Start - type in the search box-> find CMD in top - click right on - RUN AS ADMIN

    put the command from below (copy and paste) in this box and her and then press ENTER.

    findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > sfcdetails.txt

    who creates the sfcdetails.txt file in the folder that you are in when you run it.

    So if you're in C:\Windows\System32 > then you will need to look in that folder for the file.

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    in Windows Vista
    http://support.Microsoft.com/kb/928228

    This creates sfcdetails.txt in C:\Windows\System32 find and you can post the errors in a message
    here. NOTE: there are probably duplicates so please only post once each section error.

    You can read the newspaper/txt files easier if you right click on Notepad or Wordpad then RUN AS ADMIN - then
    You can navigate to sfcdetails.txt (in C:\Windows\System32) or cbs.log (in C:\Windows\Logs) as needed.
    (You may need to search sfcdetails.txt if it is not created in the default folders.)

    =======================================================

    Troubleshooting:

    Use the startup clean and other methods to try to determine the cause of and eliminate
    the questions.

    ---------------------------------------------------------------

    What antivirus/antispyware/security products do you have on the machine? Be one you have NEVER
    on this machine, including those you have uninstalled (they leave leftovers behind which can cause
    strange problems).

    ----------------------------------------------------

    Follow these steps:

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program
    generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows Vista
    http://support.Microsoft.com/kb/929135
    How to troubleshoot performance issues in Windows Vista
    http://support.Microsoft.com/kb/950685

    Optimize the performance of Microsoft Windows Vista
    http://support.Microsoft.com/kb/959062
    To see everything that is in charge of startup - wait a few minutes with nothing to do - then right-click
    Taskbar - the Task Manager process - take a look at stored by - Services - this is a quick way
    reference (if you have a small box at the bottom left - show for all users, then check that).

    How to check and change Vista startup programs
    http://www.Vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    A quick check to see that load method 2 is - using MSCONFIG then put a list of
    those here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out which files, key of registry and other objects processes have opened.
    What DLLs they have loaded and more. This exceptionally effective utility will show you even who has
    each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically when you start your system
    and you log in. Autoruns also shows you the full list of registry and file locations where applications can
    Configure auto-start settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor the system files, registry, process, thread and DLL real-time activity.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    -Free - WhatsInStartUP this utility displays the list of all applications that are loaded automatically
    When Windows starts. For each request, the following information is displayed: Type of startup (registry/Startup folder), Command - Line String, the product name, Version of the file, the name of the company;
    Location in the registry or the file system and more. It allows you to easily disable or remove unwanted
    a program that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe not. The window
    Watcher says it all, reporting of any window created by running programs, if the window
    is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp

    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded:

    -Free - DriverView utility displays the list of all device drivers currently loaded on your system.
    For each driver in the list, additional useful information is displayed: load address of the driver,
    Description, version, product name, company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit manufacturer of emergency system and of the manufacturer of the device that are the most common.
    Control Panel - device - Graphics Manager - note the brand and complete model
    your video card - double - tab of the driver - write version information. Now, click on update
    Driver (this can do nothing as MS is far behind the certification of drivers) - then right-click.
    Uninstall - REBOOT it will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard if 3rd party
    with their own software and drivers and all other main drivers that you have.

    Now in the system manufacturer (Dell, HP, Toshiba as examples) site (in a restaurant), peripheral
    Site of the manufacturer (Realtek, Intel, Nvidia, ATI, for example) and get their latest versions. (Look for
    BIOS, Chipset and software updates on the site of the manufacturer of the system here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN - REBOOT after
    each installation.

    Always check in the Device Manager - drivers tab to be sure the version you actually install
    presents itself. This is because some restore drivers before the most recent is installed (sound card drivers
    in particular that) so to install a driver - reboot - check that it is installed and repeat as
    necessary.

    Repeat to the manufacturers - BTW in the DO NOT RUN THEIR SCANNER device - check
    manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    If you update the drivers manually, then it's a good idea to disable the facilities of driver under Windows
    Updates, that leaves about Windows updates but it will not install the drivers that will be generally
    older and cause problems. If updates offers a new driver and then HIDE it (right click on it), then
    get new manually if you wish.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ===========================================

    Refer to these discussions because many more excellent advice however don't forget to check your antivirus
    programs, the main drivers and BIOS update and also solve the problems with the cleanboot method
    first.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • RunDLL__Error C:\windows\system32\sshnas.dll___The loading process cannot access the file because it is being used by another process.

    When I start windows Vista, I get the error message:

    RunDLL
    Error loading C:\windows\system32\sshnas.dll

    The process cannot access the file because it is being used by another process.

    How can I fix?

    Hello

    It is the result of malware, then do a very thorough check and when the system is
    clean see the following message to remove this error.

    If you need search malware here's my recommendations - they will allow you to
    scrutiny and the withdrawal without ending up with a load of spyware programs running
    resident who can cause as many questions as the malware and may be more difficult to detect as the
    cause.

    No one program cannot be used to detect and remove any malware. Added that often easy
    to detect malicious software often comes with a much harder to detect and remove the payload. Then
    its best to be thorough than paying the high price later now too. Check with them to one
    extreme overkill point and then run the cleaning only when you are sure that the system is clean.

    It can be made repeatedly in Mode safe - F8 tap that you start, however, you must also run
    the regular windows when you can.

    Download malwarebytes and scan with it, run MRT and add Prevx to be sure that he is gone.
    (If Rootkits run UnHackMe)

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Malwarebytes - free
    http://www.Malwarebytes.org/products/malwarebytes_free

    Run the malware removal tool from Microsoft

    Start - type in the search box-> find MRT top - right on - click RUN AS ADMIN.

    You should get this tool and its updates via Windows updates - if necessary, you can
    Download it here.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN
    (Then run MRT as shown above.)

    Microsoft Malicious - 32-bit removal tool
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=AD724AE0-E72D-4F54-9AB3-75B8EB148356&displaylang=en

    Microsoft Malicious removal tool - 64 bit
    http://www.Microsoft.com/downloads/details.aspx?FamilyId=585D2BDE-367F-495e-94E7-6349F4EFFC74&displaylang=en

    also install Prevx to be sure that it is all gone.

    Download - SAVE - go to where you put it-right on - click RUN AS ADMIN

    Prevx - Home - free - small, fast, exceptional CLOUD protection, working with others
    security programs. It is a single scanner, VERY EFFICIENT, if it finds something to come back
    here or use Google to see how to remove.
    http://www.prevx.com/   <-->
    http://info.prevx.com/downloadcsi.asp?prevx=Y  <-->

    Choice of PCmag editor - Prevx-
    http://www.PCMag.com/Article2/0, 2817,2346862,00.asp

    Try the demo version of Hitman Pro:

    Hitman Pro is a second scanner reviews, designed to save your computer from malicious software
    (viruses, Trojans, rootkits, etc.). who infected your computer despite safe
    what you have done (such as antivirus, firewall, etc.).
    http://www.SurfRight.nl/en/hitmanpro

    --------------------------------------------------------

    If necessary here are some free online scanners to help the

    http://www.eset.com/onlinescan/

    -----------------------------------

    Original version is now replaced by the Microsoft Safety Scanner
    http://OneCare.live.com/site/en-us/default.htm

    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    ----------------------------------

    http://www.Kaspersky.com/virusscanner

    Other tests free online
    http://www.Google.com/search?hl=en&source=HP&q=antivirus+free+online+scan&AQ=f&OQ=&AQI=G1

    --------------------------------------------------------

    Also follow these steps for the General corruption of cleaning and repair/replace damaged/missing
    system files.

    Run DiskCleanup - start - all programs - Accessories - System Tools - Disk Cleanup

    Start - type this into the search-> find COMMAND to top box and RIGHT CLICK-
    RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Run checkdisk - schedule it to run at the next startup, then apply OK then restart your way.

    How to run the check disk at startup in Vista
    http://www.Vistax64.com/tutorials/67612-check-disk-Chkdsk.html

    -----------------------------------------------------------------------

    If we find Rootkits use this thread and other suggestions. (Run UnHackMe)

    http://social.answers.Microsoft.com/forums/en-us/InternetExplorer/thread/a8f665f0-C793-441A-a5b9-54b7e1e7a5a4/

    I hope this helps.

    Rob - bicycle - Mark Twain said it is good.

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • long log file sync waits

    Hello

    I am trying to improve the performance of a 10.2.0.5 database who is suffering from the high value of the log file sync wait. AWR reports show that it is almost never less than 20% of the time of database, normally it is 20-30%, and it is consistently above not-idle wait event. Many sessions he takes 80-90% of the time or more.

    Log file parallel write is an order of magnitude lower, probably isn't an I/O problem. The database performs about 100 commits per second, the ratio of user-call-to-commit is about 20, again generated 500 k/s, log buffer is big 14 MB. There are about 6-7 journal file switches per hour on average.

    There are several oddities on log file sync wait here and I'd appreciate any help unravel them:

    1) there are almost two file sync wait events in the log by a posting on average (number of parallel expectations of log file is about the same number of validations). Why?
    (2) according to the ASH, nearly half of log file sync waits take near Ms. 97.7 is something special reason for this pic?
    (3) approximately 0.5% of the log file sync waits captured by ASH see the multisecond wait times. No idea where they may come from or how to diagnose this kind of problem?

    Some parts of an AWR report below, please let me know if anything else is needed.

    Best regards
    Nikolai
    Cache Sizes
    ~~~~~~~~~~~                       Begin        End
                                 ---------- ----------
                   Buffer Cache:    44,592M    44,672M  Std Block Size:        16K
               Shared Pool Size:     3,104M     3,024M      Log Buffer:    14,288K
    
    Load Profile
    ~~~~~~~~~~~~                            Per Second       Per Transaction
                                       ---------------       ---------------
                      Redo size:            545,833.77              6,659.29
                  Logical reads:            225,711.23              2,753.73
                  Block changes:              1,788.11                 21.82
                 Physical reads:              1,195.98                 14.59
                Physical writes:                119.02                  1.45
                     User calls:              2,368.64                 28.90
                         Parses:                737.35                  9.00
                    Hard parses:                 94.58                  1.15
                          Sorts:                261.75                  3.19
                         Logons:                  5.93                  0.07
                       Executes:              1,796.12                 21.91
                   Transactions:                 81.97
    
    Top 5 Timed Events                                         Avg %Total
    ~~~~~~~~~~~~~~~~~~                                        wait   Call
    Event                                 Waits    Time (s)   (ms)   Time Wait Class
    ------------------------------ ------------ ----------- ------ ------ ----------
    CPU time                                         23,580          19.8           
    log file sync                       491,840      21,976     45   18.5     Commit
    db file sequential read           1,902,069      12,604      7   10.6   User I/O
    read by other session               743,414       4,159      6    3.5   User I/O
    log file parallel write             220,772       3,069     14    2.6 System I/O
    
              -------------------------------------------------------------       
    
    Instance Activity Stats            ******************
    
    Statistic                                     Total     per Second     per Trans
    -------------------------------- ------------------ -------------- -------------
    Cached Commit SCN referenced                 11,130            3.1           0.0
    Commit SCN cached                                 3            0.0           0.0
    DB time                                  12,547,531        3,483.3          42.5
    DBWR checkpoint buffers written             145,437           40.4           0.5
    DBWR checkpoints                                  6            0.0           0.0
    ...
    IMU CR rollbacks                              2,566            0.7           0.0
    IMU Flushes                                  36,411           10.1           0.1
    IMU Redo allocation size                187,480,124       52,045.3         635.0
    IMU commits                                 255,350           70.9           0.9
    IMU contention                               11,998            3.3           0.0
    IMU ktichg flush                                 11            0.0           0.0
    IMU pool not allocated                        4,295            1.2           0.0
    IMU recursive-transaction flush                 175            0.1           0.0
    IMU undo allocation size              2,029,937,952      563,519.5       6,875.1
    IMU- failed to get a private str              4,295            1.2           0.0
    ...
    background checkpoints completed                  6            0.0           0.0
    background checkpoints started                    6            0.0           0.0
    background timeouts                          11,400            3.2           0.0
    ...
    change write time                             9,398            2.6           0.0
    cleanout - number of ktugct call             54,233           15.1           0.2
    cleanouts and rollbacks - consis              9,436            2.6           0.0
    cleanouts only - consistent read              2,028            0.6           0.0
    ...
    
    Instance Activity Stats            *******************
    
    Statistic                                     Total     per Second     per Trans
    -------------------------------- ------------------ -------------- -------------
    commit batch performed                           61            0.0           0.0
    commit batch requested                           61            0.0           0.0
    commit batch/immediate performed                 94            0.0           0.0
    commit batch/immediate requested                 94            0.0           0.0
    commit cleanout failures: block                  51            0.0           0.0
    commit cleanout failures: buffer                 14            0.0           0.0
    commit cleanout failures: callba              8,632            2.4           0.0
    commit cleanout failures: cannot             10,575            2.9           0.0
    commit cleanouts                            991,186          275.2           3.4
    commit cleanouts successfully co            971,914          269.8           3.3
    commit immediate performed                       33            0.0           0.0
    commit immediate requested                       33            0.0           0.0
    commit txn count during cleanout             61,737           17.1           0.2
    ...
    redo blocks written                       4,078,889        1,132.3          13.8
    redo buffer allocation retries                  177            0.1           0.0
    redo entries                              1,924,106          534.1           6.5
    redo log space requests                         174            0.1           0.0
    redo log space wait time                      2,333            0.7           0.0
    redo ordering marks                           4,553            1.3           0.0
    redo size                             1,966,229,700      545,833.8       6,659.3
    redo subscn max counts                       38,227           10.6           0.1
    redo synch time                           2,233,166          619.9           7.6
    redo synch writes                           352,935           98.0           1.2
    redo wastage                             56,259,980       15,618.0         190.5
    redo write time                             316,495           87.9           1.1
    redo writer latching time                        19            0.0           0.0
    redo writes                                 220,866           61.3           0.8
    rollback changes - undo records                 134            0.0           0.0
    rollbacks only - consistent read             11,242            3.1           0.0
    ...
    
    ...
    transaction rollbacks                            94            0.0           0.0
    transaction tables consistent re                 25            0.0           0.0
    transaction tables consistent re              8,704            2.4           0.0
    undo change vector size               1,176,156,772      326,506.2       3,983.5
    user I/O wait time                        2,039,881          566.3           6.9
    user calls                                8,532,422        2,368.6          28.9
    user commits                                295,139           81.9           1.0
    user rollbacks                                  122            0.0           0.0
    ...
              -------------------------------------------------------------       

    High "log file synchronization" waits arise also when LGWR is unable to get the CPU to republish on the boy that the log write is complete. The boy expected this event until LGWR may be a sign but if LGWR is unable to get the CPU, it is unable to signal quite quickly.

    8 processors for 1 hour is 28 800 seconds. 7 UC is an odd number. This is equivalent to 25 200 seconds available. Your AWR shows that Oracle has represented time seconds 23 580 CPU. So, your server is probably encounter situations where processes are unable to get the CPU.

    You can pin or renice LGWR - but you need to check with Oracle Support if this is doable on your platform or supported.

    What you need to do is to adjust the sessions that make very high logical reads (a simple rule is 10 k blocks per CPU per second and you hit 225 K blocks for 7 processors!) to reduce the logical reads and CPU consumption.
    OR add more CPU.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

    Hemant K Collette

Maybe you are looking for