How to export to multiple locations

Hi everyone,
I'm trying to do a full database export on a SunOS 5.8 server. The problem I often face is, most of the file systems on this server are 50 to 70% filled. So I'm not able to use a single file system to store all my dump files. So what I did was, I created multiple dump directories each representing a separate file system on this server. Later while doing export I specified the name of the dump directories prefixed to the dump file names as shown below.
expdp username/password
full=y
dumpfile=oradata1:dumpfile1.dmp,oradata2:dumpfile2,oradata3:dumpfile3
filesize=5GB
logfile=oralog.log
This worked fine for me. But I faced some problems which I will list below.
1> As mentioned above, I used filesize parameter. At one point of time, it was saying required space was not available (I hope the error number is 39095) and the export was failing. Then after increasing the filesize parameter considerably the problem got solved. I'm still not clear why the export failed even though there was enough space in the file system. I increased the filesize parameter after reading one of the post in a oracle forum. But they did not mention how it works. I want to know how oracle determines the minimum size for a dump file which was causing this problem.
2> I thought of creating a shell script to automate this backup process. I used the same export with some new additions as shown below.
expdp username/password
full=y
dumpfile=oradata1:file%U.dmp, oradata2:file%U.dmp, oradata3:file%U.dmp
filesize=5GB
parallel=5
logfile=oralog.log
My idea was that, if I specify %U, oracle will automatically generate new file names when the current one got exhausted. Again here, the problem I faced was it was creating only one dump file in each directory. Later I found that the number of files generated depends on the value I specified for the parallel parameter. But when the export was completed, even though I have specified 5 for parallel parameter it created two dump files in the first dump directory, one each in the remaining two dump directories. Again I have no idea why this happened. I haven't found any answer for this yet.
Please help me fix these issues, I have been trying my best but I'm not able to find any help for my oracle related queries. The only thing I see in google is oracle data pump documentation, please suggest me some helpful sites, forums for oracle which will help me. I rely on this forum a lot and it has really helped me a lot, thanx for all the Oracle gurus.

Let me try to explain what is probably happening.
I'm trying to do a full database export on a SunOS 5.8 server. The problem I often face is, most of the file systems on this server are 50 to 70% filled. So >I'm not able to use a single file system to store all my dump files. So what I did was, I created multiple dump directories each representing a separate file >system on this server. Later while doing export I specified the name of the dump directories prefixed to the dump file names as shown below.
expdp username/password
full=y
dumpfile=oradata1:dumpfile1.dmp,oradata2:dumpfile2,oradata3:dumpfile3
filesize=5GB
logfile=oralog.log
This worked fine for me. But I faced some problems which I will list below.
1> As mentioned above, I used filesize parameter. At one point of time, it was saying required space was not available (I hope the error number is 39095) >and the export was failing. Then after increasing the filesize parameter considerably the problem got solved. I'm still not clear why the export failed even >though there was enough space in the file system. I increased the filesize parameter after reading one of the post in a oracle forum. But they did not >mention how it works. I want to know how oracle determines the minimum size for a dump file which was causing this problem.My guess is that Data Pump started on 1 file system and filled the file to the 5GB max size. It then tried to create the next file in the next filesystem and could not fill it to 5GB so it failed.
When you specify multiple files, Data Pump starts on the first file, then when full, it opens the next file. (This is if parallel is 1) If parallel is larger, then it will open multiple files.
When you bumped the max filesize, the first file maybe took 10G and either the second file wasn't needed, or the amount of space for the second file was small enough to fit on the second file system.
>
2> I thought of creating a shell script to automate this backup process. I used the same export with some new additions as shown below.
expdp username/password
full=y
dumpfile=oradata1:file%U.dmp, oradata2:file%U.dmp, oradata3:file%U.dmp
filesize=5GB
parallel=5
logfile=oralog.logWhat happens here is that the first file will be opned on oradata1:file01.dmp the next file will be oradata2:file01.dmp, then oradata3:file01.dmp then back to the first directory with file02.dmp etc. It round-robins the filespecs and since they live in different directories, then it will round robin the directories also.
>
My idea was that, if I specify %U, oracle will automatically generate new file names when the current one got exhausted.This is true, but if the directory structure fills up, then an error is returned.
Again here, the problem I faced was it was creating only one dump file in each directory.It would have created more files in the directories if the job needed more. It fills a file and then creates the next, but in a round robin order
Later I found that the number of files generated depends on the value I specified for the parallel >parameter. But when the export was completed, even >though I have specified 5 for parallel parameter it created two dump files in the first dump directory, >one each in the remaining two dump directories. >Again I have no idea why this happened. I haven't found any answer for this yet.The job probably only went to a parallel 4 so it created 4 files. It doesn't create a file until it needs one.
>
Please help me fix these issues, I have been trying my best but I'm not able to find any help for my oracle related queries. The only thing I see in google is >oracle data pump documentation, please suggest me some helpful sites, forums for oracle which will help me. I rely on this forum a lot and it has really >helped me a lot, thanx for all the Oracle gurus.I'm not sure what issue you have. If you have limited disk space and you tell the Data Pump job to write it's dumpfile there, it will. If it runs out of room, the Data Pump job will throw a fatal error. During export, Data Pump doesn't know how much disk space it will need. The estimate phase is just for data, it does not estimate the metadata. This can be larger than the data, or it could be smaller. It depends on how full your tables are.
Hope this helps
Dean

