Flashback Tables - Recover Index Name?

Dec 27, 2011

I fired following commands .

>create table t1(id number);
>create index indx_t1 on t1(id);
>drop table t1;
>flashback table t1 to before drop;

but when i fired
>select index_name , table_name from dba_indexes where table_name='T1';

it shows index name something like "BIN$QvTWVG3dTxmBBJ607f9CWQ==$0" so is their any way to recover that index name

View 2 Replies


ADVERTISEMENT

Backup & Recovery :: Difference Between Flashback Database And Incomplete Recover

Jul 23, 2012

What is difference between the flashback database(10g later) and incomplete recover?

View 5 Replies View Related

Backup & Recovery :: How To Recover Before 15 Minutes Table Data From Flashback

Mar 23, 2012

I delete some of the data from a table unfortunately and make commit on that on my production server.

getting back my all data of this table only of last 15 minutes.

View 6 Replies View Related

Flashback On Specific Tables

May 14, 2013

I'am using Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit with the following:

db_flashback_retention_target 1440
undo_management AUTO
undo_retention 900

Is it possible to enable flashback only to some specific tables?

For example, we are only interested in the capability of flashback tables scott.emp and scott.dept, no more.

View 2 Replies View Related

Server Administration :: Recover Space After Index Rebuild?

Apr 26, 2011

We have separate tablespaces for Tables and Indexes. Also Temp is in different temporary tablespace and UNDO also in UNDO tablespace and Index tablespace contains only Indexes. The tablespace usage for tables is 80% and Index is 91%.There is not enough disk space to allocate for the datafile on our system. I ran a rebuild on one of the Index but now notice the Index tablespace is 98% used soon after the rebuild finished.

How can i free up space for Index tablespace and why does the size of Index tablespace increased after the rebuild.

View 8 Replies View Related

Backup & Recovery :: Missing Some Tables After Recover To A New Host

Oct 20, 2011

My scenario is use RMAN to restore and recover database to a new host.The structure of two hosts are same.

In Host A:
1. Take a full backup.
2. Import a schema which has 191 tables in order to generate archivelogs.

In Host B:
I put all the folders(backupset, autobackup, archivelog) to the same directory. But after recovered the database, i checked that schema just has 175 tables, the latest few tables are missing.

View 5 Replies View Related

Index In Partitioned Tables

Jan 2, 2013

I would like to ask about indexes in partitioned tables.I have indexes on a partitioned table, it is partitioned by range method i.e based on Creation date time.All select queries sent to the table use the Creation date time. I have an index on Creation date time.Here is an example:

SELECT col1, col2, col3
FROM table1 where
date_time BETWEEN TO_DATE ('20120117 10:00:00','YYYYMMDD HH24:MI:SS')
AND TO_DATE ('20120117 13:00:00','YYYYMMDD HH24:MI:SS')
AND frmt_name = 'XXXX'
AND sender = 'YYYYY'
AND nature = 'ZZZZ'
AND type LIKE '548'
ORDER BY date_time
WHERE ROWNUM <= 5000
[code]....

do I have to add DATE_TIME to all indexes (IX_NAME_FORMAT_TYPE,IX_CCY) or not?

View 6 Replies View Related

SQL & PL/SQL :: Separate Index And Tables In Two Different Tablespace

Apr 14, 2013

How to saperate inndexes and tables in two different tablespcae.......???

View 2 Replies View Related

SQL & PL/SQL :: Index On Global Temp Tables

Jun 16, 2010

I am trying to use Global temporary tables, and index on this table to get my results faster. I can see even if I run any query on this table, it does full table scan and not Index scan..

create global temporary table abc_tab on commit preserve rows
as select a,b,c from xyz;

create index lmn on abc_tab(a,b,c)

View 10 Replies View Related

SQL & PL/SQL :: Create Index On Multiple Tables?

May 21, 2013

we create index on multiple tables in oracle

View 12 Replies View Related

RMAN :: Difference Between Recover Database And Alter Database Recover?

May 9, 2013

Oracle database 11.2

What is the difference between

recover database until cancel using backup controlfile; and alter database recover automatic until cancel;

