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

Tags: Database

Similar Questions

  • 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.

  • 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.

  • How reocver Bitlocker encrypted Partition

    I typed by mistake in the Command Diskpart and I lost all my partitions. I think I lost the MBR table / parition. Now the drive is indicated not allocated. I tried to rebuild the partition table, all NTFS partitions are detected, but Bitlocker encrypted Partition is always shown not allocated. Can someone help me please? How to rebuild the partition table which will rebuild my Bitlocker encrypted Partition? I have a password key and the recovery of the partition encrypted by Bitlocker.
    I'm not a not format the drive I deleted only the partition table and MBR.
    Your help and suggestions are appreciated.

    Hello MdAshad,

    For questions and problems of Bitlocker, visit the link below on the Technet Forums of Microsoft.

    http://social.technet.Microsoft.com/forums/en/w7itprosecurity/threads

  • 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.

  • 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/

  • How to remove the partition from disk on Tecra?

    Any ideas how to remove the partition that Toshiba create by default when the operating system is installed?

    Hello

    Which partition do you mean? And what laptop do you have?
    I got my satellite repeatedly and didn t see any partition made by Toshiba.

    Of course, I read in this forum that some owners of Qosmio with Qosmio player have this partition that has been specially designed for the Qosmio player.

    So, what do you mean exactly?

    PS: If you want to remove a single partition if you do to the title of the disk management in the computer management option.

  • How to make a partition in Windows Vista (Satellite M200)

    Hi guys,.
    I * Toshiba Satellite M200 laptop *.
    When I formatted my hard drive and try to re - install Windows vista by using the recovery disk.
    I don't get how to do the partition on it.
    If I followed the process right in front there is a single drive (C:\) I found at the end of the whole process.
    I tried several times but could not get the solution for it.

    Can someone help me?

    Thanks in advance.

    Hello!

    You can create partitions with Windows Vista Disk Manager.
    It s not able to partition with the recovery disk, but you can do it with the Vista tool easy enough.

    Make a right click on my computer => manage-online Storage-online disk management
    Then, you can create partitions how do you.

    By the way, here is an interesting article for you:
    http://195.182.196.33/KB0/TSB7101OB0006R01.htm

    Good bye

  • I receive a message to install Personal Security Manager (PSM) whenever I try to load my longman Dictionary. How can I download

    I receive a message to install Personal Security Manager (PSM) whenever I try to load my longman Dictionary. How can I download it. And what is - this?

    Hi alizargarian,

    ·         What version of the operating system is installed on the computer?

    I suggest you to return the item.

    http://www.Mozilla.org/projects/Security/PKI/PSM/

    http://www.Mozilla.org/projects/Security/PKI/PSM/arch.html

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • How to delete a partition and extend a volume?

    Original title: DRICE (c :)) IS FULL AND THE PLAYER (D :)) CANNOT BE USED)

    I INSTALLED WINDWOS VISTA ULTIMATE UPGRADE AND WHEN I FINISHED THE INSTALLATION PROCESS IT CREATES TWO PARTITIONS ON MY DRIVE, NOW I HAVE THE DRIVE (C :)) WHICH IS ONLY 12.6 GB OF CAPACITY N ITS ALMOST FULL AND THE OTHER DISK PARTITION (D :)) IS EMPTY WITH 452 GB, BUT I CAN'T DO THE PRIMARY READER.)) I NEED TO KNOW HOW TO MERGE TWO PARTITIONS INTO A SINGLE PRIMARY SINGLE PLAYER! Help, please!

    Hello

    Here's how you can do this:
    a. Click Start and type in the bar disk management search and then press ENTER.
    b. highlight the D: partition in disk management.
    c. right-click on the partition and click delete volume and follow the instructions on the screen to remove the volume.
    d. now right click on the C: drive and click on extend the volume to add the unallocated space.
     
    See the article below for more information:
    Delete a hard disk partition
    http://Windows.Microsoft.com/en-us/Windows7/delete-a-hard-disk-partition

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to create a partition bootable on USB

    Can someone tell me how to create a partition on my USB key bootable?

    The Microsoft page for this was complicated and not very clear :-)

    I hope that flashing the new update of the BIOS on my USB solves the recent problems of Vista...

    Hello

    How to create a Vista Installation USB key - read the warnings
    http://www.Vistax64.com/tutorials/181538-USB-bootable-Vista-installation-Flash-thumb-drive.html

    HOWTO: Install Windows Vista from a high speed USB 2.0 Flash Drive
    http://kurtsh.spaces.live.com/blog/CNS! DA410C7F7E038D! 1665.entry

    Install Windows Vista from USB Bootable Flash drive
    http://www.techmixer.com/install-Windows-Vista-from-bootable-USB-Flash-memory-drive/

    How to create bootable USB drive to install Windows Vista?
    http://www.askvg.com/how-to-create-bootable-USB-drive-to-install-Windows-Vista/

    You can install Windows from one will also let you Flash a BIOS.

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • How to shrink the partitions using mdt

    Hello

    I have created custom win 7 Pro x 64 image using MDT. Now I want to know how to format all partitions or how I delete all partitions and create a unique partitions during installation of operating system

    You will have to go on Support of Windows 7 forums on the following link to help solve your problem: http://social.technet.microsoft.com/Forums/en/category/w7itpro/

    or

    Boot from the Windows 7 DVD

    Click Install now

    Accept the license agreement

    When the option is displayed to select a type of installation, click (Custom advanced)

    Click on drive Options

    Select the disc/s click on Delete

    Click new

    Click on apply

    Click OK

    Click Format, and then click next to proceed with the installation

  • 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

  • How to make a partition during the installation of ESXi 5.0

    Dear Sir.

    I want to install ESXi 5.0 on my HP compaq 6200MT machine, I have 2 500 GB HARD drives. Problem is I don't know how to create the partition and in what phase of the installation.

    When I run Setup it does not give me any part where I should partition.

    Moreover, I want to install ESXi 5.0 in the format below.

    / 5120 MB ext3

    1600 MB swap

    / Home ext3 2048 MB

    ext3/tmp 2048 MB

    ext3/var 4096 MB

    / opt ext3 2048 MB

    / boot ext3 250 MB

    vmkcore 100MB

    Your help in this regard will be highly appreciated.

    Thank you

    Malik Adeel Imtiaz

    The ESXi uses about 5 GB of disk space for internal use, the rest could be used for your virtual machines. Running a Microsoft Cluster virtual has many different conditions, but it might be possible to install in your situation (assuming of course that it is a test configuration). See this document for more information on the configuration of the "cluster-in-a-box", page 10:

    http://pubs.VMware.com/vSphere-50/topic/com.VMware.ICbase/PDF/vSphere-ESXi-vCenter-Server-50-MSCS-Guide.PDF

  • 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

Maybe you are looking for