Similar Messages

  • Need ideas on how to deploy to multiple locations

    I could use a few tips. We are deploying ipads in groups of ten to 22 different locations. Each location has their own ideas about which apps to use. I have one macbook air with apple configurator loaded on it. If I use my master generic itunes account, I'll have a ton of apps to sort through and the user will be prompted for credentials for every app update. What would your do, or are doing, for mulitple deployments like this one? How would you set up your macbook? I've thought of a logon for each location on the macbook but then I have to download ios6 each time (can't find the actual ios6 ipsw file to copy to all of the accounts).

    I think some type of centrally managed MDM would be best for the situation you describe.  We are in the process of moving ahead with an AirWatch implementation for use as our MDM.  There are lots of MDM products out there, including one that comes included with Lion Server. I think OTA  management, where you have widely dispersed locations would be more practical.  If you haven't you should also look at the Volume Purchasing program.  Another consideration is whether the connecting devices will be company or personally owned, or a mixture of both.  You could also look at the education deployment guide, even if you aren't in education, it has a lot of great ideas. 
    http://images.apple.com/education/docs/IOS_5_Education_Deployment_Guide.pdf
    http://images.apple.com/business/docs/VPP_Business_Guide_US.pdf

  • How do I open multiple locations from the History after selecting them with Ctrl+click?

    Let's say I want to read some of the Mother Jones and Alternet articles I'd linked to from e-mails over the past in two months. I open my Firefox history. I do a search of the history libary to get a list of all the relevant locations. Then I use Control+click to select the few articles I want to read. I'd think Ctrl+O would open all those selected, but it doesn't. There must be a more efficient way than what I'm doing now, which is to open a new tab in the browser window, go to history, double click one line, wait for the page to load; open a new tab, go back to the history search results, click on a new location, wait as it loads, repeat.

    Where are you viewing your History? <br />
    Have you tried the History Sidebar? {Ctrl + H} <br />
    You can {Ctrl + Click} the pages you want to open in new Tabs, one at a time. <br />
    Also, if you have your Options > Tabs pref deselected for '''When I open a new tab, switch to it immediately''', it might be less distracting with all those pages opening in the background.

  • How can i save multiple locations to my reminders app on the iphone 4?

    I want to be reminded to do a task when I arrive home. Is it possible to save my home location (and other useful locations) to the reminders app? This is more useful than guessing when I will arrive at a location and setting a reminder for then.
    If not possible at the moment, Apple please include this in the next iOS update. Thank you.

    Yes, this is possible.  Go into your contacts list and choose yourself (hopefully you're in there and set up as the user on the phone.)  Then enter in your addresses (home, work, school, etc.) and next time you set up a location based reminder those address will be in there.

  • IRecruitment:  How can I post a vacancies in multiple locations?

    iRecruitment: How can I post a vacancies in multiple locations?
    I have one opening that can be filled in PA or CT? How do I select multiple locations? Does iRecruitment allow us to create a National location so that a candidate will find the job based on either or all states?

    As Glenn said, these two types are the typical input files.
    two ways that I can easily think of, but there are more.
    1. Have a row memberwith the period so for sample basic, the row would look lik
    cola,ny,actual,sales,Jan,100
    First case in the rule file you have to map all the member fileds with the dimension name and the data column with the data field.
    2. Have the data for each month as as the column members
    Here is the header followed by a data sample(again for sample basic)
    Product,Market,Scenario,Measure,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    1oo-10,NY,Actual,Sales,100,100,100,100,100,100,100,010,122,111,222,333
    Second case in the rule file you have to map all the member fileds with the corresponding dimension name and the multiple data columns with the corresponding member names for that dimension.

  • How to integrate bing map for including or displaying multiple locations at the same time

    how to integrate bing map for including or displaying multiple locations at the same time

    Have you aware of the geolocation field that's been introduced with SharePoint 2013?  You can store location data within a list and then integrate this within Bing.  The second tutorial on this Bing team blog will show it well.
    https://www.bing.com/blogs/site_blogs/b/maps/archive/2013/03/26/connecting-a-sharepoint-list-to-bing-maps.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How do I move multiple folders to  a new location

    I'm tring to reorganize after a computer crash. How do I move multiple folders to  a new location?

    In the Organizer you can switch to Folder Location View by clicking the Display button (near top right)
    You can then expand he folder tree in the left hand pane and drag and drop.

  • How to export data from a spread sheet which has multiple work sheets?

    How to export data from a spread sheet which has multiple work sheets to a single text file with fixed length fields?

    Hello s1,
    saving them as CSV will not give a fixed legth output but, as the naming says, a Character Separated Value file.
    Regards
    Marcus

  • Can I export using a single dump directory to multiple locations in oracle

    I'm trying to do a full database export using expdp utility in oracle 10g. I have a single dump directory that is mapped to a particular file location say /export/dump. I don't want the entire dump file to be stored in the above path. Instead I want the dump to be distributed among multiple files. I know that this can be done using FILESIZE parameter which will distribute the contents to multiple files according to the size we have specified.
    My problems comes here, I want to export my data to multiple locations, the path is different than what I mentioned above, say /first/dump. Now my question is should I create multiple dump directories for each location before exporting or can I omit directory attribute in expdp and specify the complete path in the FILE parameter itself.

    No. EXPDP needs the server component LOGICAL DIRECTORY. If you don't specify the directory, it will go to the default EXPDP path which will be mostly /rdbms/log. It's defined by the parameters DATA_PUMP_DIR.
    You will have to specify directory attribute if you want to point your dumpfile to go to any specific location and you cannot give the directory path in the file name in EXPDP (unlike conventional exp)

  • How to create an Image that is available to multiple locations?

    I can create an image from a virtual machine, but this image is only available to the location where the virtual machine was originally created (for example East US).
    I want to create a single image that is available to multiple locations (East US, North Europe, Southeast Asia, etc...)
    Is this possible?  I've noticed that stock images are available to multiple locations, can user images be configured in the same way?
    Thanks

    hi,
    As far as I know, it is not supported currently. But you could use a compromise method. You could copy the Image into other regions storage account. Then you could create the VM using yourself Image. But you may be charged the outbound data. I recommend
    you could refer to this thread (http://social.msdn.microsoft.com/Forums/en-US/04956637-45c5-40c9-9422-5b1c4de681bf/how-to-move-virtual-machine-to-a-different-region?forum=WAVirtualMachinesforWindows
    Hope it helps.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Export multiple photos from pdf files?.

    Good day.
    How to Export multiple photos from pdf files?.
    Thanks.

    Hello
    how to reach from file menu ?.
    Running Adobe reader 9 version 9.3.0
    Thanks again.

  • How do I make simplesearch look for the same tag in multiple locations

    Currently i'm trying to write a simplesearch implementation that will only return the result it if contains a specific tag. I would also like to include DAM assets in the search, wherein lies the problem:
    I need to look in both jcr:content and jcr:content/metadata for the tag, and if the tag is found in either location, return that page. Here is the code I am trying to use, but it currently only looks for the tag(s) in one location. Any tips on how to get it to look in multiple locations?
    Code:
                        tagPredicate = new Predicate("tags2", "tagid");
                        tagPredicate.set("property", "jcr:content/cq:tags");
                        for (Cookie cookie : tagsFromCookie) {
                                       if (cookie.getName().contains(CREDENTIALS)) {
                                                      tagPredicate.set("tagid",
                                                                          (cookie.getValue().replaceAll("---", ":")));
                                                      search.addPredicate(tagPredicate);
    Thanks for any help you can give!

    I figured this one out on my own. Kind of a "Doh!" moment.
    What I ended up doing is this: I created a PredicateGroup, and populated this group with the predicates I needed. Then, I set the PredicateGroup allRequired to false. Voila! It works!
    Code:
              PredicateGroup tagPredicateGroup = new PredicateGroup();
                        tagPredicateGroup.setAllRequired(false);
                        Predicate tagPredicate = new Predicate("tags", "tagid");
                        if (slingRequest.getParameter(GROUP1) != null) {
                                       tagPredicate = new Predicate("tags", "tagid");
                                       tagPredicate.set("property", "jcr:content/cq:tags");
                                       tagPredicate.set("tagid", GROUP1);
                                       tagPredicateGroup.add(tagPredicate);
                                       tagPredicate = new Predicate("damTags", "tagid");
                                       tagPredicate.set("property", "jcr:content/metadata/cq:tags");
                                       tagPredicate.set("tagid", GROUP1);
                                       tagPredicateGroup.add(tagPredicate);
                        return tagPredicateGroup;

  • How to manage multiple locations for Item (Management warehouse locations)

    Is there any way, with UDF and Formated Search, to manage multiple locations for Item in the same warehouse
    I must have several (at least 2) locations for the item in the Warehouse and that  i enter in goods receipt and have track of this location and search possibilities at sales order by item and WHS.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables and there is a relationship between all.
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    a piece of code has been proposed, but it is not so simple
    SELECT T0.U_Location FROM [dbo].[OITM] T0 WHERE T0.ItemCode = $[$38.1.0]
    Thanks,
    Ouchen

    I believe you are talking about defining BIN's (locations) within a Warehouse.
    This is quite possible and has been explained / discussed on this Forum a few times in the past.  Though I am completely clear on how you would like to implement this I could give you some guidelines..
    Creating a @location UDT is correct to maintain list of warehouse locations
    UDF in Items - Warehouses (Item Master ..Inventory Data Tab..Rows)
    UDF in Marketing Document Rows (When you add a UDF here U_Location then this will available in all marketing documents, both AR and AP)
    You will define a location for an Item in the Item Master....
    In the GRPO..you can use FMS to list the location/s for the Item being received from the Item Master and the User can Select it.
    In the Sales Order, you can select the location from which the Item could be picked..
    Let me know if your process / ideas are different
    Suda

  • How to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?

    how to export All computer list with operating system from AD and all attributes like disable or enable and OU location also?
    I have tried with dsquery below but status is not showing there.
    dsquery * -filter "(objectCategory=computer)" -attr name operatingSystem

    last logon user name - not really stored (or lined) with computer object.  However, you can get this info during the logon process or from the computer.  Here is method:
    http://portal.sivarajan.com/2010/07/user-profile-and-os-info-powershell.html
    Santhosh Sivarajan | Houston, TX | www.sivarajan.com
    ITIL,MCITP,MCTS,MCSE (W2K3/W2K/NT4),MCSA(W2K3/W2K/MSG),Network+,CCNA
    Windows Server 2012 Book - Migrating from 2008 to Windows Server 2012
    Blogs: Blogs
    Twitter: Twitter
    LinkedIn: LinkedIn
    Facebook: Facebook
    Microsoft Virtual Academy:
    Microsoft Virtual Academy
    This posting is provided AS IS with no warranties, and confers no rights.

  • How to export ibooks books, or the location of ibook?

    how to export ibooks books, or the location of ibook?

    Not sure if this is a question or a statement   But if it is a question, is this what you are looking for?
    iBooks Author: Publishing and distribution FAQ

Maybe you are looking for

  • Refreshing an online PDF

    Is there a JavaScript or any other way to refresh a document in PDF format a person is looking at through a browser when an updated copy becomes available.

  • Does different IDOC channels means different queues?

    Hi, I have SOAP to IDOC scenario. I have 2 types of IDOCs, SYSTAT01 IDoc and NON-SYSTAT01 IDOCs. I have configured 2 communication channels for them, but they use the same RFC Destination & PORT will the 2 IDocs types go into different queues or will

  • Windows deleted boot camp

    after updating windows to 8.1 pro, i cant find the boot camp control panel. I did a search for the it and there was no file in windows. so keyboard and track pad are not working efficiently. no backlight, no shotcut keys. the function keys are not wo

  • [SOLVED]Sudo update messed some stuff up.

    So, sudo was updated a while ago now, but since it was, a program that is called with sudo uses its default config instead of the one in my home directory. But, if I use su to log in as root and then launch a program, it uses the correct config! What

  • Mountain Lion disabled my internal superdrive. How can I fix it?

    Mountain Lion disabled my internal superdrive. How can I fix it?