recovery of tables of partitions in oralce 10g

Jin

What is the best way to recover a partition table in oracle 10 g. need to get only 4 partition of a table that contains more than one partition, I rman backup and export of this table... What is the easiest method to recover the four partition only,


Thank you and best regards,
Deepak

If FLASHBACK is enabled you can flashback database. But it's too heavy, if you only want to retrieve a single partition. "FLASHBACK DATABASE" is a point in time recovery, recover you lost partition, but you will lose all changes (possibly by other users) after the point of return back in time.

Werner

Tags: Database

Similar Questions

  • table of partition not valid-how can I solve this... cannot do anything on laptop

    table of partition not valid-how can I solve this... cannot do anything on laptop

    If you get an error about "Can't fixboot", then proceed to the next step.

    Type bootrec /fixboot (with a space after bootrec) at the command prompt, type enter.

    Type bootrec /RebuildBcd (with a space after bootrec), and then press the Enter key.

    If this is not successful, it is likely that the disc is not recoverable, and you will have to boot from the recovery disks to reinstall windows.

  • Increases the size of the "HDD Recovery" folder on the partition "D".

    I am the owner of laptop Toshiba Satellite, recently, I noticed that my D: drive (unused) is saturated and after careful analysis I realized that the "HDDRecovery" file size is > 200 GB.

    I don't want to remove the file or remove image files inside that I need the functionality of recovery, but I have not a clue how to handle the recovery process to decrease the volume.

    Do you have an idea how this issue?

    Wojtek

    Hello

    It seems strange to me that the size of the HDD recovery folder would increase up to 200 GB continuously. Probably for laptop computer stores files backup automatically in this folder, but I m not very well why

    However, I recommend you to create a recovery media (recovery disk) using the Toshiba
    Recovery media creator (this software pre-installed on the Toshiba laptop).

    The use of disk recovery (or USB key recovery) would fix the laptop back to the factory and even if settings you should remove the folder in HARD drive recovery or the entire partition, this partition, and these files would be created again.

    Hope that this information could be useful for you.

  • THEME AND THE RECOVERY 2 250 G5305GR PARTITION X HP

    Is it possible to make a recovery for my pc partition (I made stupid enough to delete it before you reinstall windows when I had a few problems) and the theme preinstalled?

    Use the set of recovery disks or USB recovery media to recover your PC for the scheme of original score that your computer was delivered in.

    Pre-installed theme?  Please provide details.

    Kind regards

    ERICO

  • alter table Exchange partition

    Dear Experts,

    I could ask does change exchange table partition depends on the size of the table or partition?

    Thank you for your help.

    Best regards, Atanas.

    Hello Atanas,

    It's the good point: it does not depend on the size. Data is actually exchanged between the two segments, the work is only level 'dictionary': Oracle exchange the roles of both existing segments, it is now regarded as a table and the other as a partition, as opposed to their roles before the "swap partition.

    Thanks to this, Exchange a partition can be a very quick way of loading new data or old data archiving...

    Best regards

    Bruno Vroman.

  • Cannot add the table to partition to partition

    Hi guys,.

    my version of oracle is 11 GR 2

    I created the table with the following DDL

    CREATE TABLE PERSON

    (

    ID_PERSON VARCHAR2 (10 BYTE) NOT NULL,

    NAME_PREFIX VARCHAR2 (5 BYTE),

    NAME_LAST VARCHAR2 (40 BYTE) NOT NULL,

    NAME_FIRST VARCHAR2 (30 BYTE) NOT NULL,

    NAME_MID VARCHAR2 (30 BYTE),

    NAME_SUFF VARCHAR2 (5 BYTE),

    CD_GENDER VARCHAR2 (1 BYTE),

    DATE OF DATE_BIRTH,

    FL_AGE18 VARCHAR2 (1 BYTE),

    ID_SSN VARCHAR2 (BYTE 9),

    ID_DMV VARCHAR2 (20 BYTE),

    ID_PH_NBR VARCHAR2 (10 BYTE),

    ID_ALIEN VARCHAR2 (10 BYTE),

    ID_TRIBAL VARCHAR2 (10 BYTE),

    NAME_TRIBAL VARCHAR2 (40 BYTE),

    ID_CITY VARCHAR2 (5 BYTE) NOT NULL,

    ID_AD_RESIDENCE NUMBER (38),

    ID_AD_MAIL NUMBER (38),

    CD_NVRA VARCHAR2 (5 BYTE),

    DATE OF DATE_ACCEPT,

    DATE OF DATE_EFFECT,

    CD_STATUS VARCHAR2 (2 BYTE),

    CD_STAT_REASON VARCHAR2 (50 BYTE),

    DATE OF DATE_STAT_CHANGED,

    DATE OF DATE_LAST_ACTIVE,

    FL_RESI_PF VARCHAR2 (1 BYTE),

    CD_RESI_PF VARCHAR2 (4 BYTE),

    CD_RESI_OTH_PF VARCHAR2 (40 BYTE),

    FL_ID_PROVIDED VARCHAR2 (1 BYTE),

    FL_ID_NEVER_ISSUED VARCHAR2 (1 BYTE),

    CD_ID_VALIDATION VARCHAR2 (2 BYTE),

    DATE OF DATE_ID_VALIDATION,

    FL_SIGNATURE VARCHAR2 (1 BYTE),

    FL_US_CITIZEN VARCHAR2 (2 BYTE),

    CD_CITIZEN_PF VARCHAR2 (5 BYTE),

    FL_ACP_PERSON VARCHAR2 (1 BYTE),

    ID_ACP VARCHAR2 (BYTE 9),

    DATE OF DATE_ACP_START,

    DATE OF DATE_ACP_END,

    FL_POLL_WORKER VARCHAR2 (1 BYTE),

    FL_CHALLENGE VARCHAR2 (1 BYTE),

    FL_PREHAVA_PERSON VARCHAR2 (1 BYTE),

    DATE OF DATE_DEATH,

    FL_ELIGIBLE_DELETE VARCHAR2 (1 BYTE),

    FL_ELIGIBLE_PURGE VARCHAR2 (1 BYTE),

    FL_DISABLED VARCHAR2 (1 BYTE),

    FL_ELDERLY VARCHAR2 (1 BYTE),

    NAME_SEARCH VARCHAR2 (40 BYTE),

    AD_SORT_NUM VARCHAR2 (20 BYTE),

    ID_VALID_OTHER VARCHAR2 (50 BYTE),

    ID_UVI VARCHAR2 (16 BYTE),

    ID_CITYSHIP VARCHAR2 (5 BYTE),

    FL_PROTECTIVE_ORDE VARCHAR2 (1 BYTE),

    FL_INACTIVE VARCHAR2 (1 BYTE),

    FL_OVERRIDDEN VARCHAR2 (1 BYTE),

    FL_ALT_REG_SIGN VARCHAR2 (1 BYTE),

    FL_PERMANENT_ABSEN VARCHAR2 (1 BYTE),

    CD_SPEC_STATUS VARCHAR2 (1 BYTE),

    FL_UOCAVA_COMMUNICATION VARCHAR2 (1 BYTE),

    AD_UOCAVA_EMAIL VARCHAR2 (254 BYTE),

    CD_PARTY VARCHAR2 (5 BYTE),

    DATE OF DATE_PARTY_ENROLL,

    DATE OF DATE_ACCEPT_ORIGINAL,

    DATE OF DATE_MOVED,

    DATE_CHANGED DATE,

    AD_EMAIL VARCHAR2 (254 BYTE),

    CD_RACE VARCHAR2 (5 BYTE),

    FL_CITIZEN_HEARING VARCHAR2 (1 BYTE),

    ID_USER VARCHAR2 (20 BYTE),

    TM_STAMP TIMESTAMP (6).

    DATE OF DATE_LAST_CONTACT,

    NAME_PREV_LAST VARCHAR2 (40 BYTE),

    NAME_PREV_SEARCH VARCHAR2 (40 BYTE),

    DATE OF DATE_REG

    )

    TABLESPACE PERSON_DATA

    PCTUSED 0

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    LOGGING

    PARTITION BY RANGE (ID_CITY)

    (

    P_PERSON_1 PARTITION VALUES LESS THAN ('1')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_2 PARTITION VALUES LESS THAN ('2')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_3 PARTITION VALUES LESS THAN ('3')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_4 PARTITION VALUES LESS THAN ('4')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_5 PARTITION VALUES LESS THAN ('5')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_6 PARTITION VALUES LESS THAN ('6')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_7 PARTITION VALUES LESS THAN ('7')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_8 PARTITION VALUES LESS THAN ('8')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    ),

    P_PERSON_9 PARTITION VALUES LESS THAN ('9')

    LOGGING

    NOCOMPRESS

    TABLESPACE PERSON_DATA

    PCTFREE 10

    INITRANS 1

    MAXTRANS 255

    STORAGE)

    64K INITIALS

    ACCORDING TO 1 M

    MINEXTENTS 1

    MAXEXTENTS UNLIMITED

    DEFAULT USER_TABLES

    )

    )

    NOCOMPRESS

    NOCACHE

    NOPARALLEL

    MONITORING

    ALLOW THE MOVEMENT OF THE LINE;

    I tried to add the partition with the highest value 10

    change the voter table add partition P_PERSON_10 lower (10);

    change the voter table add partition P_PERSON_10 lower (10)

    Error on line 11

    ORA-14074: partition bound must gather greater than that of the last partition

    I want to add 100 to leave with max 100 value, please help me in this regard.

    Split partition also get the error

    Thanks in advance

    Kind regards

    REDA

    ID_CITY a VARCHAR2 is not a number.  Thus, although "less than ('10')" is correct for a VARCHAR2 ("equal or superior (10)"), where do you think the value '2' would go? '2' less than '10' is? Where would the '21' value?  Where would '56'?  Tip: '21' is less than '3' and 56 'is less than 6'.

    Also your first partition is defined as "less than ('1')", which makes no sense.

    Hemant K Collette

  • creating table of partition with null values

    Hello

    I have a table with 20 GB of data. I changed this table in the table to partition with partition of the range
    the column with which I took for range (date), holding the values null

    can I have a partition for null values?

    Hello

    CREATE TABLE ICBS. KNET_STMT_EXTRACT_NEW_P
    (
    SRVC_TYPE VARCHAR2 (200 BYTE),
    FILLER_1 VARCHAR2 (200 BYTE),
    RTE_STAT VARCHAR2 (200 BYTE),
    TRAN_DATE VARCHAR2 (200 BYTE),
    TRAN_TIME VARCHAR2 (200 BYTE),
    POST_DATE VARCHAR2 (200 BYTE),
    DATE OF REC_INSERT_DT,
    DATE OF PROCESSED_DATE,
    KNET_RECON_RESSON VARCHAR2 (100 BYTE),
    NEW_TRAN_DATE VARCHAR2 (10 BYTE),
    REASON VARCHAR2 (200 BYTE)
    REASON_IND NUMBER (5),
    NODE_ID VARCHAR2 (8 BYTE),
    PROGRAM_ID VARCHAR2 (8 BYTE),
    USER_ID VARCHAR2 (8 BYTE),
    TIME_STAMP DATE
    )
    ICBS TABLESPACE
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    64K INITIALS
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    DEFAULT USER_TABLES
    )
    LOGGING
    PARTITION BY RANGE (REC_INSERT_DT)
    (

    KNET_STMT_EXTRACT_NEW_P_DEC11 PARTITION VALUES LESS THAN (TO_DATE (' 2012-01-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))
    LOGGING
    NOCOMPRESS
    ICBS TABLESPACE
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    INITIAL 1 M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    DEFAULT USER_TABLES
    ),
    KNET_STMT_EXTRACT_NEW_P_JAN12 PARTITION VALUES LESS THAN (TO_DATE (' 2012-02-01 00:00:00 ',' SYYYY-MM-DD HH24:MI:SS ',' NLS_CALENDAR = GREGORIAN '))
    LOGGING
    NOCOMPRESS
    ICBS TABLESPACE
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    INITIAL 1 M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    DEFAULT USER_TABLES
    ),
    PARTITION KNET_STMT_EXTRACT_NEW_P_MVAL VALUES LESS THAN (MAXVALUE)
    LOGGING
    NOCOMPRESS
    TABLESPACE TBL_MAXVALUE
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE)
    INITIAL 1 M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    DEFAULT USER_TABLES
    )
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING
    ALLOW THE MOVEMENT OF THE LINE;

    Published by: hitgon on April 30, 2012 10:56

    Published by: hitgon on April 30, 2012 10:58

    Published by: hitgon on April 30, 2012 10:59

  • Conversion table of Partition Non-Partition and vice versa

    Hello

    I followed the method of Partition to Partition and vice versa conversion table below. Please suggest is here
    any other altrnative methods available to accomplish the same thing.

    Conversion table of partition table partitions. Export data, drop the table, create the table with partitions and
    import data into the same table, now, the data is organized with Partitions.

    Conversion table of partition table non-partition. Export data, drop the table, create the table without partitions and
    import data into the same table, now, the data are organized without Partitions.

    Thank you.

    Google "oracle Exchange partition".

  • Reclaim space after ALTER TABLE DROP PARTITION

    Hello

    I have a partitioned table. My requirement is to reclaim the space by dropping a partition of the table.

    Is it possibe to recover space for the tablespace by dropping a partition of partition table?

    Thank you

    Hello

    ALTER TABLE DROP PARTITION will always return the space to the storage to be reused by other segments.

    It's the ALTER TABLE TRONQUER SCORE, where you can specify DROP STORAGE or of REUSE STORAGE clause (in case of re-use, the space is not released and can be used by the new lines inserted in the same partition). The DROP STORAGE should be the default option.

    But for the fall of the score, you don't have to worry.

    Kind regards
    Martin

  • Dictionary - Discover how a table is partitioned

    Hello

    I would query the dictionary to find out, how a table is partitioned. In USER_TAB_PARTITIONS, I see the sheet music itself, but I don't see, if the hash or list or another partitioning.
    I need this information through the select statement, so that I can interpret it an application.

    Kind regards
    Tobe

    toki79,

    SQL > select * from ALL_PART_TABLES;

    Is that what you want to see?

    Ogan

  • ALTER table move partition in parallel

    Hello

    I wish that this command must be run in parallel. is this possible?

    ALTER TABLE xyz PARTITION MOVE xyz_p0608 TABLESPACE q208_ts

    Thank you
    parallel_clause
    
    Purpose
    
    The parallel_clause lets you parallelize the creation of a database object and set the default degree of parallelism for subsequent queries of and DML operations on the object.
    
    You can specify the parallel_clause in the following statements:
    
        * CREATE TABLE: to set parallelism for the table (see CREATE TABLE).
        * ALTER TABLE (see ALTER TABLE):
              o To change parallelism for the table
              o To parallelize the operations of adding, coalescing, exchanging, merging, splitting, truncating, dropping, or moving a table partition
    

    To parallelize append operations, coalescence, Exchange, merger, splitting, truncate, delete or move a partition table

  • NOLOGGING in alter table split partition...

    Hi all

    Please can tell me where I would add the NOLOGGING in the below statement, or any other means by which I can stop to redo being generated

    ALTER table split partition EB_LOGS_082008 at (to_date('01-01-2010','DD-MM-YYYY')) NOLOGGING EB_LOGS into (partition EBLAST_TABLE, partition EB_LOGS_012010 tablespace EBLAST_TABLE tablespace EB_LOGS_082008) parallel;

    Wow... Grammar ALTER TABLE just constantly more and more complex, isn't?

    According to this:
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10592/clauses005.htm#CJAHABGF

    "For partitioned objects, the value specified for this clause is the physical attribute by default segments (and ALTER following... associated with all the partitions specified in the CREATE statement ADD PARTITION statements), unless you specify the logging attribute in the description of the PARTITION. »

    If I read that correctly, so if you want the NOLOGGING keyword to indicate more than just the physical default attribute, then it must be in the description of the PARTITION.

    So something like this, perhaps?
    Totally not tested, BTW:
    ALTER table EB_LOGS split partition EB_LOGS_082008 at (to_date('01-01-2010','DD-MM-YYYY')) into (partition EB_LOGS_082008 tablespace EBLAST_TABLE nologging, partition EB_LOGS_012010 tablespace EBLAST_TABLE nologging) parallel;

    Once again, this is an assumption and cannot yet pass the analysis.

    In regards to the perceived dangers of NOLOGGING operations, well, it is certainly something that must be clearly understood, but not to fear. The disadvantage of an operation NOLOGGING is that if you need to recover from a backup taken before the NOLOGGING operation, until a point in time after the operation NOLOGGING objects in the database that were submitted to NOLOGGING operations will logically corrupted and must be rebuilt.

    Finally, I fell on this can also be useful, regarding the optimization of SPLIT PARTITION operations:
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10837/part_admin.htm#VLDBG00304

    Hope that helps,

    -Mark

  • A table of partitioning, as every hour

    Hello

    I want to create a table and this table has a 24 (fixed) partitions for data every hour. If the partition column (date type) key is equal to '2009-01-17 01:05:09 ', it must be written second partition. If key of partition column equals '2009-01-17 00:05:08 ', it must be written first partition, even if the partition key is equal to "2009-01-24 00:35:47"it must be written to new first partition. How can I create this partitioned table? If we have a chance to write the substr function in the partition key, I could handle by using the partitioning of the list, but there is no chance to write a function in the column name partitoin except the to_date function key. Can you give me an idea or an example?

    I use Oracle 11.1.0.7.

    Thank you.

    Hoek wrote:
    Hello

    (Given that you're on 11g and I'm not, I can't give some info tested)

    Before 11g, it was not possible to partition by a function.
    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:1612281449571 #378322100346018401

    But maybe you could try also:

    not tested

    create table t( dt date )
    partition by list (to_char(dt, 'hh24'))
    (
    partition h01 values ('1'),
    partition h02 values ('2'),
    partition h03 values ('3'),
    partition h04 values ('4'),
    partition h05 values ('5'),
    --etc...
    )
    /  
    

    I don't think that this is possible even in 11g. But you're heading in the right direction. Tom probably meant was partitioning by virtual columns that both have have been introduced in 11 g (virtual columns and partitioning by virtual columns).

    Something like this maybe:

    drop table test_part_virtual_column purge;
    
    create table test_part_virtual_column
    (
    col1 date not null,
    col2 varchar2(20),
    col3 as (to_char(col1, 'HH24'))
    )
    partition by list (col3)
    (
    partition p_00 values ('00'),
    partition p_01 values ('01'),
    partition p_02 values ('02'),
    partition p_03 values ('03'),
    partition p_04 values ('04'),
    partition p_05 values ('05'),
    partition p_06 values ('06'),
    partition p_07 values ('07'),
    partition p_08 values ('08'),
    partition p_09 values ('09'),
    partition p_10 values ('10'),
    partition p_11 values ('11'),
    partition p_12 values ('12'),
    partition p_13 values ('13'),
    partition p_14 values ('14'),
    partition p_15 values ('15'),
    partition p_16 values ('16'),
    partition p_17 values ('17'),
    partition p_18 values ('18'),
    partition p_19 values ('19'),
    partition p_20 values ('20'),
    partition p_21 values ('21'),
    partition p_22 values ('22'),
    partition p_23 values ('23')
    );
    
    insert into test_part_virtual_column (col1, col2) values (to_date('17/01/2009 01:05:09', 'DD/MM/YYYY HH24:MI:SS'), '1');
    
    insert into test_part_virtual_column (col1, col2) values (to_date('17/01/2009 00:05:08', 'DD/MM/YYYY HH24:MI:SS'), '2');
    
    insert into test_part_virtual_column (col1, col2) values (to_date('24/01/2009 00:35:47', 'DD/MM/YYYY HH24:MI:SS'), '3');
    
    commit;
    
    exec dbms_stats.gather_table_stats(null, 'test_part_virtual_column')
    
    select partition_name, num_rows from user_tab_statistics where table_name = 'TEST_PART_VIRTUAL_COLUMN';
    

    In pre - 11 g a trigger might help:

    drop table test_part_nonvirtual_column purge;
    
    -- pre 11g with trigger
    create table test_part_nonvirtual_column
    (
    col1 date not null,
    col2 varchar2(20),
    col3 varchar2(2) not null
    )
    partition by list (col3)
    (
    partition p_00 values ('00'),
    partition p_01 values ('01'),
    partition p_02 values ('02'),
    partition p_03 values ('03'),
    partition p_04 values ('04'),
    partition p_05 values ('05'),
    partition p_06 values ('06'),
    partition p_07 values ('07'),
    partition p_08 values ('08'),
    partition p_09 values ('09'),
    partition p_10 values ('10'),
    partition p_11 values ('11'),
    partition p_12 values ('12'),
    partition p_13 values ('13'),
    partition p_14 values ('14'),
    partition p_15 values ('15'),
    partition p_16 values ('16'),
    partition p_17 values ('17'),
    partition p_18 values ('18'),
    partition p_19 values ('19'),
    partition p_20 values ('20'),
    partition p_21 values ('21'),
    partition p_22 values ('22'),
    partition p_23 values ('23')
    );
    
    create trigger trg_test_part_nonvirtual_col
    before insert
    on test_part_nonvirtual_column
    for each row
    begin
      :new.col3 := to_char(:new.col1, 'HH24');
    end;
    /
    
    insert into test_part_nonvirtual_column (col1, col2) values (to_date('17/01/2009 01:05:09', 'DD/MM/YYYY HH24:MI:SS'), '1');
    
    insert into test_part_nonvirtual_column (col1, col2) values (to_date('17/01/2009 00:05:08', 'DD/MM/YYYY HH24:MI:SS'), '2');
    
    insert into test_part_nonvirtual_column (col1, col2) values (to_date('24/01/2009 00:35:47', 'DD/MM/YYYY HH24:MI:SS'), '3');
    
    commit;
    
    exec dbms_stats.gather_table_stats(null, 'test_part_nonvirtual_column')
    
    select partition_name, num_rows from user_tab_statistics where table_name = 'TEST_PART_NONVIRTUAL_COLUMN';
    

    To the OP: why do you think you really need your table of partition by hours? Are you sure that this partitioning scheme is useful for the treatment of your data?

    Kind regards
    Randolf

    Oracle related blog stuff:
    http://Oracle-Randolf.blogspot.com/

    SQLTools ++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676 /.
    http://sourceforge.NET/projects/SQLT-pp/

  • External hard drive is not recognized and the Table to Partition GUID (GPT) partitioning scheme has message is required (-69773)

    Hello!

    I have an external HD that has been unplugued without eject by mistake. Since then, the HD is not recognized by the finder or disk utility.

    When I list the disk in the Terminal, the drive is listed.

    But when I tried to check or repair, a message appears: "failed to check this disc: a Partition GUID (GPT) partitioning schΘma Table is required (-69773).

    I can access the files using programs such as Seagate File Recovery, but I want to extract data and repair the disk without using 3rd party software.

    Is this possible?

    If you have access to the files - a possibility would be to get the files off the disk and then reformat using disk utility

  • Question about Table of Partition MBR

    I have a Toshiba laptop running Vista Home Premium SP2 with processor Dual-Core of AMD Athlon 64 X 2, 1 GB of ram and 150 GB of HARD drive.

    My question is about the partition table in MBR. It shows 4 partitions it.

    I have the Ultimate Boot CD, so I took a look at the MBR. Here are 4 partitions occupying its table:

    1. (without drive letter)-file system: blank - EISA config partition type code'n - 1.46 GB -: x 27
    2 C: - fs: ntfs - system, boot, primary, active partition - 92,01 GB - code: x 07
    3 D: - fs: ntfs - primary - 5.98 f - code: x 07
    4. (without drive letter)-fs: blank - primary - 5,64 GB - code: x 17

    c: is free of 17%, d: is 99% free, the other two are 100% free

    Can you explain what the purpose of D:? What about the other two (with no drive letter)? I read somewhere that ' x 17' code means "hidden IFS (ex: HPFS)' & 'x 27' means a rescue partition... true?". Do I need them, or I can remove the part'ns 3 (other than c :) & make use of space?

    Looks like the recovery and BIOS utilities. You need to check with Toshiba so one any of them can be deleted.

Maybe you are looking for