Home » SQL & PL/SQL » SQL & PL/SQL » Why this happens with Recyclebin in Oracle (Oracle DB, 10g R2, Windows server 2008 R2)
Why this happens with Recyclebin in Oracle [message #648505] Wed, 24 February 2016 06:15 Go to next message
mdsirajoddin
Messages: 20
Registered: July 2011
Location: Hyderabad
Junior Member

select * from tab;

some tables data
.
.
.
BIN$7ek/inXeSaW2dtKYxtNoTQ==$0 TABLE (null)
BIN$aVPeQu17QxWuILhdnyTYeA==$0 TABLE (null)
BIN$enEbb7yXSIahLLFzALsg4g==$0 TABLE (null)
BIN$csvnlWvuRFKNhNQX0+Dw/w==$0 TABLE (null)

 
select object_name, original_name, type, can_undrop as "UND", can_purge as "PUR", droptime
from recyclebin;
 
 
no rows selected
 
 
select * from "BIN$7ek/inXeSaW2dtKYxtNoTQ==$0";
 
 
7839 KING PRESIDENT 17-NOV-81 5000 10
7782 CLARK MANAGER 7839 09-JUN-81 2450 10
7934 MILLER CLERK 7782 23-JAN-82 1300 10
 
 
 
 
SQL> purge table "BIN$7ek/inXeSaW2dtKYxtNoTQ==$0";
purge table "BIN$7ek/inXeSaW2dtKYxtNoTQ==$0"
*
ERROR at line 1:
ORA-38307: object not in RECYCLE BIN
 
 
-- actually this table name is emp10
 
flashback table emp10 to before drop
*
ERROR at line 1:
ORA-38305: object not in RECYCLE BIN


Why this happends if there is no table in Recyclebin, if its the case how the data getting retrieved when I query "select * from "BIN$7ek/inXeSaW2dtKYxtNoTQ==$0";".

Thanks in advance

mdsirajoddin
Re: Why this happens with Recyclebin in Oracle [message #648509 is a reply to message #648505] Wed, 24 February 2016 06:44 Go to previous messageGo to next message
Michel Cadot
Messages: 68776
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

There is a known bug in 10g.
Post the full version number (4 decimals).

Re: Why this happens with Recyclebin in Oracle [message #648510 is a reply to message #648509] Wed, 24 February 2016 06:47 Go to previous messageGo to next message
mdsirajoddin
Messages: 20
Registered: July 2011
Location: Hyderabad
Junior Member


SQL> select * from 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
Re: Why this happens with Recyclebin in Oracle [message #648511 is a reply to message #648510] Wed, 24 February 2016 06:55 Go to previous messageGo to next message
Michel Cadot
Messages: 68776
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

The bug is fixed in 10.2.0.4.
Is this a real problem for you?
Is this a production database or a test one?

Re: Why this happens with Recyclebin in Oracle [message #648520 is a reply to message #648511] Wed, 24 February 2016 09:42 Go to previous messageGo to next message
mdsirajoddin
Messages: 20
Registered: July 2011
Location: Hyderabad
Junior Member

its development,

My Production is :

10.2.0.4.0

can we do anything here in 10.2.0.1.0.. Its looking like bush when I try tables...
Re: Why this happens with Recyclebin in Oracle [message #648521 is a reply to message #648520] Wed, 24 February 2016 10:01 Go to previous messageGo to next message
Michel Cadot
Messages: 68776
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

Drop these BIN$ tables.
And patch your database in 10.2.0.4 is the simplest way to prevent from it happens again.

Re: Why this happens with Recyclebin in Oracle [message #648524 is a reply to message #648521] Wed, 24 February 2016 11:17 Go to previous messageGo to next message
mdsirajoddin
Messages: 20
Registered: July 2011
Location: Hyderabad
Junior Member

Hi Michel,

Thanks for your time.

I am basically a developer not a DBA. My project is in process to upgrade DB to 11g R2 (as its my suggestion). Any problems if I do it to 12C.

pls let me know any consequences.
Re: Why this happens with Recyclebin in Oracle [message #648525 is a reply to message #648524] Wed, 24 February 2016 11:20 Go to previous message
Michel Cadot
Messages: 68776
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

New question, new topic, do not mix up the questions in a single one or the site will become a mess.
Start a new topic and explain in details your issue.

Previous Topic: ORA-00600: internal error code
Next Topic: External table error
Goto Forum:
  


Current Time: Sun May 31 12:12:43 CDT 2026