An Oracle data pump situation that I need help with

Oracle 10g running on Sun Solaris:
I have written a unix shell script that exports data into a dump file(data pump export using expdp). Similarly I have import script that imports the data from the dump file(import using impdp). These are not schema exports. In other words, we have logically divided our schema into 4 different groups based on their functionality (group1, group2,group3 and group4). Each of these groups consists of about 30-40 tables. For expdp, there are 4 parfiles. group1.par, group2.par, group3.par and group4.par. Depending on what parameter you pass while running the script, the respective par file will be picked and an export will be done.
For example,
While running,
exp_script.ksh group1
will pick up group1.par and will export into group1.dmp.
Similarly,
exp_script.ksh group3
will pick up group3.par and will export into group3.dmp.
My import script also needs the parameter to be passed to pick the right dmp file.
For example,
imp_script.ksh group3
will pick up group3.dmp and import every table that group3.dmp has(Here, import process does not need par files - all it needs is the right dmp file. )
I am now faced with a difficulty, where, I must use Oracle's dbms_datapump API, to achieve the above same(and not expdp and impdp). I haven't used this API before. How best can I use this API to stick with my above stategy -- which is, I eventually need group1.dmp, group2.dmp, group3.dmp and group4.dmp. I will need to pass table names that each group contains. How do I do this using this API ? Can someone point me to an example, or perhaps suggest ?
Thanks

Or atleast, how do you do a table export using dbms_datapump ?

