Flashback Logs Location
Well, I am confused whether Oracle Flashback Technology uses Undo Tablespace or Flash Recovery Area. I was going through http://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm, and the page mentions both Undo Tablespace and Flash Recovery Area.
Can someone please clarify.
Thanks
furqan_sindhu wrote:
Well, I am confused whether Oracle Flashback Technology uses Undo Tablespace or Flash Recovery Area. Completely wrong thought process. Oracle Flashback Technology is based on the Undo data which is stored Undo Tablespace. The Flash Recovery Area is nothing but a destination where the Flashback Logs are stored but they are used for a different purpose, which is for sending the complete database back into the past. So comparing both Flashback and FRA is actually a wrong thing to do.
I was going through http://www.oracle.com/technology/deploy/availability/htdocs/Flashback_Overview.htm, and the page mentions both Undo >Tablespace and Flash Recovery Area.
Read my reply above. Flashback is based on the Undo data which is not stored in the FRA but in the Undo tablespace. The FRA is used to store the backup files, archive files and a sepcial set of files called flashback logs (which I mentioned above) . Don't compare both and a suggestion, don't read white papers since they contain snippets of information only. Read oracle docs since they contain the complete stuff.
HTH
Aman....
Similar Messages
-
Remove the flashback logs in EBS envoirnment.
Hi,
In my production database(primary) machine flashback is ON.
So, logs are creating in following directory:
/d01/silprod/SILP/db/apps_st/data/archives/SILP01_SER/flashback
In my physical standby database flashback is OFF.
So, My question is that:
Can I remove the flashback logs from production safely?
Thanks.Hi,
How to identified that which archive logs no longer needed and can delete, and how to reclaim the archive space?
Is below steps are correct?
Archive location: /d01/silprod/SILP/db/apps_st/data/archives/SILP01_SER/archivelog
Archive files name like: o1_mf_1_894_5jpkly8k_.arc -------------> Sequence#=894
Archive Size occupied:
> du -sh archivelog/ ------------> 2.7G archivelog/
STEP#1:
SQL> SELECT THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS='CURRENT'; -----------> RESULT: THREAD#=1 AND SEQ$= 894
SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;---------------->DONE
SQL> SELECT THREAD#, SEQUENCE# FROM V$LOG WHERE STATUS='CURRENT'; -----------> RESULT: THREAD#=1 AND SEQ$= 895
Confirm the current file have been applied to the standby database with the below query
SQL> SELECT MAX(SEQUENCE#) FROM V$LOG_HISTORY; -----------------> RESULT: THREAD#=1 AND SEQ$= 894
Step#2:(Memory)
> delete unwanted archive log files from disk (rm, del commands)---------> all archives files deleted expected of PROD_1_894.arc
RMAN> crosscheck archivelog all; - marks the controlfile that the archives have been deleted
RMAN> delete expired archivelog all; - deletes the log entries identified above.
But, How to identified that which flashback files no longer needed and can delete, and how to reclaim the flashback space?
Flashback location: /d01/silprod/SILP/db/apps_st/data/archives/SILP01_SER/flashback
Flashback files name like: o1_mf_5jlc8gb0_.flb, o1_mf_5jlcb2bv_.flb etc ------------> how to identified which file(File Name has no sequence#) should I delete?
Flashback Size occupied:
> du -sh flashback/ ------------> 3.5G flashback/ -
Problem with deleting Flashback logs
Hi all,
I configured flashback database on my Oracle10g R2 DB that sits on Win 2003 server.
When I issued the command to delete the flashback logs I see that the logs are not deleted.
Please what could be the problem here?
Regards,
CreemsSorry, I should be clearer.
My flashback retention target is 1 day - 1440 ... but that doesnt get deleted automatically, ERROR from Oracle so I hear.
So, I tried to do it manually by putting the DB in mount state and issuing:
ALTER DATABASE FLASHBACK OFF;
Yet never get deleted.
What could the problem be?
Thanks.
Creems -
Why the flashback log'size smaller than the archived log ?
hi, all . why the flashback log'size smaller than the archived log ?
Lonion wrote:
hi, all . why the flashback log'size smaller than the archived log ?Both are different.
Flash logs size depends on parameter DB_FLASHBACK_RETENTION_TARGET , how much you want to keep.
Archive log files is dumped file of Online redo log files, It can be either size of Online redo log file size or less depending on online redo size when switch occurred.
Some more information:-
Flashback log files can be created only under the Flash Recovery Area (that must be configured before enabling the Flashback Database functionality). RVWR creates flashback log files into a directory named “FLASHBACK” under FRA. The size of every generated flashback log file is again under Oracle’s control. According to current Oracle environment – during normal database activity flashback log files have size of 8200192 bytes. It is very close value to the current redo log buffer size. The size of a generated flashback log file can differs during shutdown and startup database activities. Flashback log file sizes can differ during high intensive write activity as well.
Source:- http://dba-blog.blogspot.in/2006/05/flashback-database-feature.html
Edited by: CKPT on Jun 14, 2012 7:34 PM -
I'm pretty new to Web Dynpro and have a few questions regarding the location of the different error log.
1. Sometimes the web dynpro IDE prompt up saying "please check the error logs for details". Where is the error log located?
2. After i deployed and run the Web Dynpro application, there is a "Red Exclaimation" picture and the bottom of the web page. Where to find this error log?
3. Where is the error log for run time error, eg, NULL POINTER exception etc ?
Any help would be much appreciated. Thanks.Hi julius,
1) Go to windows->preferences->workbench->workspace->current workspace. Open directory, go to ".metadata" folder and check ".log" file
2) 3) In my case it is C:\usr\sap\J2E\JC02\j2ee\cluster\server0\log\defaultTrace.trc (J2E - SID, JC02 - 2nd instance)
Best regards, Maksim Rashchynski. -
DR server flashback error : Unable to allocate flashback log
Hi,
I have a Standby Database and the DR log synchronization with Primary Database was interrupted due to below errors:
Unable to allocate flashback log of 1946 blocks from
current recovery area of size 2147483648 bytes.
Recovery Writer (RVWR) is stuck until more space is
available in the recovery area.
Unable to write Flashback database log data because the
recovery area is full, presence of a guaranteed
restore point and no reusable flashback logs.
Use ALTER SYSTEM SET db_recovery_file_dest_size command
to add space. DO NOT manually remove flashback log files
to create space.
--> On DR server
SQL> SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE;
DATABASE_ROLE INSTANCE PROTECTION PROTECTION_LEVEL
SWITCHOVER_STATUS
PHYSICAL STANDBY A80 MOUNTED MAXIMUM PERFORMANCE
SESSIONS ACTIVE
SQL> select process, status, thread#, sequence#, block#, blocks from v$managed_standby;
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
MRP0 APPLYING_LOG 1 29118 125049 186723
RFS IDLE 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 0 0 0 0
6 rows selected.
--> Alert log
Sat Mar 17 04:51:00 2012
RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29222_0681431456.001'
Primary database is in MAXIMUM PERFORMANCE mode
Sat Mar 17 05:51:07 2012
RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29223_0681431456.001'
Primary database is in MAXIMUM PERFORMANCE mode
Sat Mar 17 06:51:04 2012
RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29224_0681431456.001'
Primary database is in MAXIMUM PERFORMANCE mode
Sat Mar 17 08:50:40 2012
RFS[606]: Archived Log: 'L:\ORACLE\A80\ORAARCH\A80ARCH\ARC29225_0681431456.001'
Sat Mar 17 12:28:30 2012
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL
I did a "ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL" to stop the log shipping on DR server but the command is hanging.
I also tried freeing up the disk space in my flashback drive but I think it won't help as indicated in the error message:
"DO NOT manually remove flashback log files to create space".
What is the best way to set the DR server back to normal operation?
I do not need the flashback logs and will disable the flashback once this is rectified.
This is Oracle 10.2.0.4 Physical Standby using Oracle Dataguard.
Thanks a lot!<smacking forehead on the table>
Bloody hell! How the heck I missed that darn "B" ? I guess, time to get some sleep and after that some coffee.Please don't do ;-)
When knowledge is in extreme level, there is possibilities to miss small and small things some time.
@OP,
Here some practice
sys@ORCL> show parameter db_reco
NAME TYPE VALUE
db_recovery_file_dest string C:\Oracle\flash_recovery_area
db_recovery_file_dest_size big integer 3852M
sys@ORCL> alter system set db_recovery_file_dest_size=3900mb scope=both;
alter system set db_recovery_file_dest_size=3900mb scope=both
ERROR at line 1:
ORA-02065: illegal option for ALTER SYSTEM
sys@ORCL> alter system set db_recovery_file_dest_size=4gb scope=both;
alter system set db_recovery_file_dest_size=4gb scope=both
ERROR at line 1:
ORA-02065: illegal option for ALTER SYSTEM
sys@ORCL> alter system set db_recovery_file_dest_size=3900m scope=both;
System altered.
sys@ORCL> alter system set db_recovery_file_dest_size=4g scope=both;
System altered.
sys@ORCL> show parameter db_reco
NAME TYPE VALUE
db_recovery_file_dest string C:\Oracle\flash_recovery_area
db_recovery_file_dest_size big integer 4G
sys@ORCL> -
Oracle not using space occupied by flashback logs
Hi,
oracle 10g R2 10.2.0.1 on RHEL 4 64-bits.
my db_flashback_retention_target is set to 1440 and my db_recover_file_dest_size is set to 40G.
flashback logs are occupying about 36G so whenever rman tries to backup the database, it breaks saying it cannot reclaim enough space from the 40G limit.
when checking the flashback logs,i saw that the DB is keeping 3 day old logs. should it not reclaim the space occupied by these logs and delete them?Others have reported similar issues: http://www.wayneadamsconsulting.com/
>
One thing that I have not seen the database do, however, is delete reclaimable flashback logs in order to make room for a backup. If there is not enough free space in you FRA for a backup but there is plenty of space used by relcaimable flashback logs, RMAN and the database will not delete flashback logs to free up room in the FRA for the backup. This seems like a fairly large gap in the flashback log functionality, but hopefully Oracle will handle it in a future release.
>
See MOS note: Space issue in Flash Recovery Area( FRA ) [ID 829755.1] .
Note also that 10.2.0.1 is a old 10.2 release and that you could consider upgrading to 10.2.0.4. -
11g block recover doesn't look for flashback logs
dear all
could you please let me know the reason of why rman doesn't uses flashback logs for block recovery? Here's the thread I've opened in ddatabase-general
Re: 11g block recover doesn't look for flashback logs
thanks
johndear all
could you please let me know the reason of why rman doesn't uses flashback logs for block recovery? Here's the thread I've opened in ddatabase-general
Re: 11g block recover doesn't look for flashback logs
thanks
john -
Reduce flashback log - disable flashback for a table
Hi,
We have a table which we use only for logging. This information is not essential but there is a lot (given our scale of data :p ) of data (5.000.000 by day)
So we have put the table in nologging (reduce redo => archived),
the insert are /*+ append*/ (reduce undo)
Now, we want to reduce the flashback logs?
Is there a way to disable flashback for a given table ?
thanks
NicolasHi,
first i would use:
alter table tablename nologging;
So you won't generate a lot of redo.
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#CJAHHIBI
I'm not sure you can disable flashback at table level.
You can do that on tbs level.
Hope this helped..
Bye
Acr -
Changes required in Essbase logs location:
Hello Masters,
I am trying to change Essbase log file location from default location to new location. this is our internal requriement.
Existing Log location:
../app/hyperion/Oracle/Middleware/user_projects/epmsystem1/diagnostics/logs
Desired New Log Location:
../app/essbase/logs
To do the change, We are modifying logging.xml file at ../app/essbase/EssbaseServer/essbaseserver1/bin
In the logging.xml file, changed the path parameter value from old location to new location. But, still the log files are creating in the old location.
Please share me your experiences if anyone already did it and let me know do I need to do any specific steps after modification.
Thanks,
Ganesh.Did you recycle the services after you made the change?
Thank you,
Todd Rebner -
Delete flashback log dynamically.
i want to delete flashback log dynamically.
suppose today is 1st feb while running shell script it will remove flashback log 31stjan ...
i have set retention policy 1 days.
following is the my sh script
=====================
#!/bin/sh
# Daily Backup
. oraenv.oratest
export NLS_DATE_FORMAT="Dy DD-Mon-YYYY HH24:MI:SS"
LOG_DIR="/var/log/oracle"
LOG_FILE="$LOG_DIR/$ORACLE_SID-daily-backup.log"
EMAIL_TO="[email protected]"
echo -e "\nBackup Commenced: " $(date) "\n"
pushd $HOME/rman
rman target / cmdfile="daily-backup.rman" log="$LOG_FILE" append
retcode=$?
if [ "$retcode" -ne "0" ]; then
echo -e "\n***\n*** BACKUP FAILURE: Database $ORACLE_SID on $HOSTNAME \n***"
mail -s "BACKUP FAILURE: Database $ORACLE_SID on $HOSTNAME" $EMAIL_TO < $LOG_FILE
exit 1
else
mail -s "INFO: Backup success: $ORACLE_SID on $HOSTNAME" $EMAIL_TO << EOF
Database $ORACLE_SID on $HOSTNAME backed up successfully.
EOF
fi
popd
echo -e "\nBackup Completed: " $(date) "\n"
rman script
run {
# Remove any obsolete files prior to backup
crosscheck backupset;
crosscheck copy;
delete noprompt obsolete;
delete noprompt expired backup;
delete noprompt expired copy;
# Incremental backup and update of current image copy
allocate channel oem_disk_backup device type disk;
recover copy of database with tag 'ORA\$OEM_LEVEL_0';
delete noprompt obsolete;
delete noprompt expired backup;
delete noprompt expired copy;
backup incremental level 1 cumulative copies=1 for recover of copy with tag 'ORA\$OEM_LEVEL_0' database;
# Following backup - remove any now-obsolete files
delete noprompt obsolete;
delete noprompt expired backup;
delete noprompt expired copy;RMAN cannot delete flashback logs, these are maintained automatically according to parameter 'db_flashback_retention_target'. Don't confuse FLASHBACK DATABASE with RMAN point-in-time recovery.
RMAN backups become obsolete as soon as no longer needed to meet the defined retention policy, 'delete obsolete' will never delete flashback logs. -
How to change error log location
I have been trying to change the location of the SQL 2005 error log. It's logging to the default location at C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG
I want to move the log location to the E drive because it can get quite large.
I already changed the setting in the SQL Server Error and Usage config tool, but this did not seem to make a difference.
Can someone tell me please how to do this?
Thank You,
EdThe errorlog location is controlled by the -e startup parameter, which is read from the registry at startup.
You can change the default location from the SQL Server Configuration Manager. Open the properties for the SQL Server Service and find the Startup Parameters entry on the Advanced page.
By default the entry looks something like this:
-dD:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf;-eD:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG;-lD:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
Change the path after -e to be anything you'd like. -
How to import this package com.sap.tc.logging.location?
Hi, all,
I can't import this package into programming area since i'm using com.sap.tc.logging.location. I think my developer studio does not have such package. Do you know how do find such package and import it in the studio?
Logging location.
private static final com.sap.tc.logging.Location logger =
com.sap.tc.logging.Location.getLocation(Exc_EJB_Component.class);hi
try to see your package is avalible into Navigator prosective. if it has then import it from here itself
thanks -
Automatically Deleting Flashback logs
Hi all,
Platform: oracle 10g R2, Win 2003 server
Is there a way someone can delete flashback logs automatically without doing it the normal way?
The normal way: startup nomount
alter database flashback off;
My manager said I can keep on shutting down the database, he wants it done automatically.
Any help please???
Thanks.
CreemsHi,
Set the parameter DB_FLASHBACK_RETENTION_TARGET initialization parameter which determines exactly how far a database can be flashed back. The default value is 1440 minutes (one full day), but this can be modified to suit the needs of your database. -
Installer Logs Location for Troubleshooting Failed Installs.
I'm attempting to troubleshoot failed installations on packages built with the Mac version of AAMEE 3.0. Where are the installer logs located that give relevant failure information? The system log only passes along the generic "The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance." message when the install fails. Thanks.
The detail logs can be found at PDApp.log file present in user specific temp folder. You can find this folder using %temp%\PDApp.log (if msi is run from logged-in user account) OR [BootDrive]:\windows\Temp\PDAp.log. (No user logged in)
Thanks
Saransh Katariya | Member of technical staff | Adobe Systems
Maybe you are looking for
-
How to view the Users in the Portal Activity Report
Hello, Can anyone tell me how to view the Report of users who have logged in a specific time. For Example I would like to view the users who have logged in between 9.00 am and 9.15 am. Is it possible to view mentioning the country name? Please explai
-
Error when displaying a field on Screen with Table Control
Hi, It is going to 'Dump' when I am trying to display data on the screen with the help of Table Control. From the dump, What I have observed is , there is a field 'ZTSV_FSRDATA-ANZFEHLER'. If this field has negative value, then it is going to 'Dump'
-
Create an output for Inbound Delivery
Hello, How do I generate an output (print output or IDoc) when an Inbound Delivery is created in my ECC system using Output Control? I need an output to be generated when Inbound Delivery is created/ changed/ deleted. What are the standard configurat
-
CVI2013 crashes when using .dll on *some* computers
So I have made a .dll in LabVIEW that I inted to use in CVI (you can reference this thread for some additional info about it) and it worked just fine on the computer I created it on. Trouble started when I began testing it on other machines. A litt
-
I have crative cloud and i updates adobe acrobat to Acrobat DC.
Now its telling me that i have to purchase Acrobat DC? Why?