1. in user managed and server managed backups. What would be the location of the controlfile which is used in (recover database until cancel using backup controlfile;) .

2. why user first option and why use second option.

View 2 Replies View Related

Performance Tuning :: Index Has Been Created On Both Depart_id For Two Tables

Jul 30, 2010

SELECT department_id
FROM (SELECT department_id
FROM employees
UNION
SELECT department_id
FROM employees_old )
WHERE department_id=100;
[code]....

The index has been created on both depart_id for the two tables. The only difference between the two I observed was the 1 recursive call for the 1st sql.and also, one additional view in the plan.There is a little difference in bytes sent over the network.

Statistics
----------------------------------------------------------
0 recursive calls
0 db block gets
6 consistent gets
0 physical reads
0 redo size
[code]....

Is there any performance impact you find in those above two sqls if you compare?

View 14 Replies View Related

Performance Tuning :: Creating Index On Base Tables Of A View?

Dec 9, 2010

I have a view on base tables holding historical data for previous 60 months(one table per month) with union all operators.create index on those base tables will improve performance or creating a primary key with disabled novalidate will improve for retrieving data?

The view has around 8 million data and used as a fact table with 4 dimension tables.A DTS package from MSSql side refreshes OLAP cube by retrieving data from these tables in oracle.

View 1 Replies View Related

How To Use Flashback Table

Jun 11, 2012

I have used FLASHBACK TABLE option in my oracle 10g database.

It works successfully but the indexes got system generated name after flashback table option.

how i get all the indexes with same name which was before flashback.

View 1 Replies View Related

PL/SQL :: Using Flashback Technology In Application

Oct 5, 2012

Can I use flashback in application, especially DBMS_FLASHBACK.TRANSACTION_BACKOUT. I import some information (from files) in my database and after that I want to revert that transaction(delete imported data). I did some test I took xid of the transaction from v$transaction and then executed

DBMS_FLASHBACK.TRANSACTION_BACKOUT

with that XID for parameter. Everything is fine but that time there was only one transaction, when there are many transaction how can I get the exact XID. I can use dbms_transaction.local_transaction_id to get information for transaction which is running. And when i tried to use flashback that way a deadlock occur and db killed the other transaction.

View 0 Replies View Related

No Flashback For Pluggable Databases?

May 9, 2013

I've just found out that 12cR1 will not (in all likelihood) allow "flashback database" for pluggable DBs. Am I the only one disappointed by that ? I use flashback db (+replay) a lot to revert and replay automated tests and I had plans to consolidate tenths of test environments into PDBs.

View 3 Replies View Related

Flashback Data Archive?

Aug 27, 2012

I heard about flaskback data archive. can i get some short example to understand in practical way

View 11 Replies View Related

Enterprise Manager :: Cannot Flashback RAW Of The Table

May 13, 2011

one of my user POM create one table using this statement

12:55:59 SQL> create table hello_world (emp_id number(4), emp_name varchar2(30))
;
Table created.

then insert some raw into this hello_world table

12:56:41 SQL> insert into hello_world values (1, 'Bill Gates');
1 row created.
12:57:51 SQL> insert into hello_world values (2, 'Steve Jobs');
1 row created.
13:00:32 SQL> insert into hello_world values (3, 'Chris Eaton');
1 row created.
13:01:19 SQL> commit;
Commit complete.

then i have drop this hello_world table

13:02:08 SQL> drop table hello_world;
Table dropped.;

then i have to connect with sys user

13:03:03 SQL> conn sys as sysdba
Enter password:
13:08:21 SQL> select current_timestamp from dual;
CURRENT_TIMESTAMP
---------------------------------------------------------------------------
13-MAY-11 01.10.21.691000 PM +05:30

[code].....

i flashback my this HELLO_WORLD table but why i cannot Flashback RAW of this table .what can i do if i want to flashback raw of this table which query i have to run,

View 4 Replies View Related

Query Tablespace For Flashback Enabled / Disabled

Jun 16, 2011

Since tablespaces can be enabled/disbaled for flashback is there a query that can tell me the flashback status of each tablespace in my DB.

