Files redo log by using the optimal_logfile_size to design view.

Concerning

I have a specific question about the size of the log file. I have deployed a database of test and I was exploring some aspects regarding the selection of the optimal size of recovery for performance logs by using the view v$ instance_recovery optimal_logfile_size. My main goal is necessary for example to reduce the bytes redo recovery. Currently I have not been able to optimize the size of redo log file. Here are the steps I followed: -.

In order to use the view v$ instance_recovery, I had to put the fast_start_mttr_target parameter which is by default do not then I did as follows: -.

(1) SQL > sho parameter fast_start_mttr_target;

VALUE OF TYPE NAME
------------------------------------ --------------------------------- ------------------------------
fast_start_mttr_target integer 0

(2) setting the fast_start_mttr_target requires destroy deferred to the following parameters: -.
SQL > show parameter log_checkpoint;

VALUE OF TYPE NAME
------------------------------------ --------------------------------- ------------------------------
log_checkpoint_interval integer 0
log_checkpoint_timeout around 1800
log_checkpoints_to_alert boolean FALSE

SQL > select ISSES_MODIFIABLE, ISSYS_MODIFIABLE, ISINSTANCE_MODIFIABLE, ISMODIFIED parameter of $ v where name like 'log_checkpoint_timeout;

ISSES_MODIFIABL ISSYS_MODIFIABLE ISINSTANCE_MODI ISMODIFIED
--------------- --------------------------- --------------- ------------------------------
IMMEDIATE FALSE TRUE FALSE

SQL > alter system set log_checkpoint_timeout = 0 scope = both;

Modified system.

SQL > show parameter log_checkpoint_timeout;

VALUE OF TYPE NAME
------------------------------------ --------------------------------- ------------------------------
log_checkpoint_timeout integer 0

(3) setting fast_start_mttr_target now

SQL > select ISSES_MODIFIABLE, ISSYS_MODIFIABLE, ISINSTANCE_MODIFIABLE, ISMODIFIED parameter of $ v where name like 'fast_start_mttr_target;

ISSES_MODIFIABL ISSYS_MODIFIABLE ISINSTANCE_MODI ISMODIFIED
--------------- --------------------------- --------------- ------------------------------
IMMEDIATE FALSE TRUE FALSE

Definition of the fast_mttr_target to 1200 = 20 minutes of the control point of switching on the recommendation of the Oracle

Ask the view v instance_recovery $

(4) SQL > select ACTUAL_REDO_BLKS, TARGET_REDO_BLKS, TARGET_MTTR, ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE, CKPT_BLOCK_WRITES from v$ instance_recovery;

ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
---------------- ---------------- ----------- -------------- -------------------- -----------------
276 165888 * 93 * 59 361 16040

Here target MTTR was 93 so I put the fast_mttr_target to 120

SQL > alter system set fast_start_mttr_target = 120 scope = both;

Modified system.

The size of the log file suggested by v$ instance_recovery is now 290 MB

SQL > select ACTUAL_REDO_BLKS, TARGET_REDO_BLKS, TARGET_MTTR, ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE, CKPT_BLOCK_WRITES from v$ instance_recovery;

ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
---------------- ---------------- ----------- -------------- -------------------- -----------------
59 165888 93 59 290 16080

After you change the size of the logfile to 290 as indicated below by v$ log view;

SQL > select GROUP #, THREAD #, SEQUENCE #, BYTES of the log v$.

GROUP # THREAD # SEQUENCE # BYTES
---------- ---------- ---------- ----------
1 1 24 304087040
2 1 0 304087040
3 1 0 304087040
4 1 0 304087040
(5) after you change the size, I observed the anomaly as redo log blocks to be applied for the recovery went to * $ 59 to 696 * v instance_recovery view is now also now offers the size of the log file of * 276 MB *. Have I misunderstood something

