ORA-38305: object not in RECYCLE BIN

Answer Posted / b.v.ramana

This error is due to setting of flash back parameters
u can enable flash back as


SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.

Total System Global Area 184549376 bytes
Fixed Size 1300928 bytes
Variable Size 157820480 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Database mounted.
SQL> alter database archivelog;
Database altered.

SQL> alter system set DB_FLASHBACK_RETENTION_TARGET=4320;
--4320 min(time)
System altered.

SQL> alter system set DB_RECOVERY_FILE_DEST_SIZE=536870912;
System altered.

SQL> alter system set DB_RECOVERY_FILE_DEST='/u02/fra';
System altered. --a recovery file size of 512MB and defined
the location for the file recovery area (FRA) as /u02/fra.

SQL> alter database flashback on;
Database altered.

SQL> alter database open;
Database altered.

oracle@nexus6 ~$ sqlplus ben/passwd
SQL*Plus: Release 10.1.0.2.0 - Production on Thu Nov 4
00:41:36 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 -
Production
With the Partitioning, OLAP and Data Mining options


and u can test now as
1) create a table
2) insert some records
3) and drop the table
then

4)flashback table <table_name> to before drop;

exec it u will get back the table with data

cheers................

BHENDE VENKATARAMANA

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

ORA-26028: index string.string initially in unusable state

3409


Hi guys, I have four tables those are emp,dept,eliminate and uneliminate. i wrote small cursor..when i run, it display one error (ORA-01403 nodata found)... The query is: Declare cursor c1 is select e.ename emp_name from emp e,dept d where e.deptno=d.deptno group by deptno; r1 c1%rowtype; test_emp varchar2(200); begin for r1 in c1 loop begin select eliminate_emp into test_emp from eliminate t,uneliminate ut where t.number=ut.number and t.deptno=e.deptno and rownum<1; end; dbms_output.put_line(r1.emp_name); end loop; end; Thanks...

2147


When i am connect database through toad,one error occured. ORA-12514: TNS:listener does not currently know of service requested in connect descriptor. plz help me thanks advance.............

2330


if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires

2238


NZE-28890: Entrust Login Failed

1414






ORA-16626: failed to enable specified object

1780


IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier

2308


ORA-26076: cannot set or reset value after direct path structure is allocated

1483


ORA-26084: direct path context already finished

1492


ORA-16516: The current state is invalid for the attempted operation.

8088


invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity

2867


ORA-26032: index string.string loading aborted after string keys

1662


IMP-00064: Definition of LOB was truncated by export

5897


How to resolve QSM-01108 error. I have no OR conditions in my query, but do have 9 IN conditions. The error says the max limit is 2 while I have 257 number of disjuncts. However, if I remove even a single IN condition, the query is rewritten. I cannot change my query. How can I resolve this issue?

2319


ORA-26027: unique index string.string partition string initially in unusable state

6165