How do i mirror part of my database at a specified time?

Hi all,
I'm very new to using Oracle so please bare with me. My situation is i'm working for a warehouse company producing their website. In order to search our online catalogue I need to duplicate the product table everyday at a specific time. This is so we can access the data and use it for dev purposes without screwing with the warehouse database or slowing it down.
I don't know where to start on this so some pointers would be much appreciated.
Simon

If you are duplicating the product table to the same database or a linked database you can use CTAS. For example
CREATE TABLE product_22_Oct_2008 AS SELECT * FROM product;
If you are duplicating the product table to a different database you can use data pump. For example
expdp user10385493 DIRECTORY=dpump_dir1 DUMPFILE=user10385493.dmp TABLES=product
Edited by: Joe Bernardo on Oct 22, 2008 10:22 AM

Similar Messages

  • How to schedule a concurrent request to run at a specified time/day?

    Hi All,
    How to schedule a concurrent request to run at a specified time/day (ex: Sunday 12pm)?
    Thanks,
    Chiru
    Message was edited by:
    Megastar_Chiru

    Is this to run periodically ?
    During the request submission, click schedule, choose the specific days, and click on S = Sunday.
    Change the start date on the date of the sunday you want to run, eg : 15-JUL-07 14:00:00, change the end date as well.

  • How to find mac address of a client computer in specified time and port in WIFI WCS Control system

    how to find mac address of a client computer in specified time and port in WIFI WCS Control system

    WCS record-keeping is very crude.  
    You'll get the time/date when the client authenticated.  You'll get the local inside address but you'll need the router to translate the outside IP address and the port.  
    You will need a proxy server to determine what sites did a wireless client goes.

  • How to identify that my physical standby database in use real time apply?

    Hi,
    Can any one give me the SQL to identifiy that my physical standby database is in real time applying redo logs?
    Its urgen please....
    Thanks.

    You could just look at the alert log. Look for "Recovery of Online Redo Log"
    Or you could select from v$standby_apply_snapshot to see if the standby is up-to-date.
    select thread#, to_char(snapshot_time,'dd-mon-yyyy:hh24:mi'),
    to_char(applied_time,'dd-mon-yyyy:hh24:mi'),
    to_char(newest_time,'dd-mon-yyyy:hh24:mi') from V$STANDBY_APPLY_SNAPSHOT;

  • How to Set Automatic to turn on and off at specified time my TV with STB

    It seems very frustrating talking with Verizon tech support, that's why I turn to you guys to find if anyone knows the answer to my question above.,from my experience calling verizon for my tech support regarding fiosTV and most of my experience from Verizon are either inept and giving the customer the run around by keeping you on hold for the longest and not having the answer after all the time I spend with the tech on the phone or they will tell you that the that there is no such thing; and when you call again when you get another tech on the phone you get completely different answer if not an inept answer. 
    My Specific question is, if  I turned off my STB (top box) and my TV at a particular time; and I like my TV with STB to turn on at a specified time ( example I turned off my STB and TV at 9:00 PM ) and would like my TV with the STB to be turn on like 11:00 PM to turn off at 12:00 midnight by itself, not to record  but just to turn on as reminder and to serve as power saver incase I fall asleep ( this is just example scenario). How would I do that? The manual of either remote control or the STB does not provide that information. My television manual say the TV can but I can not turn it on automatically with the STB connected.
    I called Verizon tech, he first sounded inept and sounded like he just talking from a scripted lines, and would not tell me straight forward that he does not know the answer; I  explained that I switched to Verizon Fios for its claim in high and advance technology as they compare themselves by far higher in technology as compared with Cable or direct TV, and with Cable Vision I was able to used the above automatic turn on and off with the remote; I asked for his supervisor or maybe more expert tech support, He turned over the call to his supervisor, who told me that the STB or the remote Fios TV does not have that level of capability which sounded to me like a joke, he also told me that the STB can not be turn on and off because STB is always set as on; I told him I can see the green light turns on and off on the STB each time I press the ON button on the Verizon Remote; he defended that its always on because the timer is ON, and he told me instead FIOSTV has another feature that although it will not turn the feature on and off automatically, it will serve as reminder, I asked him How to carry out that function, the tech supervisor said  to me to just press the record button on my remote, which I know right away that it will just record, and  I told him that its not what I want to accomplish, this Tech Supervisor insisted that it will not record but will set to notify me, but surely it did record and it just wasted and used my DVR memory capacity the time when he put me on hold for a long period of time, I knew it recorded because the red button on the STB/TVR was on., and it did not notify me in anyway what time the TV and STB will turn on. That was a complete  waste of time, instead of him getting the issue to higher level of their tech support and try to research thru and get back to the client. To me, simple feature as this, is such absurd to claim that fiosTV has more advance features than others, where infact they can not even have their tech support answer such simple question.  
    Any one here has any idea, please help.

    The set top box does not offer any auto on or auto off feature. 
    you can only do that if your TV offers the feature. 
    If neither your TV nor the STB offer that feature (in this case the stb does not offer) then you can go to a radio shack or a similiar store and purchase a AC timer.  they make them and you plug them into your wall, they are very cheap.
    I have had directv and fios and neither of my systems did an automatic on or off. 
    BUT my samsung TV upstairs does have that feature (auto on and off)   and I have not checked my mitsubishi downstairs. 
    so you may want to check your settings on your TV to see if it will do it, like my samsung does. 

  • How to find # of sessions connected to database between a specific time?

    Hi guys,
    My database is 10.2.0.2 on a four node RAC Cluster. OS is RHEL4.
    I was watching total # of session (without system processes) on 9/24/08 at 9AM (from gv$session view) and total sessions across all four nodes were little over 1600. Following was the query I was using to count #of sessions.
    select s.inst_id, count(*) from gv$session s
    where s.username is not null
    and s.username not in ('SYS', 'SYSTEM', 'DBSNMP', 'SYSMAN')
    group by rollup (s.inst_id);
    Now after few days, when I check the distinct session_id connections using dba_hist_active_sess_history between 9:00 and 9:10 AM, I get lot less count on session_id, little less than 1000. I was expecting same or higher count than original 1600+ since I am giving 10 min time interval.
    Following is the query, I am using:
    select instance_number, count(distinct session_id) from dba_hist_active_sess_history
    where sample_time between
    to_timestamp('2008-09-24 09:00:00','YYYY-MM-DD HH24:MI:SS') and
    to_timestamp('2008-09-24 09:10:00','YYYY-MM-DD HH24:MI:SS')
    group by instance_number;
    Am I doing something wrong? Is there any other v$ view or any other sysaux repository table I can view to collect total # of session (with or without background processes) between 9:00AM and 9:10AM on 9/24/08?
    Thank you,
    --MM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Thank you, Satish. Is there any way we can get the total # of session counts (including idle) from, lets say, two days ago?
    --MM                                                                                                                                                                                                                                                                       

  • How to make a reminder that notifies you at a specified time

    How do I use Siri to create a reminder for a date but be reminded for it a day or two earlier. For example, I would like to tell Siri the following.
    "remind me that I have a dentist appointment on October 16 at 9:15 am and remind me two days before"

    But if I want it to remind me again the next day do I have to create a brand new reminder or can I tell Siri to remind me again in a day?

  • How To Restore Deleted Table With It's Data To Specified Time Using 10g

    Hello Everybody
    I would like to gain from your experience in the Felid of DBA so now i am not trying to restore the full database, but i have a stupid user dropped accedintaly a single table from the database. i want to restore this table after being deleted but also i have big problem i dont have any backup for this table so if you please send to me any solution to restore this deleted table
    Notes : I have (Flash backup On , Archive Log Is On)
    it is not that the database is corrupted or anything
    Ramez S. Swires

    Hey N. Gasparotto
    Thank you for replying me. in the first thread you told me
    ( Without any flashback availability, you haven't any other choice than PITR (Point In Time Recovery)).
    i already checked i found that flashback is working and archive log are working and both are working normally and working before dropping the table and also i cant restore the table which is dropped.
    So what can i do?
    Do you have any other idea?
    Ramez S. Sawires

  • How to ensure DBMS_JOB will always run exactly at a specified time?

    Hi,
    I have a dbms_job that runs daily at 11pm.
    So, I set the job date interval as TRUNC(SYSDATE+1)+23/24.
    Sometimes the job can finish before 12midnight, sometimes exceeds 12midnight, depending on the amount of transaction for the day.
    When it exceeds 12midnight, I notice the next run date that calculated based on the interval becomes wrong. Eg. Today 5/Sep/2007, if it runs over midnight, the next run date will be 7/Sep/2007 11pm.
    So, I wonder is there any better way of fixing the job to run at exact time using DBMS_JOB.
    Please advise.
    Thank you.
    Regards,
    Jap.

    Hi,
    First I want to agree with the user who mentioned that this is trivial to do using the 10g dbms_scheduler so if you upgrade you should look into that.
    But there might be a way to fix your problem.
    The issue is that trunc(sysdate+1) returns this midnight at 11pm but tomorrow midnight at 1am
    So what you could do is to use trunc(sysdate+1-6/24) which returns this midnight for both 11pm and 1am.
    So the resulting expression would be
    TRUNC(SYSDATE+1-6/24)+23/24
    Hope this helps,
    Ravi.

  • How can i get data from another database SQL Server use database link from

    I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?

    hi,
    u should see following documentation:
    Oracle9i Heterogeneous Connectivity Administrator's Guide
    Release 1 (9.0.1)
    Part Number A88789_01
    in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
    regards
    umar

  • How to save modified Virtual Compnents to database

    I am wondering if there is a way to save modified Virtual Components back to the database as a new component model? I have not seen a way of doing this. For example, if I create a Relay using the Virtual Relay, is there a way to save my newly created Relay as a new Part in my database for future use?
    Also, while I am on this subject, if I download someone else's schematic with a part model that is not in my database, how do I go about saving that particular part to my database?
    Thank you very much in advance for any reply or suggestion you may have.
    Kittmaster's Component Database
    http://ni.kittmaster.com
    Have a Nice Day

    Hi Lacy,
    Any interactive component will not allow you to save back to your database for the purpose of simulation. if you only care about the create a schematic you can always use the symbol by going through the component wizard.  Interactive components referred to component that changes state while simulating, for a relay you see the symbol toggle on the screen as you simulating the circuit.  The models for these components have special code and when you save them to your database the engine no longer recognize the code therefore will not work.
    If someone send you a schematic you can double click on the component and there should be a "save to database" option.  This feature was added in V8 if I recall correctly, double check for yourself if you have this option.  If you don't have this feature, you can extract the netlist by selecting Transfer-->Export netlist and you can open the file with Notepad, in the netlist file you will find the model which you can copy and create a new component yourself.
    Tien Pham
    EWB Support
    Tien P.
    National Instruments

  • Recover part of the database

    Guys,
    How do I recover a part of the database. basically somebody deleted data for dec actuals data from the database, how do I get it back, I do have a backup of the level0 export for the whole database.
    Your guidance is appreciated.
    Thanks.

    First off I would seek to address the problem of how this data got cleared in the first place -- do you need to modify someone's access, etc., etc.
    Is the level zero export in column format? You could use a load rule to import only December, Actuals, Year?, into the database and then perform a focused calculation / aggregation
    Some would say to clear, reload, and calculate the whole cube out of an abundance of caution but it depends on multiple factors such as when was the zero-level export (backup) taken, has other data possibly been modified (changes that you actually want to keep) since the backup was taken, how long does it take to calculate the entire database and what are database availability expectations, etc., etc.
    Thank you,
    Todd Rebner

  • How to automatica​lly check components against databases

    How can I have Multisim automatically check the components in my design against
    the databases when Multisim loads the design?
    I know I can manually check the components by selecting <Tools><Update
    components> but I would prefer to have this done automatically for me upon
    loading my design to catch needed updates before I transfer the design to
    Ultiboard.

    Hi,
    Multisim does no check the schematic parts against the database automatically; you have to update it manually. To be honest, I prefer the schematic to remain the same unless I tell it to update. 
    Before you export the design to PCB, you should know which part you will buy and then change the footprint accordingly. If you export the design, then try to find parts to meet the default package from Multisim, this method is a lot harder.
    Tien P.
    National Instruments

  • How to create a user in UME Database using web dynpro java custom application

    Hi,
    Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
    My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
    Please suggest me.
    Thanks and Regards,
    Amit

    Hi Amit,
    Generated Documentation (Untitled)
    This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
    You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
    Hope it helps,
    D.

  • How do I mirror my Macbook Air (Mid 2013) with my IMac (late 2006)?

    How do I mirror my Macbook Air (Mid 2013) with my IMac (late 2006)?

    Look at Target Display Mode:
    http://support.apple.com/kb/ph4469
    http://support.apple.com/kb/ht3924
    Ciao.

Maybe you are looking for