View 2 Replies View Related

Server Administration :: Flashback Data Archive

Aug 23, 2011

I need store history for two tables in my system. I thought that Flashback Data Archive will be the best option. There is also another ways to do this but don't focus on this. I need to to this by FDA (Flashback Data Archive);

So my prerequisite was to create tablespace and flash back archive, and alter table to be archived.

create tablespace audit_archive datafile 'd:oradata etaaudit_archive.ora' size 100M;

create flashback archive audit_flash_archive
tablespace audit_archive quota 10G retention 10 year;

alter table teta_admin.t_prac flashback archive audit_flash_archive;

and everything works fine but on sys user.
i can query this table using "as of timestamp" clause

select prac_id, imie, imie_2, nazwisko, nr_ew from teta_admin.t_prac as of timestamp to_timestamp('2011-08-23 08:20:00','yyyy-mm-dd hh24:mi:ss')

but final construction of idea was to create additional user (interface), grant select on teta_admin.t_prac object and query archive data from interface user. and this is point of my failure. this don't work on new user.

interface user have such sys privs:

SQL> SELECT * FROM dba_sys_privs
2 WHERE grantee = 'INTERFACE';
GRANTEE PRIVILEGE ADM
------------------------------ ---------------------------------------- ---
INTERFACE CREATE SESSION NO

and table privs:

SQL> SELECT * FROM dba_tab_privs
2 WHERE grantee = 'INTERFACE';

GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE
------------------------------ ------------------------------ ------------------------------ ------------------------------ --------------------
INTERFACE TETA_ADMIN T_PRAC TETA_ADMIN INSERT
INTERFACE TETA_ADMIN T_PRAC TETA_ADMIN DELETE
INTERFACE TETA_ADMIN T_PRAC TETA_ADMIN ALTER
INTERFACE TETA_ADMIN T_PRAC TETA_ADMIN FLASHBACK
INTERFACE TETA_ADMIN T_PRAC TETA_ADMIN SELECT

what i need to do in order to query this flashback table from interface user. when i try to do this from this user oracle says ORA-00942.

View 9 Replies View Related

What Happen In Standby When Enable Flashback In Primary Database

Jan 11, 2013

what happen in standby when enable flashback in the primary database?

View 1 Replies View Related

Server Administration :: How To Delete Flashback Log And Release Space

Feb 15, 2012

How to delete flashback log and to release the space?

I guess that it maybe like archive log ,it can release the space using RMAN.But when i try a test ,it fail.

SQL> STARTUP MOUNT;
SQL> ALTER DATABASE FLASHBACK OFF;

View 6 Replies View Related

Server Administration :: How Much Flash Recovery Area Is Enough For Flashback

Aug 18, 2011

here's my settings

SYS@boston>SELECT ESTIMATED_FLASHBACK_SIZE FROM V$FLASHBACK_DATABASE_LOG;

ESTIMATED_FLASHBACK_SIZE
------------------------
45195264

SYS@boston>select name, value, issys_modifiable from v$parameter where name='db
_recovery_file_dest_size';

NAME
--------------------------------------------------------------------------------
VALUE
--------------------------------------------------------------------------------
ISSYS_MOD
---------
db_recovery_file_dest_size
9663676416
IMMEDIATE

SYS@boston>select * from v$recovery_file_dest;

NAME
--------------------------------------------------------------------------------
SPACE_LIMIT SPACE_USED SPACE_RECLAIMABLE NUMBER_OF_FILES
----------- ---------- ----------------- ---------------
D:Ora102chicagooston_recover
9663676416 1671241216 1103842304 50

SYS@boston>select * from v$flash_recovery_area_usage;

FILE_TYPE PERCENT_SPACE_USED PERCENT_SPACE_RECLAIMABLE NUMBER_OF_FILES
------------ ------------------ ------------------------- ---------------
CONTROLFILE 0 0 0
ONLINELOG .04 0 1
ARCHIVELOG .16 .01 21
BACKUPPIECE 16.84 11.41 22
IMAGECOPY 0 0 0
FLASHBACKLOG .25 0 6

6 rows selected.

SYS@boston>

