The amount of redo generated per day

Hello
Versions: 10g, 11g
I would like to know the amount of roll FORWARD the database generates a day.
How can - I found this value?
Thank you

Dear Ora600,

Please run under query to find newspaper switches;

SELECT * FROM (
SELECT * FROM (
SELECT   TO_CHAR(FIRST_TIME, 'DD/MM') AS "DAY"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '00', 1, 0)), '999') "00:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '01', 1, 0)), '999') "01:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '02', 1, 0)), '999') "02:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '03', 1, 0)), '999') "03:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '04', 1, 0)), '999') "04:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '05', 1, 0)), '999') "05:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '06', 1, 0)), '999') "06:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '07', 1, 0)), '999') "07:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '08', 1, 0)), '999') "08:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '09', 1, 0)), '999') "09:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '10', 1, 0)), '999') "10:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '11', 1, 0)), '999') "11:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '12', 1, 0)), '999') "12:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '13', 1, 0)), '999') "13:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '14', 1, 0)), '999') "14:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '15', 1, 0)), '999') "15:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '16', 1, 0)), '999') "16:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '17', 1, 0)), '999') "17:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '18', 1, 0)), '999') "18:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '19', 1, 0)), '999') "19:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '20', 1, 0)), '999') "20:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '21', 1, 0)), '999') "21:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '22', 1, 0)), '999') "22:00"
       , TO_NUMBER(SUM(DECODE(TO_CHAR(FIRST_TIME, 'HH24'), '23', 1, 0)), '999') "23:00"
    FROM V$LOG_HISTORY
    WHERE extract(year FROM FIRST_TIME) = extract(year FROM sysdate)
GROUP BY TO_CHAR(FIRST_TIME, 'DD/MM')
) ORDER BY TO_DATE(extract(year FROM sysdate) || DAY, 'YYYY DD/MM') DESC
) WHERE ROWNUM < 8;

Now that you know the switches of newspaper at the time, you should be able to calculate the total amount! You check the size of the groups redolog;

select * from v$log; --> look at the bytes and make your calculation.

Hope that helps.

Ogan

Tags: Database