SQL > select ACTUAL_REDO_BLKS, TARGET_REDO_BLKS, TARGET_MTTR, ESTIMATED_MTTR, OPTIMAL_LOGFILE_SIZE, CKPT_BLOCK_WRITES from v$ instance_recovery;

ACTUAL_REDO_BLKS TARGET_REDO_BLKS TARGET_MTTR ESTIMATED_MTTR OPTIMAL_LOGFILE_SIZE CKPT_BLOCK_WRITES
---------------- ---------------- ----------- -------------- -------------------- -----------------
* 696 * 646947 120 59 * 276 * 18474

If please specify the output above, that I'm unable to optimize the size of the log file and have not been able to achieve the goal of reducing the redo log blocks to apply for recovery, any help is appreciated in this regard.

I don't think that test for the optimum size of redo's CTD. Maybe if you did each week, as a regular or something, but the unique initial setup and sometimes check in production? N ° but it will be iterative as part of a deployment of init.ora Exchange.

In addition, it is part of the DBA job to understand the recovery and what to expect. Which includes the understanding of all these parameters, init and tests for the environment. It also includes an understanding of the characteristics of the application and its load.

Tags: Database

Similar Questions

  • Redo log entries to the online redo log files

    Hello

    I'm a little confused about the redo log entries.

    I learned that LGWR writes redo log entries in the SGA, in redo log files in the following situation:

    -3 seconds after the last validation

    -redo log buffer has 1 MB

    -redo log buffer data 1/3

    When I take a transaction and if I change the wrong data, I have to cancel this transaction BUT the right now,

    What happens if the LGWR writes redo log disk entries?

    Is the bad transaction committed at all times?

    2791011 wrote:

    Hello

    I'm a little confused about the redo log entries.

    I learned that LGWR writes redo log entries in the SGA, in redo log files in the following situation:

    -3 seconds after the last validation

    -redo log buffer has 1 MB

    -redo log buffer data 1/3

    When I take a transaction and if I change erroneous data, I have to cancel this transaction at this time, BUT

    What happens if the LGWR writes redo log disk entries?

    Is the bad transaction committed at all times?

    DML changes are "permanent" after that VALIDATION is issued.

    When any COMMIT is issued, then changes can be undone.

  • The application has failed to start because its side-by-side configuration is incorrect. See the application event log or use the command-line sxstrace.exe for more details

    Hello

    I can t open Google Earth or Microsoft Office programs because I get this message - the application could not start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe for more details.

    A few days ago I could open all what programs. I put t know what is the problem.

    I did sxstrace and that's what I have-

    =================
    Launch the activation context generation.
    Input parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US; en
    ManifestPath = C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe
    AssemblyDirectory = C:\Program Files (x 86) \Google\Google Earth\client\
    Application configuration file =
    -----------------
    INFO: File analysis shows C:\Program Files (x 86) \Google\Google Earth\client\googleearth.exe.
    INFO: Manifest definition identity is (null).
    INFO: Reference: Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053"
    INFO: Resolving reference Microsoft.VC80.CRT, processorArchitecture = "x 86" publicKeyToken = "1fc8b3b9a1e18e3b", type = "win32", version = "8.0.50727.4053".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    INFO: No found publisher policy.
    INFO: No redirect political connection is found.
    INFO: Start the detection of assembly.
    INFO: Can't find the assembly in WinSxS.
    NEWS: Try to detect manifest to C:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.4053__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL.
    INFO: Found no manifesto for the neutral culture.
    INFO: End detection of assembly.
    INFO: Resolving reference for ProcessorArchitecture x 86.
    INFO: Resolving reference for the neutral culture.
    INFO: Application binding policy.
    NEWS: Control strategy of the Publisher C:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.5592_none_517247830f45081d.manifest
    INFO: Start the detection of assembly.
    INFO: End detection of assembly.
    ERROR: Activation context generation failed.
    End activation context generation.

    Help, please!

    This type of error can be caused if the Visual C++ library runtime components are missing or because of a third-party software.

    Follow the steps below:
     
    Method 1:
    If the problem is caused by the lack of Visual C++ libraries, you can download and install the Runtime components of Visual C++ libraries from the link below:
     
    This error can occur when the Microsoft .NET Framework installation on the computer is damaged or is missing.

    Try it out below step to reinstall and repair installation of Microsoft .NET Framework on the computer, then check if you can install the software.

    (a) click the Start button, select Control Panel, click programs and then click on 'Turn Windows has or not.' If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    (b) search for Microsoft .NET framework 3.5.1 uncheck, click OK and restart the computer.

    (c) after the reboot, open again "Turn Windows features on or off" and place a check next to Microsoft .NET framework 3.5.1 and restart the computer.

    Step 2

    If the previous step fails, then I suggest that you manually download and install Microsoft Visual C++ 2005 and 2008 Redistributable Package and check to see if you can install the software.

    In programs and features, you do not show that you have installed Microsoft Visual C++ 2005 Redistributable and Microsoft Visual C++ 2008 Redistributable? If this is not the case, download the links here.
     
    Package redistributable Visual C++ 2005 (X 86)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
     
    Visual C++ 2005 (x 64) redistributable package manager
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=eb4ebe2d-33c0-4A47-9dd4-b9a6d7bd44da&displaylang=en

    Package redistributable Microsoft Visual C++ 2008 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en

    Package redistributable Visual C++ 2008 SP1 (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    I hope this helps.

  • WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    «WINDOWS 7 error the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.»

    This cams almost for all the applications that I try to open. I read all kinds of things to solve problems, but I can't install anything because it is constantly on the screen.

    I think it's like that because my computer shuts off when I was doing the system restore, because he has not started.

    I don't know what to do.

    Hello

     
    You can view the event log by using Event Viewer. See the link below for more information about how to use Event Viewer to check the error message or information,
     
    Please check the information in Event Viewer and let us know the problem more briefly for a better solution.
     

    Method 1:
    However, try the SFC (System File Checker) scan on the computer. Check out the following link to do the same thing:
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833
     
    Method 2:
    You try to run the fixit given in the following link and check if it works:
  • I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.

    Original title: automation of file tiff without elevated rights association

    I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.

    Hi, Unclemarcus2002,

    You would be wiser to post on the Forum TechNet where there is COMPUTER experts.

    http://social.technet.Microsoft.com/forums/en-us/newThread

    Maybe using the ASSOC and FTYPE command in a script will do what you want? I think that these orders would also apply the association throughout the world, rather than on a per-user basis.

    ASSOC: http:

    FTPYE: http:

    Here is an example, that you can try.

    Let's say you have a text file called "foo.bar" and you want the extension .bar always open with Notepad. There is an association for text files, so get him by typing "Ftype | more' at the command prompt (it will make a major announcement). Finally, you'll see the line "txtfile". On mine, it's "txtfile=%systemroot%\system32\notepad.exe %1" without the quotes.

    First create your association: assoc .bar = FooBarText

    Now to assign your request to your file type association: ftype FooBarText=%systemroot%\system32\notepad.exe %1

    You should now be able to double-click the foo.bar file and it will automatically open in Notepad.

    If you already have a Microsoft Office Document Imaging association, I think that it should be relatively simple type of substitution. Use ftype /? for a little more help.

    http://community.Spiceworks.com/topic/119639-Windows-7-automate-file-assocations

  • I am trying to rebuild my old iTunes library (hoping to keep notes, play counts, playlists, etc.) on a new laptop of an old PC, even if the only files I have to use the old are the .xml, .itl.

    I am trying to rebuild my old iTunes library (hoping to keep notes, play counts, playlists, etc.) on a new laptop of an old PC, although the only files I have to use the old are the .xml, .itl and current music files. Is this enough information to do it, and if so, how should I do?

    I lost the other information by following the instructions found online of other attempts. I have unfortunately seem to have lost all that concerns my old library with the exception of the foregoing. I have been using an external hard drive to make this attempt. When iTunes opens it is empty, and when you try to import the .xml I only get playlists, although there is nothing inside of them. It would not be the end of the world for me to start all over again, I've not lost music files, but loading in my all of my old info is much, much, much more desirable. Thank you!

    I'm sure that the sides are stored with the file of 80%. (wav mp3/4 whatever)---> or at least the should be!

    Just install itunes.

    Copy the contents of your old folder in the itunes directory and start itunes--> it will do the rest.

    PS...
    However, I wouldn't bother with itunes more... windows media player is pretty cool in 7, does all the same things.

    Personally I stick with the purchase of CD (mp3 downloads are a rip off)

    'Cool' apples, however, is not it... and what would we do without our podcasts (what happened to the embedded html objects I don't know) computer nerd who serves the grannies

  • "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    I have QQ (an international chat program) installed on the laptop. Then my hard drive crashed. Now when I try to reinstall it on my new hard drive I get the following message:

    "Error: the application failed to start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for details" -how can I solve this problem? I have Windows 7.

    Hello

    Thanks for choosing Microsoft Community to post your question.

    It seems that you can not install application QQ, you get an error: "the application could not start because the side by side configuration is incorrect, please see the application event log or use the command-line sxstrace.exe for more details.

    We're here to help and guide you in the right direction. This problem could be caused when the computer is missing the correct C++ run time for your type of system components. (x 86 or x 64).

    Here are a few troubleshooting steps that you can try to solve this problem.

    Method 1: we will install Microsoft Visual C++ for your computer package.

    Note: If you use the 32-bit operating system, download and install 32-bit edition(X86).

    If you use the 64-bit operating system, download and install edition(X64) 64-bit.

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 86)
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en

    Microsoft Visual C++ 2008 SP1 Redistributable Package (x 64)
     http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=BA9257CA-337F-4B40-8C14-157CFDFFEE4E&displaylang=en

    Package redistributable Microsoft Visual C++ 2010 (x 86)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=a7b7a05e-6de6-4D3A-A423-37bf0912db84

    Package redistributable Microsoft Visual C++ 2010 (x 64)

    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=bd512d9e-43c8-4655-81bf-9350143d5867

    Method 2: Run the fixit available at the following link.

    Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall

    Also, check the event log using Event Viewer.

    Please see the link below for more information on how to use Event Viewer to check the error message or information,

    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer

    If you have additional problems, please reply to this post and we will be happy to help you further.

  • I have a document composed of separate PDF files that reside in a folder and are related to each other through hyperlinks. Each pdf file is set to open with bookmarks displayed, however if I have a link to a PDF file to another and use the button "Previou

    I have a document composed of separate PDF files that reside in a folder and are related to each other through hyperlinks. Each pdf file is configurΘ for dΘmarrer with bookmarks displayed, however if I have a link to one PDF file to another and use the "back" button to return to my starting point bookmarks are replaced by "vignette". Is there anyway to prevent this?

    Hi Mike,.

    While the implementation of the links, if you choose to open the file in a new window then you will not experience this issue, then you can simply switch to the file view and previous bookmark will remain as it is.

    Is that what helps with your query?

    Kind regards
    Rahul

  • How to read and write files .exe to soa using the file adapter?

    Hello

    I have a requirement, that I need to read and write files .exe to soa using the file adapter.

    Can someone help me.

    Thanks in advance,

    Divya.

    Hi Vijay,

    I tried with opaque. It works for me.

    Kind regards

    Adkins

  • My pdf reezes when I click on COMMENT. I'm trying to get the tools to edit a pdf file. If I use the tools on the toolbar, there is no problem, but as soon as I click on the COMMENT, the document hangs and I have to open the Task Manager to plant it. It st

    Sorry, I'm new to the type of problem-solving process, and I don't know how to change my first speech. My true statement is less to:

    My pdf freezes when I click on COMMENT. I'm trying to get the tools to edit a pdf file. If I use the tools on the toolbar, there is no problem, but as soon as I click on the COMMENT, the document hangs and I have to open the Task Manager to plant it. It started in the last seven days (3.31.15).

    I responded to your questions below, BUT while I was looking for properties, I found repair service REPAIR the INSTALLATION of ACROBAT, and (this is) the issue has been resolved!

    Thanks for making me look for information.

    Karen

    I use Acrobat Pro XI, version 11.0.10.32.

    I created the file, that I worked in during the freeze, so I tried a PDF I created with Adobe and it also freezes when I click on COMMENT. I discover that the OBSERVATIONS of the plug-in is loaded. (See image

    I used the REVIEW for years without this problem occurring. He started in the last 2 weeks.

    I could not find real estate under the file menu, but found a security setting in the preferences in the Edit menu. It doesn't have a way to allow/disallow COMMENT.

  • To make the first page of the file as a hyperlink using the framemaker API

    How can I make the first page of the file as a hyperlink using the framemaker API?

    This should make the entire page as clickable to open the link on the pdf creation.

    Thank you

    ASHA Rayakar

    Hi Asha,

    If you have managed to make a hypertext link at all, you are on the right track. From your description, it appears you are trying to use an existing text frame to place your marker of hypertext, a block of text that already contains text. If you put a hypertext marker in a paragraph with text, in fact, the only area that is clickable will be this paragraph. There is nothing you can do about it... This is the main behavior of FrameMaker.

    If you put a hypertext marker in a block of text that contains zero text (not even a single space), by default FrameMaker making this whole image map area. So if you try to make a whole page clickable, you will draw a new block of text that covers the entire page and insert the marker of hypertext, without text. You can experiment with this manually in the GUI.

    In your code, you must use the credentials of the members tr.beg.objId and tr.end.objid FO_Pgf. Looks like you might be using variable ID which is incorrect. If you do not have an ID of the variable, you can find the location/range of corresponding text including the FP_TextRange property. This will return the good ID FO_Pgf you need.

    If you are looking for the text block that contains a variable, you can use something like:

    F_TextRangeT tr;

    F_ObjHandleT textFrameId;

    TR = F_ApiGetTextRange (docId, varId, FP_TextRange);

    textFrameId = F_ApiGetId (docId, tr.beg.objId, FP_InTextFrame);

    This help at all?

    Russ

  • How to use the same point of view as read only in the ADF and editable

    Hello

    How to use the same point of view as read only in the ADF and editable? How can we succeed in TF?

    -James

    Hello

    Steven Davelaar wrote a presentation on this 'building highly reusable Taskflows.

    From slide 14, that's where your use case comes into play

    Frank

  • How to use the trial to design adobe? I was successful to install adobe download wizard

    How to use the trial to design adobe? I was successful to install adobe download wizard

    Once Adobe Download Assistant is installed, you can start at any time and choose a product to download at the bottom of the window. Updates list as new products will be available for download with Adobe Download Assistant.

    Please visit: http://helpx.adobe.com/x-productkb/policy-pricing/download-assistant-faq.html#main_How_do _ I_download_a_trial_version_of_Creative_Suite_or_Elements_software_

  • White background behind the text in Design view

    I use DW8 for a few months now, and today he has decided to
    give me a headache. For some reason, all the text in Design view is
    display with a white background - not terribly boring for most of
    the text, but horrible for the text that actually * is * white!

    It is not a problem of css or something like that; in fact, my pages display
    very well outside of DW. Is there a place I can 'reset' the
    creation mode? Mine is broken!

    SHE FOUND!

    Turns, the problem was with some CSS which was intended to set the IE double margin float problem. I had a div style to ' display: inline ' to fix the double margin and makes somehow all the text background noise white... but only in the browser of DW. To resolve this problem, I created a file iehacks.css, put the code in this file and then linked to the file online hack in a