I have configured a flash recovery area of 9g yet the system keeps complaining that i have not enough flashback logs?

SPACE_RECLAIMABLE 1103842304
ESTIMATED_FLASHBACK_SIZE 45195264

the space_reclaimable is more than ESTIMATED_FLASHBACK_SIZE, so how is it possible the system always complain not enough space?

[URL].....

Quote:

SQL> SELECT TO_CHAR(STANDBY_BECAME_PRIMARY_SCN) FROM V$DATABASE;

it returns me 0, I try to flashback the now defunct former primary db chicago, the system complains. so how much is really enough?

from

[URL]......

Quote:
V$FLASHBACK_DATABASE_LOG

View 1 Replies View Related

Server Administration :: Why Archive Should Be Turned ON Before Turning On Flashback

Aug 5, 2010

I have read it in books that flashback uses undo data to create the flashback data or to flashback the database to a time in the past.Then, what is the role of archive files in flashback operation. Why it is mandatory to turn on archiving before turning on flashback. Also, if you remove the latest archive files, you can NOT flashback the data to a time in past (Oracle complains of missing archive files).

View 8 Replies View Related

Server Administration :: Flashback Table Operation For The Sys User

Jun 7, 2010

Flashback table operations are not supported for the SYS user . I have found the above line in one of the article.

I don't know why the SYS user can not able to flash back the table.

View 5 Replies View Related

Data Guard :: Flashback And Fast-Start Failover

Jun 18, 2012

My Data Guard 's Enviroment:
Primary: 11.1.0.7 RAC 2 Nodes
Standby: 11.1.0.7 Single Instance

I want to implement Fast-Start Failover at my enviroment. Reading requirements, I found that Oracle Flashback is needed (I don't use Flashback on my databases).

Best Practices recommends 60 min (1 hr) for DB_FLASHBACK_RETENTION_TARGET if I just want to use Flashback to fast-start failover.

My questions:

What 's better, setup up flash recovery area on ASM or O.S. filesystem?
What is the recommended size for flash recovery area?

View 5 Replies View Related

Backup Flashback Data Archive And Restore On New Database?

Oct 14, 2012

Is there anyway to backup Flashback Data Archive (FBDA) data and can be restore on new database. I cannot find Oracle's document or any document explain about backing up this data.

View 6 Replies View Related

RAC/ASM Clusterware Installation :: Configuration Of Archive Logs And Backup Using Flashback

Jun 8, 2012

As per Client requirement, i need to configure archive log and backups in flashback.

View 3 Replies View Related

Text :: Index For Domain Index With Composite Domain Index (CDI) Very Slow

Jun 27, 2012

I am on 11.2.0.3 Enterprise Edition. We are using the new feature "Composite Domain Index" for a Domain index on a very large table (>250.000.000 rows). It really works with mixed queries. We added two number columns using FILTER BY.We have lots of DML on this table. Therefore, we are executing synchronize and optimize once the week. The synch behaves pretty normal. But "optimize_index" takes a very very long time to complete. I have switsched on 'logging' for the optimize process. The $I table takes some time but is finished normally. But the optimization of the $S table (that is the table created for the CDI feature) is running over 12 hours now - and far from being finished. From the logfile, I can see that it optimizes 1000 rows every 20 minutes. Here is the output of the logfile:

Oracle Text, 11.2.0.3.0
14:33:05 06/26/12 begin logging
14:33:05 06/26/12 event
14:33:05 06/26/12 process $N for optimize: SEQDEV.GEN_GES_DESCRIPTION_CTX_I
14:33:16 06/26/12
14:33:16 06/26/12
[code]....

I haven't found a recommendation from Oracle not to use "optimize_index" for Domain Indexes with CDI. But in my case, it would be much faster just to drop and recreate the Domain Index in question.

View 5 Replies View Related

Performance Tuning :: Local Index Versus Global Index On Partitioned Table

Jun 28, 2011

I have a huge table (about 60 gb) partition over range. The index on this table is global index created on 4 columns together. I have a query which is running very slowly. The explain plan is showing the use of this global index.Explain plan is not showing pstart and pend because the index is global.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved