Flashback database and nologging tablespaces
DB Versions
Oracle 11.2.0.3
2 other DBs at 11.2.0.3 with 10.2.0.3 compatibility mode.
We are using flashback database in our dev/test environments so we can flashback and apply builds again. I am ok if we lose data and can't roll forward. We are running out of archive space. Lately we have been going over a month or more between builds. Is it possible to set tablespaces to nologging and still have flashback work? I dont need the data. I just need to be able to reset to the structure before the last build. I am 100% ok with losing test data. I have no say over when builds get done.
Reason I am asking not just testing (I did do some google searches):
Testing this isn't that simple due to process issues. I have to get a build scheduled which can take a week or more(no extra DB for me to test this) and the build team generally doesn't listen, so if I tell them to wait for me for the test, it generally doesn't happen, then it can be another week before I get a build and so on. Restoring from backup isn't an easy change because that is a process change and I have to go through incredible amounts of 'process' and approval to get any kind of change to a process (think dilbert on steroids). So I have to ask ahead of even running a test.
Hi,
Doc Ref:ALTER TABLESPACE
Changing Tablespace Logging Attributes: Example The following example changes the default logging attribute of a tablespace to NOLOGGING:
ALTER TABLESPACE tbs_03 NOLOGGING;
Altering a tablespace logging attribute has no affect on the logging attributes of the existing schema objects within the tablespace. The tablespace-level logging attribute can be overridden by logging specifications at the table, index, and partition levels.
So if you want to Nologging then you have to go at table level.
i'd suggest use the the different location for Archive and Flashback log. and clean the Archive area using some OS job. Flashback database required only the flashback log files during restore.
HTH
Similar Messages
-
What is the difference between alter database and alter tablespace?
Hi
I was searching for the difference between these 2 commands and have gotten not much conclusive result. Can anyone enlighten me on what is the difference if I were to use ALTER DATABASE OPEN READ ONLY compared to ALTER TABLESPACE x READ ONLY?
My objective to is control, such that sometimes users can edit the database, and other times, not possible to do so.
Thanks in advance.
wyHi,
A database can be made with more than one tablespace.
You can have a table called A into a tablespace TSA and a table called B into a tablespace TSB, then if you use ALTER DATABASE OPEN READ ONLY any tablespace can be writen, but if you use ALTER TABLESPACE A READ ONLY, you can't write, insert into table A because it is read only, but you can write, insert rows into the table called B because the tablespace B isn't read only.
You need to do ALTER TABLESPACE B READ ONLY to deny the inserts into table B.
You should do this for all tablespace that make the database.
Regards,
Jordi -
Flashback database and Physical Standby databases
Hi,
We are thinking about the following scenario in our Production Standby databases. We are trying to do this to avoid number database cloning situations.
When we require live data to test data fixes :-
1. Switchover/failover the standby database.
2. opened this database in read write mode.
3. Apply the fix and test.
4. Flashing back the database prior to the SCN which did the switchover/failover.
5. Activate the standby again using a new standby controlfile.
Would you experts please comment on this idea?
Is this is possible? If so, would you please guide through the steps/some documentation.
Thanks in advanceThis will not work according to me,
1)U can give previous SCN in rollback and gets the data till that SCN, but it will not become standby unless u make it a standby again manually by creating standy controlfile etc(may be this will be succesfull and limited up to check the data fixes).
2)Iif your first step succesfull then what about the fixes u test by applying patches using opatch and patchsets that cannot be rollbacked using flashback because they are copying new version files and adding some more configuration files to oracle home?.
There are lots of pitfalls and loop holes needed to be checked
Regards
Kaunain -
Can I use flashback database to flashback a pluggable database?
Hi All,
I created a container database and then created a pluggable database.
In the pluggable 12.1 datbase, I loaded the user data.
I performed the below
sqlplus / as sysdba;
create restore point CLEAN_DB guarantee flashback database;
And I performed the transactions on the pdb.
Now my intention is to restore to the restore point CLEAN_DB as created from the above step.
If I perform the below, will it restore my pdb to the initial state?
flashback database to restore point CLEAN_DB;
Regards,
Kamal.Hi,
You cannot use FLASHBACK DATABASE for pluggable database.
Flashback query/versions queryis UNDO based and work in PDB’s
Flashback transaction query/flashback transactionis UNDO and REDO based and work in PDB’s
Flashback data archiveUNDO gernerated archives
Flashback table
before drop –> Rename segment name of recylebin, which is based on UNDO, work in PDB’s
flashback table to –> is UNDO based, work in PDB’s
Flashback databasedoesn’t work in PDB’s:
RMAN> flashback pluggable database prmdb01 to time "to_date('23:00 20-11-2013','hh24:mi dd-mm-yyyy')";
Starting flashback at 25-NOV-13
using channel ORA_DISK_1
using channel ORA_DISK_2
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of flashback command at 11/20/2013 23:00:00
RMAN-05108: Command is not supported for pluggable database
Regards
Mahir M. Quluzade
p.s. Command exists but not supporting, may be next release come support. -
After Flashback database can I use my backups?
I performed a flashback database and then opened the database with
alter database open resetlogs;
Now when I try the following command in rman I get this message:
RMAN> list backup
2> ;
new incarnation of database registered in recovery catalog
starting full resync of recovery catalog
full resync complete
List of Backup Sets
===================
BS Key Type LV Size Device Type Elapsed Time Completion Time
435 Incr 1 9.36M DISK 00:00:11 30-AUG-09
BP Key: 440 Status: AVAILABLE Compressed: NO Tag: TAG20090830T170015
All the backups are still there but it tells me a new incarnation of the database has been registered in the recovery catalog.
My question is: Do I need to do anything different from now on? Also can my existing backups still be used if needed?
thanks in advance,
RichardFor u question ist take a rman backup.
RMAN> backup database;
Starting backup at 31-AUG-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=140 devtype=DISK
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00001 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
input datafile fno=00003 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
input datafile fno=00005 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
input datafile fno=00002 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
input datafile fno=00004 name=F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 31-AUG-09
channel ORA_DISK_1: finished piece 1 at 31-AUG-09
piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NNNDF_TAG20090831T131520_59PY48QX_.BKP tag=TAG20090831T131520 comment=
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:45
channel ORA_DISK_1: starting full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
including current control file in backupset
including current SPFILE in backupset
channel ORA_DISK_1: starting piece 1 at 31-AUG-09
channel ORA_DISK_1: finished piece 1 at 31-AUG-09
piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NCSNF_TAG20090831T131520_59PY5R4D_.BKP tag=TAG20090831T131520 comment=
channel ORA_DISK_1: backup set complete, elapsed time: 00:00:04
Finished backup at 31-AUG-09
After that …..
SQL> create table y (id number);
Table created.
SQL> select to_char(sysdate,'dd-mm-yy hh24:mi:ss') from dual;
TO_CHAR(SYSDATE,'
31-08-09 13:23:03
SQL> drop table y
2 ;
Table dropped.
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 226495364 bytes
Database Buffers 377487360 bytes
Redo Buffers 7135232 bytes
Database mounted.
SQL> flashback database to timestamp to_timestamp('31-08-09 13:23:03','dd-mm-yy hh24:mi:ss');
Flashback complete.
SQL> alter database open resetlogs;
Database altered.
SQL> desc y
Name Null? Type
ID NUMBER
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.
Total System Global Area 612368384 bytes
Fixed Size 1250428 bytes
Variable Size 226495364 bytes
Database Buffers 377487360 bytes
Redo Buffers 7135232 bytes
Database mounted.
SQL> select name from v$datafile;
NAME
F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
SQL> host del F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01157: cannot identify/lock data file 4 - see DBWR trace file
ORA-01110: data file 4: 'F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF'
Then I restore old backup from rman
RMAN> restore database;
Starting restore at 31-AUG-09
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=154 devtype=DISK
channel ORA_DISK_1: starting datafile backupset restore
channel ORA_DISK_1: specifying datafile(s) to restore from backup set
restoring datafile 00001 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSTEM01.DBF
restoring datafile 00002 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\UNDOTBS01.DBF
restoring datafile 00003 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\SYSAUX01.DBF
restoring datafile 00004 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\USERS01.DBF
restoring datafile 00005 to F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\EXAMPLE01.DBF
channel ORA_DISK_1: reading from backup piece F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NNNDF_TAG20090831T131520_59PY48QX_.BK
channel ORA_DISK_1: restored backup piece 1
piece handle=F:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2009_08_31\O1_MF_NNNDF_TAG20090831T131520_59PY48QX_.BKP tag=TAG20090831T131520
channel ORA_DISK_1: restore complete, elapsed time: 00:00:46
Finished restore at 31-AUG-09
RMAN> recover database;
Starting recover at 31-AUG-09
using channel ORA_DISK_1
starting media recovery
archive log thread 1 sequence 22 is already on disk as file F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00022_0693947048.001
archive log thread 1 sequence 23 is already on disk as file F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00023_0693947048.001
archive log filename=F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00022_0693947048.001 thread=1 sequence=22
archive log filename=F:\ORACLE\PRODUCT\10.2.0\ARC\ARC00023_0693947048.001 thread=1 sequence=23
media recovery complete, elapsed time: 00:00:06
Finished recover at 31-AUG-09
Then I back sqlplus
SQL> alter database open;
Database altered.
SQL> desc y
Name Null? Type
ID NUMBER
So answer your question is , YES you can restore from you old backup , not need to do anything else.
Regards
Liakat hossain -
Unable to do flashback database!!
Hi all,
I have enabled flashback database and created a restore point with guaranteed flashback database so that i can do a flashback database. When i do a flashback database, its says it needs archivelogs to do recovery. The flashback log usually will have all modified data in a flashback log files to use it for flashbacking a database. why its asking for archivelogs when all the modified data is present in flashback log itself? kindly clarify me.
Regards,
Pradeep. VHi,
Flashback database required the Archive log files.
"Flashback Database is similar to conventional point-in-time recovery in its effects. It enables you to return a database to its state at a time in the recent past. Flashback Database is much faster than point-in-time recovery because it does not require restoring datafiles from backup and requires applying fewer changes from the archived redo logs."
"No file in the fast recovery area is eligible for deletion if it is required to satisfy a guaranteed restore point. However, archived redo logs required to satisfy a guaranteed restore point may be deleted after they are backed up to disk or tape. When you use the RMAN FLASHBACK DATABASE command, if the archived redo logs required to satisfy a specified guaranteed restore point are not available in the fast recovery area, then they are restored from the backups."
Ref Doc:Using Flashback Database and Restore Points
HTH -
Excluding tablespace from flashback database
hi all
i am trying to flashback database with excluding users tablespace ,
after setting tablespace users flashback off, and taking the tablespace users offline i shutdown the database immediate and startup mount exclusive and then
sql>flashback database to timestamp to_timestamp ('03/07/200722:04:00','dd/mm/yyyy hh24:mi:ss');
but i am getting error
ora-38795 warning flashback succeeded but open resetlogs would get error
ora-01245 offline file4 will be lost if resetlogs is done.
can you help me , where is my mistake.Since you have turned off the flashback on the USER tablespace, you have got those errors while performing FLASHBACK DATABASE operation.
Database must be opened with RESETLOGS option after the FLASHABCK DATABASE operation.
ora-01245 offline file4 will be lost if resetlogs is done.You might loose here the datafile belongs to the users tablespace.
If you don't required this tablespace, I guess you can goahead using open database with RESETLOGS option.
Jaffar -
Hello - I'm new to OEM 12c and I'm still getting my head around the monitoring aspects of it. I just added two temporary tablespaces to a database. When I look at the tablespaces via OEM12c, I notice that the Avaliable Space Used (%) Alerts column has a check mark for all the tablespaces except the two I just created. The original TEMP tablespace does have check in the column. Will these two new tablespaces be monitored for used space?
Thanks!
ShawnI'm assuming you're on DB 11.2 or higher... Temp and Undo are typically excluded from monitoring due to their cyclical nature. Thresholds must explicitly be set from 11.2 and higher. Please see this note for more details. Another explanation might be timing... if you just added them, and the tablespace collection hasn't run, you won't see that check because the metric hasn't validated them yet. If you go back after the collection runs, you should see (if they were a normal tablespace and the temp/undo monitoring wasn't in play)...
How to - Exclude UNDO and TEMP Tablespaces From The Tablespace Used (%) Metric (Doc ID 816920.1) -
DEFAULT TABLESPACE and TEMPORARY TABLESPACE for eBusiness Suite database
Hi:
What is the
DEFAULT TABLESPACE and TEMPORARY TABLESPACE
for eBusiness Suite database.
I want to create a new schema on the eBusiness Suite database.
Please helpDEFAULT TABLESPACE and TEMPORARY TABLESPACE
for eBusiness Suite database.
I want to create a new schema on the eBusiness Suite database.Create a new tablespace and temporary tablespace for your custom schema (you may use the existing temporary tablespace).
Integrating Custom Applications with Oracle Applications Release 11i [ID 176852.1]
Step By Step Guide to Creating a Custom Application in Applications 11i [ID 216589.1]
Thanks,
Hussein -
FLASHBACK OFF FOR UNDO TABLESPACE????
Hi all
As my Undo tablespace growing evryday 2 GB & NOW it reached 19,
Database size is 6GB only
using Oracle 10g Release 2 without patch Set (release 1002000100) on Hp-Unix OS
Can i use the Undo tablespace with FLASHBACK OFF option?
what are the Consequences for Turning off the FLASHBACK,
Can we use this type of Undo tablespace with Flashback OFF???
CREATE UNDO TABLESPACE UNDOTBS03 DATAFILE
'/app/oracle/product/oradata/prod/undotbs03.dbf' SIZE 1000M AUTOEXTEND OFF
ONLINE
RETENTION NOGUARANTEE
BLOCKSIZE 8K
FLASHBACK OFF;
THANKS ALOTOracle Flashback Database: feature is similar to conventional point-in-time recovery in its results, allowing you to return a database to its state at a time in the recent past. It is, however, much faster than point-in-time recovery, because it does not require restoration of datafiles from a backup and it requires application of fewer changes from the archived redo logs.
UNDO Tablespace: Oracle db save the old value when a process change data in undo tablespace.
I think that you can change de default UNDO tablespace as NO AUTOEXTEND, and
Configure
SET UNDO_MANAGEMENT=AUTO
SET UNDO_RETENTION= ( second need for logger transaction )
UNDO_RETENTION specifies (in seconds) the low threshold value of undo retention. For AUTOEXTEND undo tablespaces, the system retains undo for at least the time specified in this parameter, and automatically tunes the undo retention period to satisfy the undo requirements of the queries.
For fixed- size undo tablespaces, the system automatically tunes for the maximum possible undo retention period, based on undo tablespace size and usage history, and ignores UNDO_RETENTION unless retention guarantee is enabled. -
Cannot enable flashback database??
I am using 10gR2 10.2.0.1
Under EM Home: it shows under " High Availability ":
Last Backup Apr 14, 2007 8:03:33 PM
Usable Flash Recovery Area (%) 92.35
Flashback Logging Disabled
When I get to the "recovery settings", I have make sure I have turned on Archivelogmode, however, the "enable flashback database" section was missing.
What's wrong about my database settings?
I have tried to explicitly do the standard code and have got the following errors:
SQL> SHUTDOWN IMMEDIATE;
SQL>STARTUP MOUNT EXCLUSIVE;
//report: obsolete/deprecated parameter specified"
SQL> ALTER SYSTEM SET DB_FLASHBACK_RETENTION_TARGET=2800 SCOPE=BOTH;
//no error
SQL>ALTER DATABASE FLASHBACK ON;
//error: ORA-00439: feature not enabled, flashback database
Message was edited by:
gilbert.laiDear Satish,
The results of v$version:
BANNER
Oracle Database 10g Release 10.2.0.1.0 - Production
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
The results of v$option:
PARAMETER VALUE
Partitioning FALSE
Objects TRUE
Real Application Clusters FALSE
Advanced replication FALSE
Bit-mapped indexes FALSE
Connection multiplexing TRUE
Connection pooling TRUE
Database queuing TRUE
Incremental backup and recovery TRUE
Instead-of triggers TRUE
Parallel backup and recovery FALSE
Parallel execution FALSE
Parallel load TRUE
Point-in-time tablespace recovery FALSE
Fine-grained access control FALSE
Proxy authentication/authorization TRUE
Change Data Capture FALSE
Plan Stability TRUE
Online Index Build FALSE
Coalesce Index FALSE
Managed Standby FALSE
Materialized view rewrite FALSE
Materialized view warehouse refresh FALSE
Database resource manager FALSE
Spatial FALSE
Visual Information Retrieval FALSE
Export transportable tablespaces FALSE
Transparent Application Failover TRUE
Fast-Start Fault Recovery FALSE
Sample Scan TRUE
Duplexed backups FALSE
Java TRUE
OLAP Window Functions TRUE
Block Media Recovery FALSE
Fine-grained Auditing FALSE
Application Role FALSE
Enterprise User Security FALSE
Oracle Data Guard FALSE
Oracle Label Security FALSE
OLAP FALSE
Table compression FALSE
Join index FALSE
Trial Recovery FALSE
Data Mining FALSE
Online Redefinition FALSE
Streams Capture FALSE
File Mapping FALSE
Block Change Tracking FALSE
Flashback Table FALSE
Flashback Database FALSE
Data Mining Scoring Engine FALSE
Transparent Data Encryption FALSE
Backup Encryption FALSE
Unused Block Compression FALSE
The strange thing is that whenever I issued
startup force;
or
startup mount exclusive;
with SYSDBA privileges, it reports: "obsolete / deprecate parameters specified ", is there sth wrong with the init parameters? -
SQL> select name from v$datafile;
NAME
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SYSTEM01.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\UNDOTBS01.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SYSAUX01.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\USERS01.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\EXAMPLE01.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\TEST.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SVSS.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\SVSS01.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\RMAN.DBF
E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\FLASH.DBF
10 rows selected.
SQL> create tablespace prod datafile 'e:\oracle\product\10.2.0\oradata\agile2\prod.dbf' size 50 m;
Tablespace created.
SQL> alter user flash1 default tablespace prod;
User altered.
SQL> connect flash1
Enter password: ******
Connected.
SQL> select * from tab;
no rows selected
SQL> create table flash(id number(23));
Table created.
SQL> insert into flash values(32);
1 row created.
SQL> commit
2 ;
Commit complete.
SQL> set time on;
14:20:54 SQL> connect /as sysdba
Connected.
14:21:03 SQL> select name from v$datafile;
14:21:11 SQL> drop tablespace prod including contents;
Tablespace dropped.
14:21:47 SQL> shu immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
14:22:22 SQL> startup mount
ORACLE instance started.
Total System Global Area 293601280 bytes
Fixed Size 1296332 bytes
Variable Size 104859700 bytes
Database Buffers 180355072 bytes
Redo Buffers 7090176 bytes
Database mounted.
14:23:29 SQL> flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss');
flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss')
ERROR at line 1:
ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
below
ORA-01245: offline file 11 will be lost if RESETLOGS is done
ORA-01111: name for data file 11 is unknown - rename to correct file
ORA-01110: data file 11: 'E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00011'
14:23:47 SQL> alter database rename file 'E:\ORACLE\PRODUCT\10.2.0\DB_1\DATABASE\UNNAMED00011' to 'e:\oracle\product\10.2.0\oradata\agile2\prod.dbf';
Database altered.
14:24:40 SQL> flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss');
flashback database to timestamp to_timestamp('2012-05-16 14:21:11','yyyy-mm-dd hh24:mi:ss')
ERROR at line 1:
ORA-38795: warning: FLASHBACK succeeded but OPEN RESETLOGS would get error
below
ORA-01245: offline file 11 will be lost if RESETLOGS is done
ORA-01110: data file 11: 'E:\ORACLE\PRODUCT\10.2.0\ORADATA\AGILE2\PROD.DBF'
14:25:05 SQL>
iam not able to recover the dropped tablespace using flashback database,,,iam tried this many times some time iam able to recover ,most of time iam getting above error only.
anyone help me,,
pl share ideas.
Thanks in advance;See flashback limitation
You cannot use Flashback Database alone to retrieve a dropped data file. If you flash back a database to a time when a dropped data file existed in the database, only the data file entry is added to the control file. You can only recover the dropped data file by using RMAN to fully restore and recover the data file.
so after dropping tablespace,you can't perform flashback.
http://docs.oracle.com/cd/E11882_01/backup.112/e10642/flashdb.htm#CFHFIBGH
What Do All 10g Flashback Features Rely on and what are their Limitations ? [ID 435998.1]
Edited by: Kuljeet Pal Singh on May 16, 2012 2:57 PM -
10g flashback database limitations
When are you not able to Flashback Database?
· Media failure, corruption or datafile deletion.
· The control file has been restored or recreated
· A tablespace has been dropped
· A data file has been shrunk
· A RESETLOGS operation is required.
If you dropped a schema and want it back, you can use flashback database to get it back. But if you dropped both schema and tablespace, it is not possible to get the schema back with flashback database.
Is there any other scenarios to use flashback database?
jzcI am trying to evaluate the benefit to turn on this feature. Please drop few lines of your opinion to help me.
-
Hi,
I want to assist my friend (he is same like me, newbie in oracle) to give a report on health of oracle database and server; which is running in his small software development and data feeding company. There are around
1. 50 users,
2. windows XP professional,
3. Oracle9i Enterprise Edition Release 9.2.0.1.0 – Production,
4. one database, No Archive Mode, oracle home is : c:\oracle\ora92 and database is stored at D:\ORACLE\oradata\orcl, 3 control files, 3 redo groups and 11 dbfs
5. 2.27 GB is free space on the drive of oracle home,
6. more than 1 GB RAM is in the system,
7. <what else more; I should describe, please let me know>
He has to submit a report on current status, health, performance etc. of oracle database and server. How should we design and get the data, please guide me.
Thanks & RegardsYou Mean Helath Check Report of the DB
Tablespace size?
Datafile Size?
Default tablespace?
UNDO management?
SGA?
buffer cache hit ratio?
library cache hit ratio?
There are so many other parameters..Performance cannot be predicted from remote site
But you can provide certain information
Here are some views which could be helpful
DBA_TABLESPACE
DBA_FREE_SPACE
DBA_DATA_FILES
V$CONTROLFILE
V$LOG--Meaning less since you run in archived mode
Number of Oracle Process allocated
UNDO RETENTION
SQL>show parameter process
SQL>show parameter UNDO
Do you have METALINK acces
1019546.6
this has everything then you can pass whatever they need
and many more -
hi,
can anyone tell me whata system and sysaux tablespace contains, and how to manage them.The system tablespace
The system tablespace is always available when a database is open (it cannot be taken offline).
The system tablespace stores the data dictionary (or their base tables, respectively).
The sysaux tablespace
The sysaux tablespace is new with Oracle 10g. It is used to store database components that were stored in the system tablespace in prior releases of the database.
Also, the tablespaces that were needed for RMAN's recovery catalog, for Ultra Search, for Data Mining, for XDP and for OLAP are going to sysaux with 10g.
Additionally, it is the place where automatic workload repository stores its information.
The SYSAUX tablespace was installed as an auxiliary tablespace to the SYSTEM tablespace when you created your database. Some database components that formerly created and used separate tablespaces now occupy the SYSAUX tablespace.
If the SYSAUX tablespace becomes unavailable, core database functionality will remain operational. The database features that use the SYSAUX tablespace could fail, or function with limited capability.
refer the links:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tspaces.htm#i1011659
Maybe you are looking for
-
How to know if a nokia lumia 920 is new or refurbi...
Dear, How to know if a nokia lumia 920 is new or refurbished? Thanks, Mauricio
-
Connect iPod Videos to Car DVD Player
Which wire would I need so I could play my videos on my iPod through my car DVD player?
-
Daisy-chaining Metric Halo ULN-2 with G-Drive HDD...
Hi all I have a Metric Halo ULN-2 which I use via Firewire on my iMac. The iMac is iMac 1.83GHz Intel Core Duo with 2Gb RAM (sadly, I don't think I can upgrade the RAM) and has only one Firewire Buss, so I am assuming, should I wish to use the G-Tech
-
BPEL human workflows: How to carry task parameters to another flow
Hi all i want to split the flows to make it maintainable. i have 8 humantasks including flow and when i split this, it will share 3-5 humantasks in each of them. i want to carry the task details from first flow to second one(History,payload and comme
-
Reprocess - Workflow in process status
Hi All, I am working with Workflow support, I don't know How to reprocess Workflow with the status is IN process. I know TC SWPR is a reprocess with error status. Thanks & regards Subramani.