Restore the partition table data

Hello


DB 10.2.0.1

I have a dump file in which exported the data from a table to a database. This table is based partioned. I have imported into the database B. I have truncated or tried successively to the partition of the table in database B now I want to import the data from the export dump file in the same table. I don't want to import the data again for all partitions. I want to just import only truncated how data I could do?

Thank you

Hello

Even I did as you say, but we give below error.

In fact, it is not an error message:

Import completed successfully without warnings.

You have SQL code contained in the "dump":

CREATE TABLE 'TRADING_TEST' ("BRAND_DESCRIPTION' VARCHAR2 (120)...)

For example, you may notice that importation will try to recreate the Table of TRADING_TEST with all its partitions. Of course, it will generate an error and you will not be able to import the data in the Partition. Unless you have just TRUNCATE and you use the parameter IGNORE = Y.

So, if you TRUNCATE the Partition you do not have to recreate.

If you DROP the Partition, it is best to recreate first (ALTER TABLE ADD PARTITION...).

Then import you the datas like that (I just add IGNORE and LOG settings):

imp system/password file=C:\exportTable32\table.dmp FROMUSER=dev touser=system tables=(TRADING_TEST:A15) ignore=y log=C:\exportTable32\table.log

However, I hope that it is just for test purpose, because it is not recommended to create the user Tables in the SYSTEM.

Hope this helps.
Best regards
Jean Valentine

Tags: Database

Similar Questions

  • Desperately need help - "the partition table on device sda was unreadable." Erase all data?

    I'm forced to install CentOs on my Macbook using a machine virtual (VMWare, which is what I downloaded my teacher recommended). It's for my first class of operating systems, so bare with me because I don't know anything about operating systems (except about how to use Windows and my Macbook). I am also a daughter, what makes my same technical knowledge that much more rare. However, I am eager to learn...

    In any case, I downloaded them both. When I launch Fusion, I choose the file> New> install Windows or another OS on a virtual machine> continue without disk> click on the button that says 'Operating system installation disc using image file'> then I select the appropriate iso CentOS (CentOS - 5.4 - i386-bin-1of6) file> continue> drop down lists, I choose LINUX as operating system and Red Hat Enterprise Linux 5 as my Version> continue-> finish (no customization settings). It appears the screen of CentOS and I am invited by a text asking me if I want to install in text or graphics mode. (Don't know what to do here, but I select the graph). A bunch of white text scroll a screen of black background, then a blue screen shows up saying: 'Welcome to CentOS' at the top and a gray screen that says "to start testing CD media before installation OK press. Choose Ignore to ignore the media test and launch the installation. "I click on the red button (even once, if it is incorrect, let me know). A few rows of white text on black background (from anaconda... something on a video card...) then a nice graphic display of CentOS which I click NEXT. I then select English as my tongue (twice) and I gives me the message:

    "The partition table on device sda (VMware, VMware Virtual S 20473 MB) was unreadable. To create new partitions, it must be initialized, cauing the loss of all DATA on this drive. This operation will replace all choice on what players to ignore previous installation. You would like to initialize this drive, erasing all THE DATA? »

    I have no idea what to do here. I googled the message and others have been too, but they can talk about some hard file (and I have no idea what it is, and I can't seem to find mine).

    I can't lose what's on my hard drive (my school, music, photos, applications, files etc.). Clicking YES will erase my HD? I'm terribly afraid. I need to get this thing installed so I can do my operating systems class work, but I don't know if I did the installation correctly so far and especially, what to click at this point. Can someone help me out please (I spent 4 hours on this one today. "I have no one else to ask)? Finally, the installation is almost done after this step?

    Any help at all would be so greatly appreciated.

    I do not use Fusion, but I have VMware Workstation on Windows. I went through the same process that you went through. The answer to your question is that when you choose the operating system you install and you choose the option for the installation disc, it creates a virtual hard drive for you, size 20 GB. When they ask you to erase the hard drive, it's clear that virtual you create, not your actual computer hard drive. You can check by looking at the properties of the hard drive on your computer. It's probably 250 GB or 500 GB or something big like this. The CentOS WARNING speaks of a 20 GB hard drive, which is the size of the disk that VMware Fusion (and Workstation) create for CentOS.

  • after image restore, backup partition table is different

    Hello

    He is a 2012 Macbook mid Pro with El Capitan and Bootcamp.

    After repeated with Bootcamp (Windows 10 Pro) problems I started using Image of Terabyte for Linux in order to safeguard this Macbook. Forums terabyte that people know that the Image of Linux (such as Image for Windows) is able to create a reliable backup, but also to restore - restore an entire disk image or restoring individual partitions.

    I followed their instructions precisely and activated the two options "restore first Beach" and "TPG hidden OS" (as one terabyte official, Member of the forum wrote) when restoring a partition.

    Unfortunately, it did not work! Bootcamp was no longer visible in the start screen or wasn't visible, but not start.

    What I found was that I had to keep the two options (see above) with DISABILITIES.

    Then I could restore some partition images - and 10 Windows in Bootcamp is bootable.

    Well, it was the long introduction.  I'm sorry.

    Now my question is:

    Is this something that has changed my partition table?

    Before restoring an Image for backup of Linux for the first time, I had this partition table:

    localhost: ~ root # fdisk/dev/disk0

    Disk: geometry / dev/disk0: 60801/255/63 [976773168 sectors]

    Signature: 0xAA55

    From end

    #: cyl hd s - cyl hd s id [Start - size]

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

    1: EA 1023 254 63 - 1023 254 63 [1-409639]

    2: AF 1023 254 63 - 1023 254 63 [409640-857906448] HFS +.

    3: AB 1023 254 63 - 1023 254 63 Boot Darwin [858316088-1269536]

    * 04:07 1023 254 63-1023 254 63 [859586560-117186560] HPFS/QNX / TO THE

    BUT:

    After failed attempts to restore and work finally restore my partition table operation is different:

    Fdisk/dev/disk0

    Disk: geometry / dev/disk0: 60801/255/63 [976773168 sectors]

    Signature: 0xAA55

    From end

    #: cyl hd s - cyl hd s id [Start - size]

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

    1: EA 0 0 2 - 1023 255 63 [1-409639]

    2: AF 25 102 15 - 1023 255 63 [409640-857906448] HFS +.

    3: AB 1023 0 57 - 1023 255 63 Boot Darwin [858316088-1269536]

    * 04:07 1023 199 8-1023 255 63 [859586560-117186560] HPFS/QNX / TO THE

    Everything seems to work fine, but I wonder if the different appearance of the partition table can be a problem?

    For example, compare:

    1: EA 1023 254 63 - 1023 254 63] 3 o 409639]

    TO

    1: EA 0 0 2 - 1023 255 [63 3 o

    409639]

    It's the output of 'diskutil list ':

    localhost: ~ root # diskutil list

    / dev/disk0 (internal, physical):

    #: NAME SIZE TYPE IDENTIFIER

    0: GUID_partition_scheme * GB 500,1 disk0

    1: disk0s1 EFI EFI 209.7 MB

    2: Apple_HFS Macintosh HD 439,2 GB disk0s2

    3: disk0s3 Apple_Boot Recovery 650.0 MB HD

    4: Microsoft database BOOTCAMP 60.0 GB disk0s4

    And the output of 'TPG - r - vv show/dev/disk0':

    See the TPG: / dev/disk0: mediasize = 500107862016; SectorSize = 512; blocks = 976773168

    See the TPG: / dev/disk0: MBR suspicious to sector 0

    See the TPG: / dev/disk0: Pri GPT to sector 1

    See the TPG: / dev/disk0: GPT Sec at sector 976773167

    start index size summary

    0 1 MBR

    1 1 Pri GPT header

    2 32 table GPT Pri

    34 6

    40 409600 1 part TPG - C12A7328-F81F-11D2-BA4B-00A0C93EC93B

    409640 857906448 2 part TPG - 48465300-0000-11AA-AA11-00306543ECAC

    858316088 1269536 3 part TPG - 426F6F74-0000-11AA-AA11-00306543ECAC

    859585624 936

    859586560 117186560 4 part TPG - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7

    976773120 15

    976773135 32 table dry GPT

    976773167 1 dry GPT header

    Out of 'gdisk/dev/disk0:

    localhost: ~ root # gdisk/dev/disk0

    GPT fdisk (gdisk) version 1.0.1

    WARNING: Open with shared lock devices will not have their

    table partition automatically reloaded!

    Scanning partition table:

    MBR: hybrid

    BSD: absent

    APM: absent

    TPG: present

    Found a valid GPT with hybrid MBR; using GPT.

    Command (? for help): p

    Disk/dev/disk0: 976773168 sectors, GiB 465.8

    Logical sector size: 512 bytes

    Identifier (GUID) of disc: 38A2E667-6E00-4C0F-BD78-C95979E3CFAE

    Partition table contains up to 128 entries

    First usable sector is 34, last usable area is 976773134

    The partitions will be aligned with the boundaries of sector 8

    Space is free total 957 sectors (478,5 KiB)

    Starting number (sector) end (sector), Code name of size

    409639 40 1 MiB EF00 EFI 200.0

    2 409640 858316087 409.1 giB AF00 Macintosh HD

    3 858316088 859585623 619.9 MiB AB00 Recovery HD

    4 859586560 976773119 55.9 giB 0700 BOOTCAMP

    Any ideas?

    Another question:

    Is it possible to save the table to partition like that?

    DD if = / dev/sda of = gptandmbr bs = 512 count = 34

    Thank you very much

    NEUMAC

    In Fdisk, the CHS numbers are arbitrary on modern disks. They are the time of BIOS and old disks with CHS geometry. Puts BCA from Mac 0-1023 (1024 cylinders), 0-255 (256 heads) and 0-63 (64 sectors). Modern disks far exceed those numbers and would drain them. Must match what is the triplet of start/end/size and it fits in GPT and MBR. You can put arbitrary 0,0,0 for CHS and you will see all issues on GPT disks.

    Please do not use TBIL to restore W10 to circa 1970-80 disks.

  • Assistance button works do not (= does ' t start VAIO Care Rescue) after having lost and recover the partition table / MBR

    Hello

    For some reason that I lost my patition table but I was able to get it back and I'm rewriting MBR. I'll be back all my partition and files contain the VAIO recovery partition except files on the operating system partition ("C:\ »). It's an unformatted partition. VAIO Care rescue didn't work so I had to format "C:\". "and reinstall windows 7 and now all is good.

    I have VAIO Care Rescue. I think that it is enough to change the partition table / MBR. What exactly is the problem and is it possible to fix the problem of button Assist?


    And if one removes all xxxx (include VAIO Recovery) and creates new ones, is it possible, software or image of the recovery restore partition and Assist button start VAIO Care Rescue?

    My laptop model: VPCEA25FG

    Thank you

    You can restore your computer back to factory with all the pre program and software installed by using recovery discs. For further assistance, please recommend contacting Sony's Support Center in your area at http://www.sony-asia.com/support/product/VPCEA25FGfor your model of Asia-Pacific computer. Thank you.

    If my post answered your question, please mark it as "accept as a Solution.

  • Why the partitioned table cannot create?

    Why the partitioned table cannot successfully create?
    SQL> create table hr.gps_log_his
      2  (id number,
      3  name varchar2(10),
      4  time date)
      5  tablespace ts_log_his
      6  PARTITION BY RANGE (TIME)
      7  (PARTITION udp_part2009110707 VALUES LESS THAN (TO_DATE('2009110708','yyyymmddhh24')),
      8  PARTITION udp_part2009110708 VALUES LESS THAN (TO_DATE('2009110709','yyyymmddhh24')),
      9  PARTITION udp_part2009110709 VALUES LESS THAN (TO_DATE('2009110710','yyyymmddhh24')),
     10  );
    )
    *
    Error in line 10:
    ORA-14004: Missing PARTITION key word.

    Hello

    Your problem is the comma ending line 9. Delete this.

    Concerning
    Peter

  • How to configure the partition table for SSD?

    Drive: 32 GB SSD

    I accidentally delete without backup partition table information and would like to know how to put the partition table, I can access the tools of partition table, but do not know how to define.

    Does anyone have any suggestions?

    Thanks in advance for your suggestions

    Hello

    Thanks for posting your query in Microsoft Community.

    The SSD could be seen in the disk management window, and you could name and set up as another hard drive internal. To create a partition or volume on a hard disk, you must be logged in as an administrator, and there must be unallocated disk space or free space in an extended hard disk partition. To repartition your hard drive, please consult the following link and check if it helps.

    I can I repartition my hard disk?

    Additional information:

    Create a new Partition on a hard disk in Windows 7

    Hope this information is useful. Let us know if you need more help, we will be happy to help you.

  • Create index partition in the partition table tablespace

    Hello

    I am running a work custom that

    * Creates a tablespace by day
    * Creates the daily table partition in the created tablespace
    * Removes the days tablepartition X
    * Removes the storage space for this partition of X + 1 day.

    The work above works perfectly, but it has problems with the management of the index for these partitioned tables. In the old database (10g - single node), all indexes and partitions exist in a BIG tablespace and when I imported the table creation script in the new database, I changed all the partitions table & index to go in their respective space.

    For example:

    Table_name... Nom_partition... Index_Part_name... Tablespace_name
    ============...================............====================...........=================
    TABL1... TABL1_2012_07_16... TABL1_IDX_2012_07_16... TBS_2012_07_16
    TABL1... TABL1_2012_07_15... TABL1_IDX_2012_07_15... TBS_2012_07_15


    But now, when the job is run, it creates the index in the tablespace TBS_DATA default.

    Table_name... Nom_partition... Index_Part_name... Tablespace_name
    ============...================.............====================...........=================
    TABL1... TABL1_2012_08_16... TABL1_IDX_2012_08_16... TBS_DATA
    TABL1... TABL1_2012_08_15... TABL1_IDX_2012_08_15... TBS_DATA


    I can issue alter index rebuild to move the index to its tablespace default, but how can I make sure that the index is created in the designated tablespace?

    NOTE: the partition/tablespace management work that I run only creates the partition of the table and not the index.


    The new env is a cluster of CARS of 2 nodes 11 GR 2 on Linux x86_64.


    Thanks in advance,
    aBBy.

    try something like this

    ALTER table tab_owner.tab_name add the partition v_new_part_nm
    values less (to_date('''|| v_new_part_dt_formatted ||'') ((', "DD-MON-YYYY)) tablespace ' | part_tbs
    update the index (ind1_name (partition ind_partition_name tablespace ind_part_tbs)
    ind2_name (partition tablespace ind_part_tbs ind_partition_name))
    ;

  • query the partition tables

    Hi all

    I want to query the partition tables that are over 1 GB in size?

    How can I ask questions?

    Salvation;

    You can also try with dba_tab_partitions view

    Respect of
    HELIOS

  • How to find the size of the partitioned tables?

    How to find the size of the partitioned tables?

    Select nom_segment, sum (bytes) /(1024*1024) 'Size in MB' from dba_segments
    where owner = 'owner name' and segment_type like '% PARTITION % '.
    Group by nom_segment;

  • Re: Qosmio X 500 - 10W - how to restore the partitions from the factory?

    Hi all

    I messed up my Windows 7 64 bit system desinstalling Ubuntu default (it is a dual boot with GRUB). Now my system will not boot. I have repaired my partition table using Linux tools and therefore can access files on each partition (SYSTEM; WINDOWS and RECOVERY) which was not the case before.
    So, I consider this task fact and ok.

    But I don't know which partition has been marked as boot; hidden or whatever. There are 3 partitions on the first HARD disk that are the SYSTEM; WINDOWS and RESTORE

    -They are all PRIMARY partitions (I think so)?
    -Is the hidden SYSTEM partition?
    -What is the boot (SYSTEM or WINDOWS) partition?

    At that time, when I use the recovery CD, it detects Windows 7 disk D:\ instead of C:\

    Sorry for English, but this is not my first language
    Thank you

    Hello

    Install Ubuntu on your computer as the 2nd operating system, you have moved recovery partition. In General, it is not available more hopefully, you've done a recovery disk before partitioning. Otherwise, you can order [Recovery disk | https://backupmedia.toshiba.eu/landing.aspx] Toshiba for money or get Win copy of disc to do a clean install, all Toshiba drivers, you can find:

    [European Toshiba driver page | http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp]

  • Restore the partition from the Satellite Pro A200 recovery

    Hello

    I accidentally deleted the 5 GB recovery partition on my Satellite Pro A200. I have since recovered (and the data inside) and tried to create my discs of recovery using the "Recovery Disc Creator', but it is to say that it cannot find the recovery partition :(

    I tried fishing by the ini files for recovery disc creator find where he seeks the score, but could not find anything...

    One thing I noticed is that now it is recovered, it appears as a NTFS fs (I think that before it was an unknown FS type?) and volume label "HDDRECOVERY".

    Any ideas on how I can either:

    (a) wrong recovery tool by using the recovery partition
    (b) to make the score look exactly as it did before I deleted it, so I can use the tool as it is.

    Would really appreciate any help - want to make these recovery disc for my vista ultimate before I go around whacking backtrack top :) and dicking

    your

    Frank

    Hello

    > accidentally deleted the recovery partition of 5 GB on my Satellite Pro A200. Since I got (and the data inside)
    I wonder how you restored the deleted partition. Perhaps the recovery settings partition are not the same that before and, therefore, the "Recovery Disc Creator' doesn t work properly.

    Unfortunately, I think you will not be able to fool the recovery tool, if the recovery partition cannot be found.
    You can rename only the partition NTFS FS. This can be done in the disk management console.
    But I don t think this will solve this problem.

    It seems that you have to reinstall the whole OS using the CD of restoration of Toshiba or the original CD of Microsoft Vista

    Good bye

  • How do I restore the partition hidden bootcamp

    Hello

    I had the partition, bootcamp for windows 7 and I had restored the bootcamp. Bootcamp deleted the partition, but it could not restore the main HD storage size. How to restore the free space.

    Hello there, elixir_125.

    Looks like you're wanting to reformat the hard drive on your MacBook to delete the Bootcamp partition. The following Knowledge Base article offers up how to do this:

    How to reinstall OS X on your Mac

    Wipe your drive and install OS X

    Generally, you don't need to erase your startup disk to reinstall OS X. The OS X Installer is designed to allow you to perform an installation in place during the same version or earlier versions of Mac OS X. If you transfer your Mac to a new owner, you can clear your integrated boot disk before you reinstall OS X.

    Important: Before you remove and reinstall, back up your important files. If you are using a MacBook, MacBook Air or MacBook Pro, make sure that the power adapter is connected and plugged all by performing the following steps.

    You can use these measures to erase files on your startup drive and install a fresh copy of OS X:

    1. Before you begin, make sure that your Mac is connected to the Internet.
    2. Restart your Mac. Immediately hold down the command (⌘) keys and R after having heard the startup sound to boot into OS X Recovery.
    3. When the recovery window, select disk utility, then click on continue.
    4. Select the volume name back from your startup disk in the left side of the disk utility window, then click Delete.
    5. If you want to erase the disc safely, click Security Options. Select an erasing method, and then click OK.
    6. On the Format menu, choose Mac OS extended (journaled). Type a name for your drive, and then click clear.
    7. After that the drive is deleted, close the disk utility window.
    8. If you are not connected to the Internet, select a network in the Wi-Fi menu.
    9. Select the option to reinstall OS X.
    10. Click on continue and follow the instructions on the screen to reinstall OS X.

    Additional options

    If you want to reinstall the version of Mac OS X included with your Mac, or if you have to reformat your entire startup disk, press Command + Option + R to start instead. This starts your Mac recovery of the Internet.

    If you have more than one partition (like Boot Camp) and you want to delete the complete startup disk, you can use disk utility to remove the partitions or re-partition your hard drive. Start up your Mac in recovering from Internet, then use utility to repartition your boot disk drive until delete you it. Make sure that you back up important data from all partitions before repartitioning of a disc.

    Thank you for being a part of the communities of Apple Support.

    See you soon.

  • HP ProBook 650 G1 L4A21UT #ABA: windows 10 update and restore the partition

    I have recently updated from Win 7 to 10 to win. I'm assuming that the Win 7 recovery partition was intact. Is this a problem?

    Also, when I restarted after the upgrade, accelerometerST.exe "not found."

    I googled for it and found the link to 10 to win, but I was unable to download.

    Should I just ignore the missing .exe?

    Kind regards

    Joe (aka Malcolm)

    @K8MP

    Creating recovery media is something done before the partition is non-functional.

    The 'Upgrade' comes with the ability to 'come back' to your operating system already installed.  There is a time limit: If you want to "go back", you must do so within the 30 (or 31) days from the date / time of the migration to Windows 10.

    The 'go back' is a provided Windows mechanism - it seems that the method works (to restore the previous operating system / full environment) most of the time.  The 'go back' method does not work, you prefer should be prepared to install the operating system.

    Now that you have your digital license of Windows 10 (also known as the 'right'), you can "go back" or reinstall Windows 10 at a later date.  Your license for Windows 10 "sticks", in other words, Microsoft a record or your license so you can return to / install Windows 10 on this same machine.

    DavidPK tips

    Update Windows 10 and HP System Recovery

    Your Systemis Windows 10 drivers - it is a good indicator that the computer runs Windows 10 with less problems if the system was not supported for the new OS.

    If you decide to stay on Windows 10, consider using the image / ghosting software to create a "recovery disc" disc.

    Example:

    Macrium Reflect free

    There is an active Macrium Forum where you can read how other view / use the product.

    When you see a post that will help you,

    Who inspires you, gives a cool idea,

    Or you learn something new.

    Click the 'Thumbs Up' on this post.

    Fixed / responded? Click this post accept as Solution to help others find answers.

  • How to recover the partition table (corrupt) for the partition in good health?

    Partition (drive H) was working fine, then I rebooted my system normally and the drive is now inaccessible.

    "An error occurred reading the file: the file or directory is corrupted and unreadable." (1392).

    Window CMD CHKDSK says NTFS file system and "unable to determine the State and version volume.»

    [This is a disk external drive with 2 partitions on it - H and Mr. the second partition (drive M) discs works fine.]
    [Vista Ultimate OS]

    Is there a way I can get it to work or get the data off of it?

    Try the procedure described in the article below

    http://www.ehow.com/how_7500292_recover-bad-partition-table.html

  • How to remove the partition of data (D) on the Toshiba Satellite

    Hi, I have a Toshiba C660, which is part of the series of satellites. I got my laptop yesterday and while I was looking at the capacity of the hard drive that I have seen that there are 2 partitions. A partition is my C drive and the other is my D drive, drive D is called 'data' and I double click on the folder, there is a folder named "HDD Recovery." Is it not possible to delete this partition, because I don't think that this partition is necessary and I'd like to expand my C drive using the D drive space.

    Thank you

    Partition D, your description, would appear to be a recovery partition. If so, it is provided so that the computer can be recovered/restored to the State it's in when the computer was delivered to you.

    If you have other means in place to make this (backups of the entire system to storsge external, for example), the partition could be deleted and the space used for other purposes. If you do not have such a plan for backup in place, you can delete it anyway - it's your computer. However, it would be unwise, in my opinion - but it's not my computer.

    Happy computing and good luck.

    Tom Ferguson

Maybe you are looking for