Similar Questions

  • How to monitor the amount of redo generated

    Hello

    Is there a script to know the amount of redo generated for a period of time.

    Thank you

    Hello

    I think that the script below can help u.

    SELECT start_date,
    Start_Time,
    Num_Logs,
    Round (Num_Logs * (Vl.Bytes / (1024 * 1024)),)
    (2) AS Mo,
    Vdb.NAME AS dbname
    FROM (SELECT To_Char (Vlh.First_Time,
    'YYYY-MM-DD") AS Start_Date,
    To_Char (Vlh.First_Time,
    "HH24"). ': 00' AS the Start_Time value.
    Count(VLH.thread#) Num_Logs
    V $ log_History Vlh
    To_Char (Vlh.First_Time GROUP,
    'YYYY-MM-DD'),
    To_Char (Vlh.First_Time,
    "HH24"). 00') Log_Hist,.
    V$ log Vl.
    V$ database Vdb
    WHERE Vl.Group # = 1
    ORDER OF Log_Hist.Start_Date,
    Log_Hist.Start_Time;

    Kind regards

    Kumar

    [www.idatamax.com]

  • Find the archive logs generated per day (for 7.3.4 database)?

    I use a query like the one below to determine the average amount archives logs generated per day for a database for a month:

    Select sum (GB_USED_PER_DAY) count (GB_USED_PER_DAY) in (SELECT
    To_char(completion_time,'YYYY-mm-DD') completion_date,
    round (SUM (block_size *(blocks+1)) / 1024 / 1024 / 1024, 2) GB_USED_PER_DAY
    V $ archived_log
    WHEN TRUNC (completion_time) BETWEEN
    TRUNC(SYSDATE-30) AND TRUNC (SYSDATE)
    GROUP OF TO_CHAR(completion_time,'YYYY-MM-DD')
    order by 1 desc);

    This query does not work on Oracle 7.3.4 database. Anyone know how I can calculate average archive generation of newspapers per day for Oracle 7.3.4?

    Thanks in advance!

    Select substr(first_time,1,8), round (sum (bytes) /(1024*1024)) MB of v$ log group by substr (first_time, 1, 8);

  • I need a query that selects the amount of records for each day of a table.

    I need a query that selects the amount of records for each day of a table.
    For example, the result would be:

    1 14 date
    Date 2-3

    etc.

    Any ideas?

    Sort:

    SELECT count ([IDCommentaire]), convert (varchar, dateAdded, 112)

    OF COMMENTSgroup by convert (varchar, dateAdded, 112)

  • Request to see the amount of switches archive by day

    Hello

    I want to archive a request to see the amount of switches per day.

    Example:

    Date and amount
    2009-01-17 40
    2009-01-18 33
    2009-01-19 45
    ....
    ....
    .....
    ......



    Thank you

    Select trunc (first_time), count (*) from V_$ LOG_HISTORY group by order of trunc (first_time) of 1.

  • How can I limit the total number of hours per day, that my child may be on the computer?

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows 7

    Additional details
    How can I limit the total time per day my kind that can be on the computer? I see only menu in which I can determine which hours of the day, they are allowed to access. Concerning the lower self, for example him limit total daily in any hours 1 hour.

    Hello

    The feature of time safely of the family has changed recently. For more information, please see this sticky post:

    How to work the allocation of time and curfew? 

    You can also consult this thread. It has information on how parental control has changed and how to put in place.

    Thank you!

  • Tier 1 error - please set the time implementat full equivalent hours per day

    Hi all

    When you define the Structure of work plan allow the oracle projects, I get the below error

    Tier 1 error - please configure the implementation option full-time equivalent hours per day before activating the Structure of work plan.

    Invite can you share and doc or guide where can I set this option of implementation

    Thanks in advance

    Hello

    Go to projects > Setup > system > implementation Options

    There is a tab named - staffing
    On this form, you must enter the hours full time equivalents - per day and per week.

    Dina

  • Snapshots per day

    How can I change one at the time of say 6 per day?

    I found it under the fixed hours.

  • Best way to generate a record per day from a table with the dates of the FEP/exp

    Hello

    A table equipped with various attributes and a date of eff and exp. for example Attributeto, 05/01/2012, 16/05/2012

    We want to create another table in this table for a record per day. for example 16 documents.

    What is the best way to achieve this in OWB?

    Thank you

    Assuming that you have a calendar table, then you can reach your rate table corresponding to the date table schedule between the table rates start date and end date.

    Something like:

    Select a.rate, rate_table b., calendar_table b.
    where b. between a.start_date and a.end_date

    should translate easily into a join of two tables in OWB?

    Concerning
    User909022

  • The amount of data is generated in continuous mode?

    I'm trying to implement a measure of voltage using a card PCI-6071E. I looked at some of the samples (ContAcqVoltageSamples_IntClk_ToFile) that uses the AnalogMultiChannelReader to collect the data asynchronously and write to a file. My question is, if I do 2000 samples per second with 200 samples per channel, the amount of data will be generated? By using compression really will make a big difference in how much data I have to deal with that? I want to graph data 'real time' in certain circumstances, but usually save the file for post processing by another application. My tests can be run for several minutes. I looked at the things given compressed, and I didn't understand how I could read the data back and understand what data are intended to what channels and the amount of data belongs to each channel and each time slice. Thank you

    How many channels are you reading from?  Samples per second, is what will tell you the amount of data that you produce.  Multiply this number by the number of channels and you will get the total number of samples per second of the generated data.  (The samples per channel determines just the size of buffer in continuous acquisition, so it is not used to determine the total amount of data being generated.)  Each sample will be 2 bytes, so the total amount of data will be 2 * 2000 * number of channels * number of seconds during which your test runs for. From your description, it sounds not compression is really necessary; just save your files regardless the other format your program can read (text delimited by tabs, or any other common format files) and do not worry about compression, unless the size of your files become prohibitive.

    -Christina

  • How to count the log generated per hour?

    Hi all

    11.2.0.1

    AIX 6.1

    / / DESC v$ archived_log

    Name of Type Null

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

    NUMBER OF RECID

    NUMBER STAMP

    NAME VARCHAR2 (257)

    NUMBER OF DEST_ID

    THREAD NUMBER #

    SEQUENCE NUMBER #.

    RESETLOGS_CHANGE # NUMBER

    DATE OF RESETLOGS_TIME

    NUMBER OF RESETLOGS_ID

    FIRST_CHANGE # NUMBER

    FIRST_TIME DATE

    NEXT_CHANGE # NUMBER

    DATE OF NEXT_TIME

    NUMBER OF BLOCKS

    NUMBER OF BLOCK_SIZE

    CREATOR VARCHAR2 (7)

    VARCHAR2 REGISTRATION OFFICE (7)

    STANDBY_DEST VARCHAR2 (3)

    ARCHIVED VARCHAR2 (3)

    VARCHAR2 (9) APPLIED

    DELETED VARCHAR2 (3)

    STATUS VARCHAR2 (1)

    DATE COMPLETION_TIME

    DICTIONARY_BEGIN VARCHAR2 (3)

    DICTIONARY_END VARCHAR2 (3)

    END_OF_REDO VARCHAR2 (3)

    NUMBER OF BACKUP_COUNT

    ARCHIVAL_THREAD # NUMBER

    NUMBER OF ACTIVATION #.

    IS_RECOVERY_DEST_FILE VARCHAR2 (3)

    COMPRESSED VARCHAR2 (3)

    FAL VARCHAR2 (3)

    END_OF_REDO_TYPE VARCHAR2 (10)

    BACKED_BY_VSS VARCHAR2 (3)

    Can you help me to ask how achivelogs or redologs generated per hour based on the table above?

    I would point out to my boss why we have days where the database is slow. I'll give you the comparison that this slow day have many updates of the transaction.

    Assuming our application not investigated.

    Thank you very much

    pK

    Comments by AWR:

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

    'Library Cache lock' activity for 21st.

    1 / the SQL - pct Miss AREA is 59%, which is too high and 5395 SQL queries are reloaded.

    It seems that the size of the SGA is not adequate during the period when no connections are higher and treatment more important workload are the busiest spend in the system.

    2 / in 'Statistical model time' - it says - the analysis of the time 411 seconds and time of analysis 315 seconds for an hour

    3 / some queries are intended to COMPLETE analysis and directly reading 15 is 737 GB while the 21st, it is 399 GB and have an impact on the i/o subsystem.

    Long table scan: 6566 for 1 hour and 1.82/s

    highlights of table short: 14388 for 1 hour and 40/sec

    These numbers are too high.

    Given all this, the best approach would be:

    First change:

    =========

    1 / increase memory_target = / 3 GB (current size is 2 GB) - this should be the first test to see how Miss MDT performs and analysis is underway. PCT Miss should be close to zero.

    Next change:

    =========

    2 / need to understand more about FULL scan queries that may be matter of statistics. Collect statistics with auto sampling: it is recommended that oracle. Do not use any size collection of samples 100% or any other to collect enough stats or not. If it is the product of the seller, reaching out from the seller to understand if they have a recommended approach to collect statistics,

    Even if the problem persists, Identify top queries to minimize the load on the i/o subsystem. Remember that no matter what shouldn't OLTP system work best when FULL analysis happens and is reading 737 GB of data during the period of 1 hour and that could saturate the IO subsystem and slow down the processing.

    Above try steps one at a time to see if the change is a positive change of the application.

    Thank you

  • Keeping the Apple TV is connected using 40 GB per day

    If my Apple TV is plugged into a wall outlet, it will use about 40 gigabytes of data on my internet only plan ATT U-verse a day.  The TV is not on except maybe an hour or two a day, and even in this case not necessarily Watch Apple TV.  ATT cannot explain why this happens; I hope someone on this forum can recommend a solution.

    There am iPad and based on Windows of PC by using the connection to ATT U-Verse in addition to the Apple TV, but in each having died in turn, it is clear that the 40 GB per day use is leaving Apple TV plugged into the wall outlet.

    It's very strange. Please identify your version of the ATC, see identify your Apple TV - Apple Support model.

    ATV sleeps when not in service, or it is still on?

    Try turning off automatic updates for the system and applications (if 4 ATV) and the screen saver set to None. If that stops the flow, then activate them one at a time, to identify the culprit.

    Through rhe, do you mean gigabits / 40 or 40 gigabytes?

  • write a binary file per day / / show the minute samples of 1 in 1

    Well guys, I know how to write a binary file...

    u run your program... Put the name you want the binary and writes...

    but now I have to write a binary file per day... How can I do?

    I do a follow-up on the tension and current... and I want to write the RMS of each day

    2009-09-09, 09/10/2009, 11/09/2009

    can someone help me with this?

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

    Another issue is that, in this program I monitors 3 voltages and currents 3 all the time... and show it to a customer via TCP/IP

    I want to know... How can I show this... every hour or every minute...

    I have 3600 samples per second... so I need like integrate and show every minute media... or second... or time... not ALL THE TIME... the value changes so fast that I can still see this... put a (ms) waiting work... but I need see the tensions and current than in a time like 1 of 10 in 10 minutes or 1 minute...... How can I do?

    Thank you guys!

    I'll download the vi and sub - vi so that you can better see what I'm talking about!


  • I've set up a new account of emal that the original has been hacked. I want to inform all my contacts the new email. Hotmail only allows me to send 9 emails per day until I verify my account.

    I've set up a new account of emal that the original has been hacked.  I want to inform all my contacts the new email.  Hotmail only allows me to send 9 emails per day until I verify my account.  Box for this constantly, says 'problems', try again in a few minutes.  This lasted for more than 12 hours!

    How to check my e-mail account so that you can send to all my contacts at once and send emails to more than 9 per day.

    Thank you.

    Hello

    Answers is a peer group supported and unfortunately has no real influence on Hotmail.

    HotMail has its own Forums, so you can ask your questions there.

    Windows Live Solution Center - HotMail - HotMail Forums Solutions
    http://windowslivehelp.com/

    Hotmail - Forums
    http://windowslivehelp.com/forums.aspx?ProductID=1

    Hotmail - Solutions
    http://windowslivehelp.com/solutions.aspx?ProductID=1

    How to contact Windows Live Hotmail Support
    http://email.about.com/od/hotmailtips/Qt/et_hotmail_supp.htm

    Windows Live Hotmail Top issues and Support information
    http://support.Microsoft.com/kb/316659/en-us

    Error message "your account has been locked" when trying to connect
    http://windowslivehelp.com/thread.aspx?ThreadId=77be7d82-a0e9-49c7-b46d-040ec654a9e2

    Compromised account - access unauthorized account - how to recover your account
    http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41

    Hotmail hacked? Take these steps
    http://blogs.msdn.com/b/securitytipstalk/archive/2010/07/07/Hotmail-hacked-take-these-steps.aspx

    I hope this helps.

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

  • I send only less than 10 emails per day on my pc at home. 80% of the time, emails cannot be sent because the server of hotmail says that he is busy and to try again later.

    80% of the time, emails can be sent?

    I send only less than 10 emails per day on my pc at home. 80% of the time, emails cannot be sent because the server of hotmail says that he is busy and to try again later. It is even difficult to register the email project, the system responds that the server is busy.

    Hello Charles MEdgar,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

Maybe you are looking for

  • Satellite 5200 701: I can't use the TV-out more.

    HelloThis is my first post on this forum. I have a Satellite 5200 701 for 3 years now. I can't watch movies on my TV. I could use this function in the past. Last November, I formatted my laptop with CD from Toshiba. As I didn't have a TV, I tried not

  • Key Windows Win7 on my Satellite L500 is not readable

    Hello the first excuse my bad English, please. :) I bought my L500-208 years ago with Windows7 64 bit.My activation key is more completely on the bottom, but its not really readable. I've always had the Bill includes Bill of the license key (Windows7

  • No audio with videos not transferred from the phone on PC

    My son, I use my phone to video with all its "firsts". (He is 15 months old) I recorded his first steps, dance to the songs, etc. on my phone and you want to share with others! However, when I transfer my videos to my computer using the options of sh

  • Programs open to showing only top left of the screen and some programs are huge

    origin: headache Visual, even to post this question I have a dell dimension 3000Win XP SP3 I have a problem with my video in general: everything happens in my screen showing that only the upper left corner of the screen when I open my browser and com

  • space car

    Is it possible to turn off the auto space after selecting a predicted Word? It is mega boring!