Similar Messages

  • I have a REAL problem that I need help with

    many thanks to kglad for all his help last week with a problem but it hasn't fully sorted it out. I have a site with 908 buttons. Basically a person clicks a button, makes a donation (through paypal) and then that button gets their name displayed when the mouse hovers over it. Essentially the button becomes the property of the person who makes the donation. The problem I need help with is how to disable each button when someone clicks it. Disabling a button isn't the problem. I need it disabled only when the person has made a valid donation. Each button has a unique instance name (b001 - b908). There must be a way.
    Many thanks in advance.

    I can't get this to work at all. At this stage, I'm considering a complete restructure of the site in dreamweaver.
    I would love to be able to complete it in actionscript though as I would be learning something new.
    When a user clicks a button, and goes through the paypal process, I need the clicked button to be disabled.
    It has to be such that it gets disabled only when a user has made a donation through paypal. For example, plenty
    of people may just click on the buttons as they are checking the site out, without any intention of using the paypal
    facility. This is just human nature. Obviously, I don' t want any buttons disabled under these circumstances.
    I was thinking, do I need a statement such as .......... "on returning from paypal, disable the clicked button"
    Or is it just a case of......... "on returning from paypal, remove the event handler"
    Or is it something completely different, I require, (please don't say a brain would be helpful).
    Is there some generic code out there that could help me out please.

  • I have 2 problems that I need help with please?

    I had an iPhone 4 1 year ago and I ended up swapping it for an iPhone 4S.. I made a new apple ID. But  I can't remember if I synced my notes with iCloud on my old apple ID, so I signed in with my old apple ID which was connected with my iPhone 4 that I swapped and I seen that all of my old contacts were synced and 1 reminder were synced also but when I clicked on notes it said that I needed to create a iCloud email, so I did...it made the notes visible and there was no notes in there. Nor in the iCloud mail thingy... Which is a good thing because I didn't want my notes synced, I just want to know does that mean they were never synced ... Or are they lost somewhere?  Oh and all my iTunes backups are deleted too.
    And my next question.
    Is it possible to call apple to get my apple ID deleted? I think someone is using!

    - The notes, if they were in iCloud would be associated with the account used to create them. This you would have to log the iPod into that iCloud account
    - Contact Apple about deleting the account
    Contact iTunes

  • 2 Questions That I Need Help With...

    I'm in the process of reimporting some 3000 plus cds onto a new hard drive, after my last HD crashed. The files were retrieved for the most part, but I want to upgrade them to a higher bit rate on a different HD. Am doing it on same lappy that I began this ardous process. That lappy died on me, yet I was able to retrieve my original iTunes playlists and library (38k songs and counting) after installing 6.0.4.2 (I think my prior v. was 2-3 upgrades earlier.)
    I've noticed however, that the CD info is set back to its original state; minus my customizing it. Each album I've imported, I list the artist's name in the album title; ex. Aaron Hall: The Truth. Additionally, CDDB has some of the most atrocious spelling mistakes this side of my posts (lol) which I corrected before I originally imported the cds, and now they are back to their atrocious state. Is there ay way to correct this, so I don't have to manually retype everything that I originally did. It's not just spellings that bother me, I have plenty of greatest hits and compilations that I spent hours and hours looking through my Billboard research books, Discogs, Allmusic, etc., trying to be as accurate as possible, and it really scares me now to know that I have to go back into the iTunes library to regather this data. (for some reason when I go from album screen back into my library scree, the library screen goes back to the full library, and not to the screen with the album I had just been looking at.)
    Second, the screen that shows what cd is being readied to be imported shows 5 columns and has them so bunched up that I have to increase the width of several of them. Also, I have to go into the view options section in edit and add the year column which I insist on. But it never seems to keep that screen for all cds, meaning I have to go into edit to view options every time I import a cd. So basically, is there a way that I can customize that screen so the columns are a longer width and the year shows up each time, instead of having to do this each and every time I pop a cd into the drive to ready it?
    Also, I apologize in advance for this being too wordy, and probably missing the letter N in some of the words. I forgot to tell the tech to fix that letter on my keyboard [rolls eyes]

    Syncing of playcounts and other stats can be a bit temperamental. Resetting the device may help. I'm afraid I don't follow the behavior of chapterized podcasts, but it is likely that it changed with the last firmware update and that is just the way it works now, assuming of course that the podcast producer hasn't changed their workflow.
    tt2

  • This is more of a suggestion than a problem that I need help with....

    Why doesn't iTumes for Windows use a year long re-download policy such as RealArcade when you purchase a game? I've lost a ton of music during a driver upgrade that went bad. I had to trash my hdd & start over... and I was under the impression that I had created a backup of my music using Nero Burning Suite. But after attempting the restore, I found out that the Nero Suite doesn't do anything for the 8.3 file extension overlaod issue. Some programs will not recognize embedded folder names and files passing 256 characters for the path/ name of the file. I would like to be notified when something like this is available for the general public. I have spent a bit of cash with the iTunes store, and I would like to be able to get (at least once more ) my money's worth. I understand that this is not Apple's problem, but it would go a long way to providing superb customer service.
    Thanks for listening.

    I hate to sound preachy, but Apple warns customers to back up.
    Why do I need to back up my music library?
    In rare cases, you can ask for a re-download. Try customer service:
    iTunes Customer Service

  • CS Hw that I need help with

    To anyone who can help me out. I have never spent so long on a piece of code in my life.
    But it refuses to work.
    This code takes scanner-input for Strings and then tells user what days of the month theyre in.
    I followed the format for the looks and strings by the letter but its not compiling.
    import java.util.*;
    import java.util.Scanner;
    import java.io.*;
    public class DaysInMonths2   {
    public static void main(String[] args){
    Scanner myScanner = new Scanner(System.in);  
    Boolean isLeapYear;
    String InputText = "";
    String[] thirtyone = {"January", "March", "May", "July","August","October","Decemeber"};
    String[] thirty = {"June", "September", "November"};
    String[] february = {"February"};
    System.out.println("Month. Eg. February");
    input = myScanner.next();
        for (int index = 0; index < thirtyone.length; index++)
        if (input.equals(thirtyone[index]))
        daysineachmonth = 31;
        for (int index = 0; index < thirty.length; index++)
        if (input.equals(thirty[index]))
        daysineachmonth = 30;
        if (daysineachmonth==31)
        System.out.println ("31!");
        if (daysineachmonth==30)
        System.out.println ("30!");
        for (int index = 0; index < february.length; index++)
        if (InputText.equals(february[index]))
        System.out.print("Leap year (true/false)? ");
        isLeapYear = myScanner.nextBoolean();
        if (isLeapYear) {
        System.out.println ("29!");
        if(else) {
        System.out.println ("28!");
         }What the....

    ykilani wrote:
    Man come on you are so close.
    Hints:
    if(else) <--- HAHA funny
    daysineachmonth <---- declare it.
    inputText/myScanner confusion. <--really bad man, how could u confuse these two... dont mix ur codes up anymore.Why are you talking to yourself?
    I see nothing posted by any of the previous repliers talking about "daysineachmonth" nor "inputText/myScanner", so I have to conclude that you are making fun of yourself as you are the only one who posted anything about those items.
    Did you forget to login as another screen name to make it appear like someone else was making fun of you? Are you trying to commit duke star fraud?

  • I have 2 problems with Photoshop Elements 12 that I need help with

    The problems:
    1) When I bring photos into the editor to work on them and then save them they are not automatically appearing in Organizer
    2) When I make changes in Organizer (eg adding or deleting photos) the changes do not appear in Adobe Revel. When I make changes within Adobe Revel they are appearing in my Organizer
    I have all the latest versions of Elements 12 and Revel downloaded
    Any suggestions?

    John,
    Looks like you already have 12.1 version installed.
    Have you tried restarting revel agent from Edit>Preferences>Adobe Revel?
    Do you see an orange icon next to Mobile albums header in left panel?
    Regards,
    vaishali

  • I need help with Analytic Function

    Hi,
    I have this little problem that I need help with.
    My datafile has thousands of records that look like...
    Client_Id Region Countries
    [1] [1] [USA, Canada]
    [1] [2] [Australia, France, Germany]
    [1] [3] [China, India, Korea]
    [1] [4] [Brazil, Mexico]
    [8] [1] [USA, Canada]
    [9] [1] [USA, Canada]
    [9] [4] [Argentina, Brazil]
    [13] [1] [USA, Canada]
    [15] [1] [USA]
    [15] [4] [Argentina, Brazil]
    etc
    My task is is to create a report with 2 columns - Client_Id and Countries, to look something like...
    Client_Id Countries
    [1] [USA, Canada, Australia, France, Germany, China, India, Korea, Brazil, Mexico]
    [8] [USA, Canada]
    [9] [USA, Canada, Argentina, Brazil]
    [13] [USA, Canada]
    [15] [USA, Argentina, Brazil]
    etc.
    How can I achieve this using Analytic Function(s)?
    Thanks.
    BDF

    Hi,
    That's called String Aggregation , and the following site shows many ways to do it:
    http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php
    Which one should you use? That depends on which version of Oracle you're using, and your exact requirements.
    For example, is order importatn? You said the results shoudl include:
    CLIENT_ID  COUNTRIES
    1        USA, Canada, Australia, France, Germany, China, India, Korea, Brazil, Mexicobut would you be equally happy with
    CLIENT_ID  COUNTRIES
    1        Australia, France, Germany, China, India, Korea, Brazil, Mexico, USA, Canadaor
    CLIENT_ID  COUNTRIES
    1        Australia, France, Germany, USA, Canada, Brazil, Mexico, China, India, Korea?
    Mwalimu wrote:
    ... How can I achieve this using Analytic Function(s)?The best solution may not involve analytic functions at all. Is that okay?
    If you'd like help, post your best attempt, a little sample data (CREATE TABLE and INSERT statements), the results you want from that data, and an explanation of how you get those results from that data.
    Always say which version of Oracle you're using.
    Edited by: Frank Kulash on Aug 29, 2011 3:05 PM

  • Oracle Data Pump

    What are the pre-requisites for using the Oracle Data Pump Export and Import ? Like, the config parameters in the initialization files, permissions, etc and the to-do's
    Thanks

    No, nothing like that.
    You need to have Oracle 10g and have a directory object created to hold dump files.

  • Schema export via Oracle data pump with Database Vault enabled question

    Hi,
    I have installed and configured Database Vault on an Oracle 11g-r2-11.2.0.3 to protect a specific schema (SCHEMA_NAME) via a realm. I have followed the following doc:
    http://www.oracle.com/technetwork/database/security/twp-databasevault-dba-bestpractices-199882.pdf
    to ensure that the sys and the system user has sufficient rights to complete a schedule Oracle data pump export operation.
    I.e. I have granted to sys and system the following:
    execute dvsys.dbms_macadm.authorize_scheduler_user('sys','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_scheduler_user('system','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_datapump_user('sys','SCHEMA_NAME');
    execute dvsys.dbms_macadm.authorize_datapump_user('system','SCHEMA_NAME');
    I have also create a second realm on the same schema (SCHEMA_NAME) to allow sys and system to maintain indexes for real-protected tables, To allow a sys and system to maintain indexes for realm-protected tables. This separate realm was created for all their index types: Index, Index Partition, and Indextype, sys and system have been authorized as OWNER to this realm.
    However, when I try and complete an Oracle Data Pump export operation on the schema, I get two errors directly after the following line displayed in the export log:
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/DOMAIN_INDEX/INDEX:
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_NOTIFY_QTABLE_S','SYSMAN',1,1,'11.02.00.00.00',newblock)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 9081
    ORA-39127: unexpected error from call to export_string :=SYS.DBMS_TRANSFORM_EXIMP.INSTANCE_INFO_EXP('AQ$_MGMT_LOADER_QTABLE_S','SYSMAN',1,1,'11.02.00.00.00',newblock)
    ORA-01031: insufficient privileges
    ORA-06512: at "SYS.DBMS_TRANSFORM_EXIMP", line 197
    ORA-06512: at line 1
    ORA-06512: at "SYS.DBMS_METADATA", line 9081
    The export is completed but with this errors.
    Any help, suggestions, pointers, etc actually anything will be very welcome at this stage.
    Thank you

    Hi Srini,
    Thank you very much for your help. Unfortunately after having followed the instructions of the DOC I am still getting the same errors ?
    none the less thank you for your input.
    I was also wondering if someone could tell me how to move this thread to the Database Security area of the forum, as I feel I may have posted the thread in the wrong place as it appears to be a Database Vault issue and not an imp/exp problem. ?
    Edited by: zooid on May 20, 2012 10:33 PM
    Edited by: zooid on May 20, 2012 10:36 PM

  • I need to rebuld the "C" drive on my computer will need to reinstall adobe cs6 when I am done, but have moved recently and lost the data to get that done. Help!

    I need to rebuld the "C" drive on my computer will need to reinstall adobe cs6 when I am done, but have moved recently and lost the data to get that done! Help!

    Downloads available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • Oracle data pump vs import/export utility

    Hello all,
    What is the difference between Oracle Data Pump and Import/Export utility? which on is the faster?

    Handle:      user9362044
    Status Level:      Newbie
    Registered:      Jan 26, 2011
    Total Posts:      31
    Total Questions:      11 (7 unresolved)
    so many questions & so few answers.
    What is the difference between Oracle Data Pump and Import/Export utility?unwilling or incapable to Read The Fine Manual yourself?
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/toc.htm

  • I need help with oracle

    Hi,
    I need some help... if someone can help its great.
    I need to make a statement in Oracle SQL that read data from a file and insert in a Oracle Database ... if someone can show me the syntax of it i appreciate..
    Thanks

    Okay, I see you followed the advice in that other thread and started a new post for you question. Congratulations. Your next lesson in forum etiquette is to give your posts a more relevant subject. Pretty much everybody who posts here needs help with oracle; if they need help with cooking catfish they've come to the wrong place.
    It that other thread I suggested using SQL*Loader or External Tables might be a more suitable solution. Find out more.
    Cheers, APC

  • Need help with saving data and keeping table history for one BP

    Hi all
    I need help with this one ,
    Scenario:
    When adding a new vendor on the system the vendor is suppose to have a tax clearance certificate and it has an expiry date, so after the certificate has expired a new one is submitted by the vendor.
    So i need to know how to have SBO fullfil this requirement ?
    Hope it's clear .
    Thanks
    Bongani

    Hi
    I don't have a problem with the query that I know I've got to write , the problem is saving the tax clearance certificate and along side it , its the expiry date.
    I'm using South African localization.
    Thanks

  • Need Help with Dates

    I am printing a calendar and certain events will be helds on certain dates.
    One can edit the event if it has not passed the date. Events in the past can be viewed but not edited.
    When I query the database the date must be formatted dd-MMM-yy
    I am able to get today's date by doing this:
    java.util.Date today = new java.util.Date();
    String formatString = "dd-MMM-yy";
    SimpleDateFormat sdf = new SimpleDateFormat(formatString);
    String today_str = sdf.format(today);
    My code for printing the calendar: I left out some of the table formatting in the JSP page.
    GregorianCalendar d = new GregorianCalendar();
    int today = d.get(Calendar.DAY_OF_MONTH);
    int month = d.get(Calendar.MONTH);
    d.set(Calendar.DAY_OF_MONTH,1);
    int weekday = d.get(Calendar.DAY_OF_WEEK);
    for(int i = Calendar.SUNDAY; i < weekday; i++)
    out.print("<td> </td>");
    do {
    int day = d.get(Calendar.DAY_OF_MONTH);
    out.print("<td>" + day + "</td>");
    String formatString = "dd-MMM-yy";
    SimpleDateFormat sdf = new SimpleDateFormat(formatString);
    //if(event exists on this day
    // Get results
    // print link for viewing
    // if (after today) print link for edit
    if(weekday == Calendar.SATURDAY)
    out.println("</tr><tr valign=top>");
    d.add(Calendar.DAY_OF_MONTH,1);
    weekday = d.get(Calendar.DAY_OF_WEEK);
    } while(d.get(Calendar.MONTH) == month);
    if(weekday != Calendar.SUNDAY)
    System.out.println();
    The part I need help on is this:
    //if(event exists on this day
    // Get results
    // print link for viewing
    // if (after today) print link for edit
    I'm looping through each day of the month to print the days. I have the month, day, year as integers. How can I create a date object out of that and compare it to today's date to test if it's before or after today???
    All the function in the Date class that I think would do this have been deprecated.

    Need Help with Dates
    Here is some information about dates:
    There are many edible palm fruits, and one of the most widespread and favored of these is the data (Phoenix dactylifera). Dates were cultivated in ancient land from Mesopotamia to prehistoric Egypt, possibly as early as 6000 B.C. Then--as now--dates were a staple for the natives of those dry regions. Much later, Arabs spread dates around northern Africa, and dates were introduced into California by the Spaniards in 1765, around Mission San Ignacio.
    The date prefers dry, hot climates, because date fruits are injured at temperatures of 20 degrees F, and the damp climate of the California coast was not favorable for fruit production. In the mid-1800s, the date industry developed in California's hot interior valleys and in Arizona. Now the date industry in the United States is localized mostly in the Coachella Valley, where the sandy soils permit the plants to be deeply irrigated. Today the new varieties, mostly introduced in this century, produce about 40 million pounds of dates per annum, or over 60% of the dates consumed in this country. The rest are imported mainly from Persia. According to one survey, about one million people are engaged entirely in date palm cultivation worldwide.
    Hope that helps.

Maybe you are looking for

  • Premiere CC 2014 "Match Source" bug when exporting multiple clips

    Getting a strange bug when trying to batch export. The source clips are 4K MP4s. When exporting individually I use the Match Source button in the export dialogue and it correctly matches to the 4K frame size when sending to queue in Media Encoder. If

  • PLSQL procedure

    Hi, I have a PLSQL procedure defined in a schema which I like to run first so that it would poupulate a row in a table. I defined a pre-mapping process but it does not work. Any information would be appreciated!

  • GPG - How to suppress "You need a passphrase to unlock the secret key.."

    Hi, I am trying to decrypt a file using gpg decryption command in unix. I am providing the passphrase in the command line. The file gets successfully decrypted but I get the below messages in the command window. You need a passphrase to unlock the se

  • Different responses for each wrong answer - possible?

    Hello!  I'm a Captivate newbie and can't figure out how to set up my questions so that there is a different response for each incorrect answer.  So rather than having just "incorrect, try again" (or something like that) when the learner makes a mista

  • SAP connector for CAD Integration with Unigraphics (NX)

    Hi Experts, Could you please guide me on where can I download CAD Integration connector for Unigraphics (NX). Thanks in advance. Kind regards, Neil