Initial charge of small targets via flashback query tables?

A simple question.

Scenario: I am currently building a warehouse near real-time, streaming some basic facts and tables between two databases. I'm considering creating a simple "reset" package or reset the dimensions a fix all-out for various scenarios of problem (because they are really small, like the 15 000 lines of each). The first time I loaded the target tables, I used the pump data with good success, however as reloading of data streams on the full path transformations is a bit more complex.

Considered as a solution: I'll just write a nice via db flashback query - bind a specific (recent) SNA data recovery and then I reset the table on this SNA in streams...

Is this a good idea? Or is there something obvious like a yellow and green elephant in the gift shop that I forgot? Why I'm worried at all, it's because in manuals, this solution is not mentioned among the means of support to the initial load of a target table, and I think that there is a reason for this?

Yes.
I think that DataPump is regarded as more "mainstream" because that's what the implementation internal functions simple stream in dbms_streams_adm.
However, any approach that gives you a consistent copy for a known SNA will work, and the document is not clear about this.

Tags: Database

Similar Questions

  • Snapshot too old with flashback query

    Hello

    Using oracle as a result of sql 11.2.0.3

    create table < table_name > nologging
    tablespace mis_data
    ACE
    Select *
    de retailer_trn_report_type rt
    UNMIS
    Select *
    de retailer_trn_report_type as of timestamp systimestamp - interval '4' hour

    Table was about 300 lines added 12 rows to it.

    When tried previously obtained snapshot too old message.   put comprae as had before backup did insert but curious mentioned dba got the alert message

    : EM Event: WARNING: IKW - capture instant too old error found: SQL ID cf4z1f0v9t12f, instant 0x0036.90d69b46 YVERT, YVERT recent 0x0036.92433b72, Undo Tablespace UNDOTBS1, current undo retention 2 082.


    Why is it when the table is so small - it reason for flashback query.


    Thank you

    Big undo tablespace that is more space.

  • How can I set up a website that charges a small fee when landed on?

    Original title: Mother Mary

    How can I set up a website that charges a small fee when landed on? I have something to show to the world & I, that the award is not unreasonable

    [Moved from the community centre of Participation]

    First of all, this is not the arena for that. Do some research on Google and Bing.

    Then, if someone has to pay a fee, it should be their choice, whether they pay or not. It'snot automatic. You will need to research the acceptance of credit card, merchant gateways, set bit. And it won't be cheap.

  • Spectrum HP X 2 13: duration of initial charge of HP spectrum 13 X 2

    Hello

    you just bought a new spectrum of HP 13 X 2 which should arrive in 4 days and I wanted to know if there is a load time initial or do not see that I'm mixed messages looking for an answer online.

    Hello @Oshry,

    I read your post about how you're wanting to know if there is an initial charge time for your laptop, and I'd be happy to help you in this case!

    According to DavidPK, an Expert from HP on the forums:

    "The first time you charge the battery, I would leave the AC adapter plugged in for at least 3 hours after that it shows to be charged fully (100%).  After that, just to recharge the battery in the normal way.  Lithium-ion batteries are better maintained by charge when their charge level drops to about 40% of their total capacity. »

    Reference: http://h30434.www3.hp.com/t5/Other-Notebook-PC-Questions/charging-laptop-Battery-for-the-first-time-after-more-the-6/m-p/605227/highlight/true#M22810

    I hope this helps!

    Best regards

  • iSCSI initiator error - cannot add target

    I am currently using a MD3000i in a test environment.

    The installation is very simple:

    The MD3000i is directly connected to a Windows Server 2003 (x 64 Enterprise edition).

    The management software is completely installed on this server. Only one controller is used to manage the PowerVault (partially managed)

    All default settings are used. I have configure the system according to the guide online "Board installation and configuring iSCSI" found on the installation CD.

    I get an error when configuring the Mirosoft iSCSI initiator. As soon as I try to add a port for iSCSI (iSCSI initiator properties panel-> discovery-> target portals tab), I get the following error message:

    "invalid sendtargets response text was detected.

    After accepting this error, the port is added to the list, but will not appear in the tab target, it is therefore impossible to connect to this port. The port of host iSCSI on the table and the address source on the server IP responds to ping without problem.

    At this point, I am only able to connect to the MD3000i with the out of band management and cannot access the storage in any way.

    Any help would be greatly appreciated

    Robert


  • Generate Flashback Query commands from a script

    Hello community,

    I'm trying to locate a command or a script that I can keep on hand in case I needed to restore the data on every table in a tablespace using Flashback Query.  I am having some problems of syntax.  I'm trying to capture all the table names in a tablespace and generate orders create table for all people.  It's playback my values of time because links.  Did anyone see a way to fix this?  The escape character \ is not recognized.

    (11.1.0.7) connected as the owner of the schema.

    SQL > Select 'create table TESTER1.' | table_name| "_BAK in select * from TESTER1.' | table_name |

    ' 2 ' from timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' YYYY-MM-DD HH24:MI:SS 'YYYY-MM-DD HH24:MI:SS') e |

    "3 from user_tables where nom_tablespace = superior '(& 1)";

    Enter the value 1: testtbl

    "old 3: from user_tables where nom_tablespace = superior '(& 1).

    3 new: from user_tables where tablespace_name = upper '(testtbl)'

    SP2-0552: Bind 'MI' undeclared variable.

    Thanks in advance.

    It works now.

    I've used quote that makes it easy operator use the quote.

    SQL > col col1 format a70 word_wrap

    SQL >

    SQL > select "create a table TESTER1." | table_name | "_BAK in select * from TESTER1.' | table_name |

    2 q'[from timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' ' YYYY-MM-DD HH24:MI:SS);] "as col1

    3 from user_tables where nom_tablespace = upper('&1');)

    Enter the value 1: example

    old 3: from user_tables where nom_tablespace = upper ('& 1')

    3 new: from user_tables where nom_tablespace = upper ('example')

    COL1

    ----------------------------------------------------------------------

    create table TESTER1. T3_BAK in select * from TESTER1. T3 as a

    timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' YYYY-MM-DD)

    ('HH24:MI:SS);

    create table TESTER1. T1_BAK in select * from TESTER1. T1 to the

    timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' YYYY-MM-DD)

    ('HH24:MI:SS);

    create table TESTER1. T2_BAK in select * from TESTER1. T2 to the

    timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' YYYY-MM-DD)

    ('HH24:MI:SS);

    COL1

    ----------------------------------------------------------------------

    SQL > create table TESTER1. T3_BAK in select * from TESTER1. T3 as a

    2 timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' YYYY-MM-DD)

    3 HH24:MI:SS');

    create table TESTER1. T3_BAK in select * from TESTER1. T3 as a

    *

    ERROR on line 1:

    ORA-00942: table or view does not exist

    SQL > ed

    A written file afiedt.buf

    1. create the Bhavesh.T3_BAK table in select * from Mary. T3 as a

    2 timestamp TO_TIMESTAMP ('2015-05-20 12:30 ',' YYYY-MM-DD)

    3 * ' HH24:MI:SS)

    SQL > /.

    Table created.

  • My CS5 serial number no longer works. Should the initial charge be struck out?

    My mac has been cleared and had a clean install with el capitan. My extended version of CS % CD serial number no longer works. Should the initial charge be registered? If so, how?

    [Left the lounge general Forum for a place that is more likely to be able to help and short title - Mod]

    Just to give you a bit of a warning, likely of CS5 does not work on El Capitan without issues - according to which apps you are trying to use.

    If you disable your software before wiping the machine, you will need to contact Adobe. You will need your serial number or the handy Adobe Identification Code .

    Before you get much too far away from yourself, you could consider to put back your old operating system on this machine so that CS5 will actually work without problem. (Or just to get a subscription to the CC. It includes CS6, CC, CC 2014, CC by 2015 and whatever they call the version that just came out two days ago...)

  • How to make an initial charge followed a change of replication to the same process of the user (Java adapter) output?

    I need to:

    -Complete an initial load from an Oracle database to a user (process Java of an adapter) output process, with:

    TABLE..., SQLPREDICATE "FROM SNA... » ;

    -Then start a normal change of replication from the SNA for the same output of the user process, for example with:

    Register extract... RCS container (...) database...

    Add extract..., tranlog integrated, Yvert...

    I also need to have a clear dividing line between the end of the initial charge and the beginning of replication of change.

    That is, I need to know when the initial charge ended replication in the output of the user.

    I can do the initial charge and the work of replication of change, but I can't figure out how to do the two processes feed at the same exit of user procedure.

    It is because of the initial charge producing "extract files", compared to the extract of change generating the "path of the files', and those who cannot be loaded by the same process of output to the user.

    I don't understand why there is such a distinction and limitation.

    Is there a way to extract initial loading of writing to a log file, which could be picked up by the extract of change?

    If I could turn the extract files into files of trail, that would solve most of my problems.

    I believe that those who have exactly the same file formats (as is from logdump), and the only difference is that tracks have an additional checkpoint file. My understanding is correct?

    Is there a hack that would allow me to turn extract files in a path?

    Thanks in advance for any idea,

    --

    Romain Lenglet

    Roman. [email protected]

    1 do the initial load and wait for it to complete. Let's say the initial load generated more trails

    / tmp/ab000000

    / tmp/ab000001

    / tmp/ab000002

    / tmp/ab000003

    2. stop the initial load snippet once its done.

    3. set up an excerpt from capture of change online and mention the same prefix for trail

    EXTTRAIL/tmp/ab

    Now, the important thing is to let the extract online from sequence 4 and we do this with the following command,

    ggsci > Add ext ,...

    ggsci > add exttrail/tmp/ab, seqno 4, ext

    When we add the checkpoint of trail, we ask the extract from the sequence 4

    You can then start out it online and it will send sequence 4.

    4 then add and start an extract from pump to read the sequence 0 trail and run with PASSTHROUGH

    Thank you

    REDA

  • Flashback Query

    Hello

    My version of the database: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production

    Select flashback_on in the database of v$.

    FLASHBACK_ON

    ------------------

    NO.

    But when I run the present:

    my session: select count (*) from < my_table >

    -------------

    31336

    another session: delete from < my_table > where... then validate

    my count (*) session: < my_table > selection from to_timestamp ('08.10.2013 10,00', 'dd.mm.yyyy hh24.mi') TIMESTAMP

    -----------

    186

    Why I got so flashback is not active?

    FLASHBACK DATABASE is different from FLASHBACK QUERY.   FLASHBACK QUERY does not require the database to allow Flashback.  It requires only that UNDO_RETENTION (or Auto_Tuned_Undo_Retention) is sufficient.

    Hemant K Collette

  • The administration server is not reachable from the node target via HTTP (S)

    Hi all

    I tried add Host in Oracle 12 c. I previously added Linux host OS, but I couldn't add OS AIX in 12 c. I did the auto update for Agent of AIX. You can find my OS and DB info on below.

    Server Oracle 12 c - OS is SunOS 5.10
    Client host Oracle 11.2.0.1.0 - OS is AIX

    During the installation, I got this error message "the administration server is not reachable from the node target via HTTP (S). In topology, we do not use any firewall... As I said I've added Linux and SunOS but AIX does not...

    How can I solve that?

    B.R

    You already mentioned the metalink note? Otherwise please see note

    EM 12: Agent deployment fails with error "the administration server can be reached from the node target via HTTP (S)" [1393450.1 ID]

    Kind regards
    http://www.oracleracexpert.com
    Remove the grid or the repository targets control agents
    http://www.oracleracexpert.com/2010/06/remove-grid-control-agents-or-targets.html
    Tablespace transportable export and import on the same Endian platforms
    http://www.oracleracexpert.com/2009/08/transportable-tablespace-export-import.html

  • Flashback Query and XML DB

    Hello

    Is it possible to use hierarchical XML DB indexes with flashback query? Is it possible to use the flashback with an index field query at all?
    When I create a file test.xml in public and subsequently remove and try to pick up after deleting it doesn't seem to be there:
    SELECT any_path FROM resource_view  AS OF TIMESTAMP TO_TIMESTAMP('20101129125302','YYYYMMDDHH24MISS') 
    WHERE EQUALS_PATH(res,'/public/test.xml')=1
    However, if I try it it works all of a sudden:
    SELECT any_path FROM resource_view  AS OF TIMESTAMP TO_TIMESTAMP('20101129125302','YYYYMMDDHH24MISS') 
    WHERE ANY_PATH='/public/test.xml'
    It seems therefore that the hierarchical index used if I use EQUALS_PATH is still "stuck in time present" and does not behave as it would if it was 5 minutes ago.
    Confusing all this jump back in time. I hope you get the idea. ;-)

    In general flashback is not supported with the repository, sorry...

  • Question about flashback Query

    You can compare a line to an earlier version of himself by using the Flashback Query feature? Without changing the current value of update?

    In a situation such as;
    CREATE TABLE EX (ID NUMBER(5) PRIMARY KEY, AMOUNT NUMBER(5));
    
    INSERT INTO EX VALUES (1,100);
    
    commit;
    
    UPDATE EX SET AMOUNT = AMOUNT - 50
    WHERE ID = 1;
    
    commit;
    Is it possible to make an ACE OF the request to give a difference of the current value of the field AMOUNT reduced by the previous value?


    Something like...

    SELECT ID... Less old news...
    WHERE ID = 1

    TIA

    Published by: kmc5117 on October 4, 2010 19:05

    Published by: kmc5117 on October 4, 2010 21:32

    Published by: kmc5117 on October 4, 2010 21:32

    Hello

    Of course, you can do:

    CREATE TABLE EX (ID NUMBER(5) PRIMARY KEY, AMOUNT NUMBER(5));
    
    INSERT INTO EX VALUES (1,100);
    
    commit;
    
    ACCEPT     x     PROMPT     "=====  Wait at least 5 seconds, then press [ENTER]  ====="
    
    UPDATE     EX
    SET      AMOUNT = AMOUNT - 50
    WHERE      ID = 1
    ;
    
    commit;
    
    SELECT     w.amount          AS was
    ,     i.amount          AS is_now
    ,     w.amount - i.amount     AS old_minus_new
    FROM      ex     AS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL '5' SECOND)
              w
    JOIN     ex     i     ON     w.id     = i.id
    ;
    

    Output:

    Table created.
    
    1 row created.
    
    Commit complete.
    
    =====  Wait at least 5 seconds, then press [ENTER]  =====
    
    1 row updated.
    
    Commit complete.
    
           WAS     IS_NOW OLD_MINUS_NEW
    ---------- ---------- -------------
           100         50            50
    
  • Flashback work table with a deleted column

    Oracle Database 10 g Express Edition Release 10.2.0.1.0 - product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    AMT for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production

    Hello

    I have the following problem.

    I accidentally dropped a column containing the data of a table and to restore the state table, it was before I did.

    I found a reference on the internet which States that you can use flashback to retrieve a table to a set in the past point, even if you deleted a column.
    Flashback Table
    
    Just as the flashback query helps to retrieve rows of a table, FLASHBACK TABLE helps to restore the state of a table to a certain point in time - even if a table structure change has occurred since then. The following simple command will take us to the table state at the specified timestamp:
    
    SQL> FLASHBACK TABLE Employee TO 
               TIMESTAMP ('13-SEP-06 8:50:58','DD-MON-YY HH24: MI: SS');
    
    Reference - http://www.orafaq.com/node/872
    My DBA has sent me the following information;
    Oracle Metalink note  
    
    Limitations and Restrictions on Flashback Table :
    
    Flashback Table operations are not valid for the following type objects: tables that are part of a cluster, materialized views, Advanced Queuing (AQ) tables, static data dictionary tables, system tables, remote tables, object tables, nested tables, or individual table partitions or subpartitions.
    
    The following DDL operations change the structure of a table, so that you cannot subsequently use the TO SCN or TO TIMESTAMP clause to flash the table back to a time preceding the operation: upgrading, moving, or truncating a table; adding a constraint to a table, adding a table to a cluster; modifying or dropping a column; adding, dropping, merging, splitting, coalescing, or truncating a partition or subpartition (with the exception of adding a range partition).
    
    You cannot rollback a FLASHBACK TABLE statement. However, you can issue another FLASHBACK TABLE statement and specify a time just prior to the current time. Therefore, it is advisable to record the current SCN before issuing a FLASHBACK TABLE clause.
    Then my return of flame using DBA in this situation or not?

    Ben

    >
    Is the ORAFAQ, a site with a good reputation for more information.
    >
    I found that it is quite reliable. But when ANY site talking about a newly introduced feature, it must trigger at least one indicator "attention". There may be so many variables affecting the functioning of a new feature or is used unless you see a working example, you must create your own test case.

    As I said some things, like your question above, can be easily verified, so there is no reason to rely on any document to see if it works.
    >
    Is anyway to cancel this kind of thing or it is unrecoverable?
    >
    Almost nothing is "sunk", if you have the right type of backup. For a deleted column, you have an export of the table before the fall.

    Recommended for small changes DDL (for example related to an incremental update) is to take an export of the affected table.

  • How FLASHBACK all TABLEs and indexes in a certain pattern for a restoration of p?

    Today I read a few web pages on how to use FLASHBACK to restore to a Restore Point.

    Unfortunately, all of these examples show just how to restore a single TABLE for example

    FLASHBACK TABLE t to RESTORE POINT before_we_do_anything;

    But how can I FLASHBACK all TABLEs (and indexes and other dependent objects) in a certain pattern to a one-step restore point)?

    FLASHBACK myschema.* to before_we_do_anything POINT of RESTORATION;

    does not work.

    Peter

    There is nothing like that. However, you could flashback the entire database to a point in time. It would of course have implications through patterns all the good.

    Nicolas.

  • ORA-01555 flashback query

    I'm trying to understand how to use flashback to watch all the versions of a record.

    It is a new server Oracle 11 g on my Windows XP workstation.
    I am to evaluate the Total Recall option.

    After that I ran
    Update employees set salary = salary + 100 where employee_id = 100;
    Once the query has worked (with the appropriate values for the moment):
    SELECT versions_starttime, versions_endtime,
    versions_xid, versions_operation,
    first_name, last_name, salary
    OF hr.employees
    VERSIONS BETWEEN TIMESTAMP
    TO_TIMESTAMP (' 2009-10-06 09:00 ',' ' YYYY-MM-DD HH24:MI:SS ")
    AND TO_TIMESTAMP (' 2009-10-06 11:06 ',' ' YYYY-MM-DD HH24:MI:SS ")
    WHERE employee_id = 100;

    After two other updates and a few hours, I get ORA-01555 snapshot too old...
    However, a slightly different query works:
    SELECT versions_starttime, versions_endtime,
    versions_xid, versions_operation,
    first_name, last_name, salary
    OF hr.employees
    VERSIONS BETWEEN TIMESTAMP MINVALUE AND MAXVALUE
    WHERE employee_id = 100;
    Data continues to fall on this query. It was posted a few hours ago.
    What is TIMESTAMP MINVALUE in this context?

    If I tighten the start time, I don't get the error, but the old data are not displayed.

    I can get all versions of the record (one at a time) via
    SELECT employe_id, last_name, salary
    OF hr.employees
    FROM TIMESTAMP TO_TIMESTAMP ('2009-10-06 09:20 ',' ' YYYY-MM-DD HH24:MI:SS)
    WHERE employee_id = 100
    /

    so, looks like they are in archive flashback. But the addition of versions_xxx to the query raises an ORA-0904.

    So it seems that THE TIMESTAMP goes against of the archive of flashback but VERSIONS BETWEEN TIMESTAMP goes against?


    TIA

    Hello

    you have not specified the number of oracle version 4-digit...?
    See Bug: Bug 6933768 - or Doc ID: 6933768.8 in metalink.

    -Pavan Kumar N

Maybe you are looking for

  • Is it possible to undo editing library picture on Mac OS?

    Hi all I tried to open the photos app today and he shouted that he could not import the library at first launch. Googled around and found that we can hold cmd + option to launch the repair of the library. Repaired and I can not find the photos now. I

  • How will I know if my 2011 mbp is low or Hi Res?

    I bought a MBP of the store with whom I work, she needed a new LCD, but I didn't know that there are two different resolutions available, and since the LCD is ruined I have no real way to see that it came with. It's an i7 2.0 ghz with a brilliant dis

  • 15 - r110na: connected standby

    This laptop has moderator drivers installed as part of the Windows 8.1 desktop activity. These drivers allow standby connected.  I don't know if this model of laptop supports connected before.  Anyone know please? https://social.msdn.Microsoft.com/fo

  • Designjet C1633b: Test Page shows only the black bars

    I followed the instructions of Bob and actually got my Designjet wake up!  I have his parallel cable connected to a USB adapter and programmed to the USB001 virtual port in my computer of latest windows 7-64 bit.  I use the driver for the HP Designje

  • Wireless HP Officejet 4500 G510n all-in-one printer

    I don't receive a no driver found. Printer is on peripheral Panel but looks like a large moniter. What should do?