How to pre calculate archive logging?
Hello,
We try to initialize a BI workflow load which fills the table BPMWITSTP. The extractor uses insert and update statements. The table looks like this:
MANDT CLNT 3 0 Mandant
SWW_WIID NUMC 12 0 Workitem-ID
SWFRMETS DEC 21 7 Workflow: timestamp methode-einde
Our Q&A machine runs ora 10.2.0.2.0 on Solaris. Our hardware hosting party created a ZFS unix mount for the archlog with a fixed size of 25GB. the log files are written into this directory and eventually are written on tier 4 storage (tapes) when the directory is almost full.
When I start the extractor, the table gets filled so is the archlog. After about 30min the ZFS mount is full and oracles crashes caused by the limited space of the mount (no archlog could be written because the tape backup run was too slow).
I do understand the problem with the archlog (no space available) but what i dont understand is how the extractor generates 25gb of logging with simple inserts into this tiny table? We dont have the problem with other extractors which generates a lot more data (setup table for 2LIS eg)
I might be able to get our hosting party to increase the ZFS mount size but first I have to know how much archlogging will be created.
Is there even a way to pre calculate the size of the logging created by an insert statement?
Kind regards,
Edited by: Matthias Gamsjager on Nov 24, 2009 9:43 AM
Edited by: Matthias Gamsjager on Nov 24, 2009 9:51 AM
Edited by: Matthias Gamsjager on Nov 24, 2009 9:52 AM
Hi,
1st: 25 Gbyte for archiving isn't much.
On a productive system it should be several hundreds of Gbytes .
How big are your online redo logs? Check recommendations by SAP
2nd:
if we have a system were your INSERT process is mostly contributing to your workload we could roughly estimate the amount needed redo logs (be aware that a lot of other things can cause archiving to log files, so I would recommend to check
what else is going on).
What is going into the Archived logs is the redo infomation of your INSERT statement:
"INSERT (MANDT, SWW_WIID,SWFRMETS ) INTO BPMWITSTP values ( .... )"
What you should check also is this excessive amount of INSERTS going into the table.
The query below shows you the amount of Archived log space in GBYTE for a time intervall.
You could correlate that from the number of inserts done to inserts expected and have a rough estimate
(add to this 30% GBYTES more as a safety buffer).
select to_char(min(completion_time),'HH24:MI:SS DD.MM.YYYY')
comptimeMin,
to_char(max(completion_time),'HH24:MI:SS DD.MM.YYYY')
comptimeMax,
count(recid) ArchNo,
round(( max(completion_time) - min(completion_time) ) * 24 * 60 ,2)
log_switch_comp_timelag,
round((( max(completion_time) - min(completion_time) ) * 24 * 60),2) /
count(recid) log_switch_minutes,
round(sum(blocks * block_size) /1024/1024/1024 ,2) GBRedo
from
V$ARCHIVED_LOG
where completion_time between
to_date('24.11.2009 00:00:09','DD.MM.YYYY HH24:MI:SS' ) and
to_date('24.11.2009 23:59:59','DD.MM.YYYY HH24:MI:SS' )
bye
yk
Similar Messages
-
*HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY*
HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY
I have set the RMAN CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY; on my physical standby server.
My archivelog files are not deleted on standby.
I have set the CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default on the Primary server.
I've checked the archivelogs with the FRA and they are not beign deleted on the STANDBY. Do I have to do something for the configuation to take effect? Like run a RMAN backup?
I've done a lot ofresearch and i'm getting mixed answers. Please help. Thanks in advanced.
JSetting the Policy will not delete the Archive logs on the Standby. ( I found a thread where the Data Guard product manager says "The deletion policy on both sides will do what you want" ). However I still
like to clean them off with RMAN.
I would use RMAN to delete them so that it can use that Policy are you are protected in case of Gap, transport issue etc.
There are many ways to do this. You can simply run RMAN and have it clean out the Archive.
Example :
#!/bin/bash
# Name: db_rman_arch_standby.sh
# Purpose: Database rman backup
# Usage : db_rman_arch_standby <DBNAME>
if [ "$1" ]
then DBNAME=$1
else
echo "basename $0 : Syntax error : use . db_rman_full <DBNAME> "
exit 1
fi
. /u01/app/oracle/dba_tool/env/${DBNAME}.env
echo ${DBNAME}
MAILHEADER="Archive_cleanup_on_STANDBY_${DBNAME}"
echo "Starting RMAN..."
$ORACLE_HOME/bin/rman target / catalog <user>/<password>@<catalog> << EOF
delete noprompt ARCHIVELOG UNTIL TIME 'SYSDATE-8';
exit
EOF
echo `date`
echo
echo 'End of archive cleanup on STANDBY'
mailx -s ${MAILHEADER} $MAILTO < /tmp/rmandbarchstandby.out
# End of ScriptThis uses ( calls an ENV) so the crontab has an environment.
Example ( STANDBY.env )
ORACLE_BASE=/u01/app/oracle
ULIMIT=unlimited
ORACLE_SID=STANDBY
ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
LIBPATH=$LD_LIBRARY_PATH:/usr/lib
TNS_ADMIN=$ORACLE_HOME/network/admin
PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
#export TERM=linux=80x25 wrong wrong wrong wrong wrong
export TERM=vt100
export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
export ORACLE_HOME
export LIBPATH LD_LIBRARY_PATH ORA_NLS33
export TNS_ADMIN
export PATH
export MAILTO=?? your email hereNote use the env command in Unix to get you settings.
There are probably ten other/better ways to do this, but this works.
other options ( you decide )
Configure RMAN to purge archivelogs after applied on standby [ID 728053.1]
http://www.oracle.com/technetwork/database/features/availability/rman-dataguard-10g-wp-1-129486.pdf
Maintenance Of Archivelogs On Standby Databases [ID 464668.1]
Tip I don't care myself but in some of the other forums people seem to mind if you use all caps in the subject. They say it shouting. My take is if somebody is shouting at me I'm probably going to just move away.
Best Regards
mseberg
Edited by: mseberg on May 8, 2012 11:53 AM
Edited by: mseberg on May 8, 2012 11:56 AM -
How to set no archive log in MS SQL
Dear Gurus,
I'll already did the support package upgrade and need to run the SGEN.But before that I'll need to set the archive log in MS SQL 2005 database.
Kindly please help me,how to set "no archive log " in MS SQL .Then I can run the SGEN.After that how to revert back to "enable archive log mode".
All the posting told about the archive log with Oracle.
Thanks
/ShahHi Shah,
In MS SQL Server, Transaction log is used to write log files.
For eg., Intially if you allocate 10GB to the Tr.Log and can set the limit based on your requirement, say as 11GB. It means it wont grow beyond the point 11GB.
If you take a transactional log backup, the data present in the 10GB file is freed up, but the size of the file would remain same.
This can be truncated by shrinking the log file.
1. Open SQL Mgmt studio.
2. Right click on the DB(SID)> Tasks>Shrink-->Files.
3. Choose "Log" in the file type and "Log File Name" in the Filename column.
4. Shrink Action should be "Release Unused Space"
5. Then Click Ok. The unused space will be released.
The Transaction log can be switched off by changing the Recovery Model to "SIMPLE"
1. Click on the DB(SID)
2. Properties>Options>Recovery Model.
3. If the recovery model is set to Simple, the Transaction log wont be written.
Hope this would help you. Revert for any other clarification.
Regards,
Kamesh -
How to disable the archive logs in SAP IDES(Windows) using SQL Server
can any body tell us How to disable the archive logs in SAP IDES(Windows 2003) using SQL Server 2000.SP4.?
Hi,
Unfortunately, SQL Server does not have the option to turn off transaction logging. You can set the recovery mode to SIMPLE, instead of FULL. This will result in the transaction log being truncated on checkpoint.
http://support.microsoft.com/kb/873235 - check this microsoft article
This will help in reduction of the size of the transcation log.
- Regards, Dibya -
How to determine which archive logs are needed in flashback.
Hi,
Let's assume I have archive logs 1,2,3,4, then a "backup database plus archivelogs" in RMAN, and then archive logs 5+6. If I want to flashback my database to a point immediately after the backup, how do I determine which archive logs are needed?
I would assume I'd only need archive logs 5 and/or 6 since I did a full backup plus archivelogs and the database would have been checkpointed at that time. I'd also assume archive logs 1,2,3,4 would be obsolete as they would have been flushed to the datafiles in the checkpoint.
Are my assumptions correct? If not what queries can I run to determine what files are needed for a flashback using the latest checkpointed datafiles?
Thanks.Thanks for the explanation, let me be more specific with my problem.
I am trying to do a flashback on a failed primary database, the only reason why I want to do a flashback is because dataguard uses the flashback command to try and synchronize the failed database. Specifically dataguard is trying to run:
FLASHBACK DATABASE TO SCN 865984
But it fails, if I run it manually then I get:
SQL> FLASHBACK DATABASE TO SCN 865984;
FLASHBACK DATABASE TO SCN 865984
ERROR at line 1:
ORA-38754: FLASHBACK DATABASE not started; required redo log is not available
ORA-38761: redo log sequence 5 in thread 1, incarnation 3 could not be accessed
Looking at the last checkpoint I see:
CHECKPOINT_CHANGE#
865857
Also looking at the archive logs:
RECID STAMP THREAD# SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS
25 766838550 1 1 863888 10-NOV-11 863892 863888 10-NOV-11
26 766838867 1 2 863892 10-NOV-11 864133 863888 10-NOV-11
27 766839225 1 3 864133 10-NOV-11 864289 863888 10-NOV-11
28 766839340 1 4 864289 10-NOV-11 864336 863888 10-NOV-11
29 766840698 1 5 864336 10-NOV-11 865640 863888 10-NOV-11
30 766841128 1 6 865640 10-NOV-11 865833 863888 10-NOV-11
31 766841168 1 7 865833 10-NOV-11 865857 863888 10-NOV-11
How can I determine what archive logs are needed by a flashback command? I deleted any archive logs with a SCN less than the checkpoint #, I can restore them from backup but I am trying to figure out how to query what is required for a flashback. Maybe this coincides with the point that flashbacks have nothing to do with the backups of datafiles or the checkpoints? -
How to delete old archived logs
hai i am running oracle 9i in archive log mode
my disk is about 90% full
pls tell me how to delete archive logs that are very olderHi Rajeskm,
First of all, archives should not be deleted, depending your backup policie, you can need them in a recovery. But if you want delete them, do:
find <log_archive_dest>/ -name *.rdo (or extention used by you) mtime +<days ago> -exec rm{}\
Explanation:
Find -- The first, and most obvious, use is find's ability to locate old, big, or unused files, or files that you forgot where they are.
mtime -- The mtime--modify time--is the time when the actual contents of a file was last modified. This is the time displayed in a long directoring listing (ls -l).
rm -- Deletes a file without confirmation (by default).
Regards,
Jonathan Ferreira - Brazil
http://www.ebs11i.com.br -
How to delete the archive logs.
Hi,
I need to delete the archive logs in standby database which has been generated after created the restore point.
SEQUENCE# APPLIED
17 YES
18 YES
1 NO
2 NO
19 YES
18 YES
21 YES
22 YES
20 YES
23 YES
24 YES
sequence 1,2 has been generated after created the restore point,how can i remove sequence# 1 and 2 from the v$archived_log;
ways i have tried
1.dropped the restore point during that time only the flashback logs has been deleted not the archive log
2.manually tried from rman ,but i was not working.
please help me out....
***points are waiting for you guys****Hi,
I need to delete the archive logs in standby database which has been generated after created the restore point.
SEQUENCE# APPLIED
17 YES
18 YES
1 NO
2 NO
19 YES
18 YES
21 YES
22 YES
20 YES
23 YES
24 YES
sequence 1,2 has been generated after created the restore point,how can i remove sequence# 1 and 2 from the v$archived_log;
ways i have tried
1.dropped the restore point during that time only the flashback logs has been deleted not the archive log
2.manually tried from rman ,but i was not working.
please help me out....
***points are waiting for you guys**** -
How to backup the archived log after a crosscheck .
Hi all,
Here is the scenario:
My archive area got full, I moved some archived logs to another destination. My main script to backup archive log raised a error informing that some files were missing, so I issued a crosscheck archivelog all command.
I realized that I did something insane and is there any way to fix it? I mean, how could I backup the missed sequence? Because I'll need to send them to a tape and also register the files in the RMAN's catalog.
Regards and thanks in advance,
Emersonuser11983913 wrote:
Hi all,
Here is the scenario:
My archive area got full, I moved some archived logs to another destination. My main script to backup archive log raised a error informing that some files were missing, so I issued a crosscheck archivelog all command.
I realized that I did something insane and is there any way to fix it? I mean, how could I backup the missed sequence? Because I'll need to send them to a tape and also register the files in the RMAN's catalog.
Regards and thanks in advance,
EmersonHi Emerson
Use the following command to register moved archived redo logs to RMAN repository
CATALOG ARCHIVELOG ''; -
How can we delete archive log files from OEM
Hi,
I took backup of the archive log file and deleted it at OS level but in it is not reflecting in the EM can any one tell me how to delete archive log files from OEM.
any help will be appreciated.
Regards,
AshrafThis link?
http://download-west.oracle.com/docs/cd/B10501_01/em.920/a96670/ch_backp.htm#26936 -
How do i delete archive log files manually?
My db is running in oracle 10.2.0.4. somehow, the RMAN command is not deleting archived backup files. I need to delete those files manually at os level. how do i find till which archivelog files are backed up through RMAN?
RMAN> connect target
connected to target database: INVENT (DBID=1001824944)
using target database control file instead of recovery catalog
RMAN> show all;
RMAN configuration parameters are:
CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/ora/app/oracle/product/10.2.0/db_1/dbs/snapcf_INVENT.f'; # default
RMAN>
Here is the commands....
connect target;
run
allocate channel t1 device type disk format /target/ret/%U';
set command id to 'L0 Backup';
delete noprompt obsolete;
backup incremental level 0 as compressed backupset database;
release channel t1;
connect target;
run
allocate channel t1 device type disk format /target/ret/%U';
set command id to 'L1 Backup';
delete noprompt obsolete;
backup incremental level 1 as compressed backupset database;
release channel t1;
} -
HOW TO: create NFS Archive log mount that runs parrallel
I would like to know if there is a way i can create an NFS mount that would run parallel Archiving and not stop if NFS mount is stale. If possible then how to create or configure?
Any and all help would be appreciated!
Edited by: 886101 on Sep 19, 2011 8:45 AMOn the server, edit the file <tt>/etc/exports</tt> to list the directories you
want NFS to offer, and to which systems they should be offered:
/u01 *(rw,sync,no_root_squash)
/u02 *(rw,sync,no_root_squash)
/u03 *(rw,sync,no_root_squash)The <tt>*</tt> matches any system/network and the <tt>(rw)</tt> says let the
other systems read and write the tree, the <tt>sync</tt> forces the server NFS
to finish the I/O before telling the clients the I/O is done, and the optional
<tt>no_root_squash</tt> lets root on a client system access the files as if
they were root on the NFS server; this may not be what you want.
# /sbin/chkconfig nfs on
# /sbin/service nfs startOn the NFS client, edit the <tt>/etc/fstab</tt> file to have lines that look
like this:
myserver:/u01 /u01 nfs rw,rsize=32768,wsize=32768,sync,nointr,hard 0 0
myserver:/u02 /u02 nfs rw,rsize=32768,wsize=32768,sync,nointr,hard 0 0
myserver:/u03 /u03 nfs rw,rsize=32768,wsize=32768,sync,nointr,hard 0 0and then from the client make sure you can see the offered files:
# /usr/sbin/showmount -e myserverand if you can, do this on the client:
# mkdir /u01 /u02 /u03
# mount /u01
# mount /u02
# mount /u03If the clients ever reboot, the NFS files will be mounted automatically and you
will not need these last 3 commands.
The RDBMS has its own requirements for the options in the <tt>/etc/fstab</tt>
entry, so the <tt>rw,rsize=...</tt> example may need to be adjusted a little.
Happy NFS'ing. -
How to remove archive log files using Enterprise Manger
Hi,
I took backup of the archive log files and i deleted those files at OS level but it is not reflecting in the Enterprise Manager it is showing the same. Can any one help in how to delete the archive log files by using Enterprise Manger.
version 10.2.0.1.0
any help is appreciated.
Regards,
AshrafI have the same problem. I have 10gr1 and 10gr2 on different servers. On 10gr1, under administration/manage current backup/image, I can see archivelog files, and can mange them. But on 10gr2, the image doesn't show archivelog files. I can only remove them using rman. I wonder if it's because the different design on 10gr2 or I missed something when setup the backup?
-
How to delete archive log file
hii,
presently i am working on oracle 10gR2 on windows server 2003.
hard disk drive is almost full.
when i execute this command
"DELETE EXPIRED ARCHIVE LOG ALL";
it give message
"specifies does not match any archive log in the recovery catalog"
how can i delete archive log files ??
Regards
Vaibhav Dixitthese are the list
RMAN> list archivelog all;
List of Archived Log Copies
Key Thrd Seq S Low Time Name
696 1 341 A 25-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_341_758982530.ARC
698 1 342 A 26-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_342_758982530.ARC
700 1 343 A 26-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_343_758982530.ARC
702 1 344 A 26-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_344_758982530.ARC
704 1 345 A 26-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_345_758982530.ARC
705 1 346 A 26-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_346_758982530.ARC
708 1 347 A 26-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_347_758982530.ARC
710 1 348 A 27-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_348_758982530.ARC
712 1 349 A 27-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_349_758982530.ARC
714 1 350 A 27-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_350_758982530.ARC
716 1 351 A 28-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_351_758982530.ARC
719 1 352 A 28-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_352_758982530.ARC
720 1 353 A 28-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_353_758982530.ARC
721 1 354 A 28-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_354_758982530.ARC
722 1 355 A 28-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_355_758982530.ARC
727 1 356 A 29-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_356_758982530.ARC
728 1 357 A 29-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_357_758982530.ARC
730 1 358 A 29-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_358_758982530.ARC
732 1 359 A 29-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_359_758982530.ARC
734 1 360 A 29-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_360_758982530.ARC
736 1 361 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_361_758982530.ARC
738 1 362 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_362_758982530.ARC
740 1 363 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_363_758982530.ARC
741 1 364 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_364_758982530.ARC
742 1 365 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_365_758982530.ARC
743 1 366 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_366_758982530.ARC
744 1 367 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_367_758982530.ARC
745 1 368 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_368_758982530.ARC
746 1 369 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_369_758982530.ARC
753 1 370 A 30-NOV-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_370_758982530.ARC
756 1 371 A 01-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_371_758982530.ARC
758 1 372 A 01-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_372_758982530.ARC
759 1 373 A 01-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_373_758982530.ARC
763 1 374 A 01-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_374_758982530.ARC
764 1 375 A 02-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_375_758982530.ARC
767 1 376 A 02-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_376_758982530.ARC
768 1 377 A 02-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_377_758982530.ARC
770 1 378 A 02-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_378_758982530.ARC
772 1 379 A 02-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_379_758982530.ARC
774 1 380 A 02-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_380_758982530.ARC
776 1 381 A 03-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_381_758982530.ARC
778 1 382 A 03-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_382_758982530.ARC
780 1 383 A 03-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_383_758982530.ARC
782 1 384 A 03-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_384_758982530.ARC
784 1 385 A 04-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_385_758982530.ARC
785 1 386 A 04-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_386_758982530.ARC
788 1 387 A 05-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_387_758982530.ARC
790 1 388 A 05-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_388_758982530.ARC
791 1 389 A 05-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_389_758982530.ARC
792 1 390 A 05-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_390_758982530.ARC
793 1 391 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_391_758982530.ARC
794 1 392 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_392_758982530.ARC
795 1 393 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_393_758982530.ARC
796 1 394 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_394_758982530.ARC
797 1 395 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_395_758982530.ARC
798 1 396 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_396_758982530.ARC
799 1 397 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_397_758982530.ARC
800 1 398 A 06-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_398_758982530.ARC
801 1 399 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_399_758982530.ARC
802 1 400 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_400_758982530.ARC
803 1 401 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_401_758982530.ARC
804 1 402 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_402_758982530.ARC
805 1 403 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_403_758982530.ARC
806 1 404 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_404_758982530.ARC
808 1 405 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_405_758982530.ARC
814 1 406 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_406_758982530.ARC
816 1 407 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_407_758982530.ARC
817 1 408 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_408_758982530.ARC
822 1 409 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_409_758982530.ARC
823 1 410 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_410_758982530.ARC
824 1 411 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_411_758982530.ARC
826 1 412 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_412_758982530.ARC
829 1 413 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_413_758982530.ARC
831 1 414 A 07-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_414_758982530.ARC
839 1 415 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_415_758982530.ARC
841 1 416 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_416_758982530.ARC
843 1 417 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_417_758982530.ARC
844 1 418 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_418_758982530.ARC
848 1 419 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_419_758982530.ARC
849 1 420 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_420_758982530.ARC
850 1 421 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_421_758982530.ARC
851 1 422 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_422_758982530.ARC
852 1 423 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_423_758982530.ARC
853 1 424 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_424_758982530.ARC
854 1 425 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_425_758982530.ARC
856 1 426 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_426_758982530.ARC
862 1 427 A 08-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_427_758982530.ARC
870 1 428 A 09-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_428_758982530.ARC
872 1 429 A 09-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_429_758982530.ARC
874 1 430 A 09-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_430_758982530.ARC
875 1 431 A 09-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_431_758982530.ARC
878 1 432 A 09-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_432_758982530.ARC
880 1 433 A 09-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_433_758982530.ARC
882 1 434 A 10-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_434_758982530.ARC
884 1 435 A 10-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_435_758982530.ARC
886 1 436 A 10-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_436_758982530.ARC
888 1 437 A 10-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_437_758982530.ARC
890 1 438 A 11-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_438_758982530.ARC
891 1 439 A 11-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_439_758982530.ARC
893 1 440 A 12-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_440_758982530.ARC
896 1 441 A 12-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_441_758982530.ARC
898 1 442 A 12-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_442_758982530.ARC
900 1 443 A 12-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_443_758982530.ARC
901 1 444 A 12-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_444_758982530.ARC
902 1 445 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_445_758982530.ARC
903 1 446 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_446_758982530.ARC
904 1 447 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_447_758982530.ARC
910 1 448 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_448_758982530.ARC
912 1 449 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_449_758982530.ARC
914 1 450 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_450_758982530.ARC
916 1 451 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_451_758982530.ARC
918 1 452 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_452_758982530.ARC
920 1 453 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_453_758982530.ARC
922 1 454 A 13-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_454_758982530.ARC
924 1 455 A 14-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_455_758982530.ARC
926 1 456 A 14-DEC-11 E:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ES
PL\1_456_758982530.ARC
RMAN> delete noprompt expired archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=77 devtype=DISK
specification does not match any archive log in the recovery catalog -
Urgent: Huge diff in total redo log size and archive log size
Dear DBAs
I have a concern regarding size of redo log and archive log generated.
Is the equation below is correct?
total size of redo generated by all sessions = total size of archive log files generated
I am experiencing a situation where when I look at the total size of redo generated by all the sessions and the size of archive logs generated, there is huge difference.
My total all session redo log size is 780MB where my archive log directory size has consumed 23GB.
Before i start measuring i cleared up archive directory and started to monitor from a specific time.
Environment: Oracle 9i Release 2
How I tracked the sizing information is below
logon as SYS user and run the following statements
DROP TABLE REDOSTAT CASCADE CONSTRAINTS;
CREATE TABLE REDOSTAT
AUDSID NUMBER,
SID NUMBER,
SERIAL# NUMBER,
SESSION_ID CHAR(27 BYTE),
STATUS VARCHAR2(8 BYTE),
DB_USERNAME VARCHAR2(30 BYTE),
SCHEMANAME VARCHAR2(30 BYTE),
OSUSER VARCHAR2(30 BYTE),
PROCESS VARCHAR2(12 BYTE),
MACHINE VARCHAR2(64 BYTE),
TERMINAL VARCHAR2(16 BYTE),
PROGRAM VARCHAR2(64 BYTE),
DBCONN_TYPE VARCHAR2(10 BYTE),
LOGON_TIME DATE,
LOGOUT_TIME DATE,
REDO_SIZE NUMBER
TABLESPACE SYSTEM
NOLOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
GRANT SELECT ON REDOSTAT TO PUBLIC;
CREATE OR REPLACE TRIGGER TR_SESS_LOGOFF
BEFORE LOGOFF
ON DATABASE
DECLARE
PRAGMA AUTONOMOUS_TRANSACTION;
BEGIN
INSERT INTO SYS.REDOSTAT
(AUDSID, SID, SERIAL#, SESSION_ID, STATUS, DB_USERNAME, SCHEMANAME, OSUSER, PROCESS, MACHINE, TERMINAL, PROGRAM, DBCONN_TYPE, LOGON_TIME, LOGOUT_TIME, REDO_SIZE)
SELECT A.AUDSID, A.SID, A.SERIAL#, SYS_CONTEXT ('USERENV', 'SESSIONID'), A.STATUS, USERNAME DB_USERNAME, SCHEMANAME, OSUSER, PROCESS, MACHINE, TERMINAL, PROGRAM, TYPE DBCONN_TYPE,
LOGON_TIME, SYSDATE LOGOUT_TIME, B.VALUE REDO_SIZE
FROM V$SESSION A, V$MYSTAT B, V$STATNAME C
WHERE
A.SID = B.SID
AND
B.STATISTIC# = C.STATISTIC#
AND
C.NAME = 'redo size'
AND
A.AUDSID = sys_context ('USERENV', 'SESSIONID');
COMMIT;
END TR_SESS_LOGOFF;
Now, total sum of REDO_SIZE (B.VALUE) this is far less than archive log size. This at time when no other user is logged in except myself.
Is there anything wrong with query for collecting redo information or there are some hidden process which doesnt provide redo information on session basis.
I have seen the similar implementation as above at many sites.
Kindly provide a mechanism where I can trace which user is generated how much redo (or archive log) on a session basis. I want to track which all user/process are causing high redo to generate.
If I didnt find a solution I would raise a SR with Oracle.
Thanks
[V]You can query v$sess_io, column block_changes to find out which session generating how much redo.
The following query gives you the session redo statistics:
select a.sid,b.name,sum(a.value) from v$sesstat a,v$statname b
where a.statistic# = b.statistic#
and b.name like '%redo%'
and a.value > 0
group by a.sid,b.name
If you want, you can only look for redo size for all the current sessions.
Jaffar -
Hi
My Oracle 11g is running on Windows Vista.
The database is on archive log mode. I like to set it to no archive log mode.
When I shutdown the database from SQLPLUS [as SYS], it does not start after that!
In Sqlplus, when I issue SHUTDOWN NORMAL - it shuts down database.
When I then run, STARTUP MOUNT
I get this message - ORA-12514: TNS:listener does not currently know of service requested in connect
The only way I can start it again via
net start OracleService<MYDB> command. Then it starts normally - not in mount mode. So I can't issue ALTER DATABASE NOARCHIVELOG command :(
How do I disable archive log?
Thanx for help.When I then run, STARTUP MOUNT
I get this message - ORA-12514: TNS:listener does not currently know of service requested in connectSQL*net is not required to start the DB.
Log onto the system as the Oracle s/w owner & do the following:
set
sqlplus
/ as sysdba
startup mount
CUT the line above & paste into command window
CUT commands & results and PASTE back here
Maybe you are looking for
-
How can I attach a form to an email with TO address default in?
I have a form with a hyperlink to an email address. I want to have it when the user clicks the hyperlink the form attaches to an email with the address filled out. I have figured out how to open an email with the email filled out; and how to open a
-
Purchase Req for third party items on SO-where are required fields defined?
I have that issue where when a third party item is entered on a sales order, it goes on credit hold and when you release it, it tries to create a purch req but can't because of the required field - Val Price is not automatically filled in. I thought
-
Can you please check my site?
Hola Just made my first ever CSS website, very happy about that Now, I made all of the pages (4 lol) base on a template, but i detach them because, cannot move nothing, about them --not very good, me-- If I created my CSS style in the index page, the
-
DSL Connection disconnecting every minute
I'm having major issues. I'm in California and as of 6:20pm August 2nd, 2009. My connection has been disconnecting every minute. I restarted my computer and turned my modem off. When I'm browsing through the Internet it disconnects me, and when I try
-
I'm trying to create bold and normal text in the same paragraph with the library PL/PDF, but I can't. This is a small example: "Hi, this is an *example* to the *library* PL/SQL, adding *text* in bold and normal text." This text should be justified on