Partition by list (substr(col_name,1,4)) possible?

Hi,
Can we partition table by list based on function not just column?
partition by list (substr(column_name,1,4))
-Thanks
Regards,
Chan.

Raj,
No. But email me for an alternative solution at [email protected]
Did you know something what we ignore and that you don't want to share here ?
Nicolas.

Similar Messages

  • Automatic partition by list creation in 11gR2

    Hi all,
    Is it posibble with Oracle 11gR2 automatic partition creation by list?
    Or is it possible only by range?
    What I need is that whenever a new value (partitioned key) is inserted in a partitioned table, Oracle automatically creates a new partition based on that new value.
    Thanks

    Interval partitioning currently only supports range partitions, and must be based on a column of number or date type.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16541/part_admin001.htm#VLDBG1088
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16541/part_avail.htm#VLDBG1279

  • Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    Why does Apple not give a list of error messages and possible solutions? I have the (-54) error continually that has suddenly appeared and cannot find a solution, even though other users seem to have the same problem.

    This is a user to user forum.  Apple isn't here and won't answer you.  You need to contact Apple directly.  You can use the Contact button at the bottom of the screen.

  • Activating listed credit songs is not possible

    Activating   [ listed credit songs ]   is not possible.  I receive the free songs from Apple, because I solved a TC-problem for them.

    I could download the songs, but my computer refuses
    to play these songs. Every time I want to play them,
    the iTunes program asks for autorisation. Then after
    authorising, saying that authorisation has succeeded
    for 1 computer, the songs do not play and iTunes asks
    again and again to authorise. No playing possible!
    Please can you find out what could be wrong?
    Which solution to propose?
    Thanks, in advance, for dealing with this problem.
    Edward J-M-A
    My problem was solved within 24 hrs of reporting the problem. I got a note with instructions to follow.

  • Partition by LIST and subpartition by LIST

    Hi,
    Can I create a table having partition by LIST and also subpartition by LIST.
    If we can then please provide a syntax or otherwise if we can't then please provide a valid reason for it.
    Regards,
    Koushik

    You can have list-list composite partitioning in 11G, not before that.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28318/partconc.htm#BCGJEEGJ
    Search the documentation for the syntax.

  • HASH PARTITION TO LIST PARTITION

    version : Oracle 10g
    hi All,
          i have a table partitioned by hash(8 segments) with 200 millions records . now we want to move to list partition the same table by state.
          Is there a way to drop hash Partitions with out losing the data, and Add list partition.
        

    No, you can't "convert" the Hash Partitions to List Partitions.
    You have to create a new, empty, table that is List Partitioned and then move the data over to the new table.
    You could use Direct Path Insert (i.e. INSERT with APPEND Hint) with PARALLEL degree and NOLOGGING on the target table to speed up the copy.
    You could also use DBMS_REDEFINITION to migrate the data.
    In either case, you also have to create the Indexes on the new table.
    Hemant K Chitale

  • Range - Interval Partition and List Subpartition.

    Hi
    I am trying to create the Range(Interval) Partition with List Sub partition (dynamically). Here the LOCATION_CD List is Dynamic. Basically Location_CD is Country name. e.g USA, IND,GER.....
    Below Works good...
    CREATE TABLE TEMP
    SEQUENCE_ID NUMBER,
    RESERVATION_DATE TIMESTAMP,
    LOCATION_CD VARCHAR2(5)
    PARTITION BY RANGE (RESERVATION_DATE)
    INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
    SUBPARTITION BY LIST(LOCATION_CD)
    SUBPARTITION TEMPLATE
    ( SUBPARTITION CD_01 VALUES ('USA'),
    SUBPARTITION CD_02 VALUES ('IND'),
    SUBPARTITION CD_03 VALUES ('GER')
    PARTITION TEMP values LESS THAN (TO_DATE('01-JAN-2000','DD-MON-YYYY'))
    Today there are 3 Countries but going forward it can be more or less.
    I like the Interval Range Partition concept, where the new partition is automatically gets added.
    But at the same time can the new list sub partition be added ? If this doesn't work...can we have another alternative approach or partition technique ?
    Please suggest.
    Thanks
    Jitesh R.

    Why didn't you just perform two inserts and answer the question yourself?
    orabase> CREATE TABLE T (
      2  SEQUENCE_ID      NUMBER,
      3  RESERVATION_DATE TIMESTAMP,
      4  LOCATION_CD      VARCHAR2(5))
      5  PARTITION BY RANGE (RESERVATION_DATE)
      6  INTERVAL (NUMTOYMINTERVAL(1,'MONTH'))
      7  SUBPARTITION BY LIST(LOCATION_CD)
      8  SUBPARTITION TEMPLATE (
      9  SUBPARTITION CD_01 VALUES ('USA'),
    10  SUBPARTITION CD_02 VALUES ('IND'),
    11  SUBPARTITION CD_03 VALUES ('GER')) (
    12  PARTITION root values LESS THAN (TO_DATE('01-JAN-2000','DD-MON-YYYY')));
    Table created.
    orabase> insert into t values (1, TO_DATE('02-JAN-2000'), 'USA');
    1 row created.
    orabase> select partition_name, subpartition_name
      2  from user_tab_subpartitions
      3  where table_name = 'T';
    PARTITION_NAME                 SUBPARTITION_NAME
    ROOT                           ROOT_CD_03
    ROOT                           ROOT_CD_02
    ROOT                           ROOT_CD_01
    SYS_P84                        SYS_SUBP83
    SYS_P84                        SYS_SUBP82
    SYS_P84                        SYS_SUBP81
    6 rows selected.
    orabase>  insert into t values (1, TO_DATE('02-JAN-2000')+400, 'USA');
    1 row created.
    orabase> select partition_name, subpartition_name
      2  from user_tab_subpartitions
      3  where table_name = 'T';
    PARTITION_NAME                 SUBPARTITION_NAME
    SYS_P88                        SYS_SUBP85
    SYS_P88                        SYS_SUBP86
    SYS_P88                        SYS_SUBP87
    SYS_P84                        SYS_SUBP81
    SYS_P84                        SYS_SUBP82
    SYS_P84                        SYS_SUBP83
    ROOT                           ROOT_CD_01
    ROOT                           ROOT_CD_02
    ROOT                           ROOT_CD_03
    9 rows selected.

  • TS2755 I received a message from my wife, to which I replied but the response went to her and others in her contact list. How is this possible?

    I received a message from my wife, to which I replied but the response went to her and others in her contact list. How is this possible?

    I have had a similar but worse issue.  I sent a text with photo to 6 friends and family members.  Their replies went to folks in my contacts list who were not even part of the original string.  In fact, one of the replies went to someone whom I had evidently called once but was not in my contact list. This is very strange.

  • Partitioning by list

    Which is the recommended way to partition by list:
    a) Put each list partition on a separate tablespace
    or
    b) Put all the list partitions on the same tablespace?
    What is the difference between the two?

    Difference between the two is the fact that you're keeping data in separate datafiles using separate TS. Benefit of using separate TS for partition are
    1. You can take one of the TS offline for backup. This is beneficial if the list is capable of bifurcating the history data. For example is records for 1997 are in TS xyz, then you can take xyz offline for backup without stopping the application.
    2. If TS can be kept separately on different disk, then i/o benefit can be achieved.
    Sudhanshu Bhandari
    perotsystems TSI

  • In app run if no list generated what are the possible causes

    afetr the app run when i click on execute system showing no list generated.  what r the possible causes?

    Hi
    1.  no due date open items are not availabe for that vendor.
    2.  please check the vendor master.  payment method are defind or not.
    then you will run the APP cycle.
    Regards
    Ram

  • Current list of traded in games possible?

    Often times when I do trade ins, my local bby, doesn't give me a receipt and at least once failed to give me my 10% bonus and 2x rewards points.
    That's not my problem, I do not recall what all games I've traded in, and Do not want to go over the limit, thus I am asking if its possible to pull up a complete list of trades.
    I look in my transactions but its not as helpful as I'd like because I know not all trades are listed there, and some games are just listed by title and not platform and title.
    I was pretty sure the limit on trades is 3 of the same title, per system, per year.
    And frankly I'd rather not exceed the limit and be punished.
    I wish I could say that my life was simple enough I could just remember it all, but not so much actually.

    Hi BobSmith007,
    Thanks for choosing Best Buy for your game trade-ins!
    At the current time, I don’t believe the functionality exists to show you a fully detailed list of previously traded in games at Best Buy. As everyone else has mentioned, holding onto your receipts is going to be your best option for now. With that said, our systems are constantly evolving, so this functionality may very well be implemented down the road. As far as the limitations go, you are correct in saying that it's three of the same title, per system, per year.
    With that, I do regret hearing that you may have run into a few hiccups when attempting to get your receipt. There should be absolutely zero issues in receiving a receipt for a trade-in completed at Best Buy. I sincerely hope you don’t run into any problems in the future with this.
    I appreciate your question, as well as your feedback here!
    Brian|Senior Social Media Specialist | Best Buy® Corporate
     Private Message

  • Any practical experience with composite partitioning range/list?

    Hi,
    I'm working on Oracle 9.2.0.4 and I plan to migrate several large range partitioned tables into range/list partitioned tables. I was wondering I anybody has some practical experience with this new feature (range/list composite partitioning) and if he encountered any bugs or "undocumented features" ?
    Thanks for any feedback
    Maurcie
    PS: I'm not looking for any documentation about how to do it, I'm just wondering if anyone has some experience in a PRODUCTIVE environment.

    You can also put the query in a parameter file so you don't have to worry about escaping characters.
    Dean

  • Hash partitioning v. list partitioning on surrogate key + partition pruning

    Hi,
    Have a large fact table with surrogate keys, therefore queries are of form
    select dimension.attribute..
    from fact, dima, dimb..
    where facta.dima_surrogate_key = dima.dimension_key
    and facta.dimb_surrogate_key = dimb.dimension_key
    and dima.attribute = <value>
    and dimb.attribute = <value>
    Would ideally like partition pruning to happen but will this happen if hash partition on facta.surrogate_key
    Likewise could list partition on facta.dima_surrogate_key and further sub-partition on hash of factb.dima_surrogate_key.
    Any advice much appreciated.

    user5716448 wrote:
    Hi,
    Version 11.2.0.1
    fact table structure
    PRODUCT_ID NUMBER
    RETAILER_ID NUMBER
    OUTLET_ID NUMBER
    CALENDAR_ID NUMBER
    BRANCH_ID NUMBER
    PUBLISHER_ID NUMBER
    DISTRIBUTOR_ID NUMBER
    TRANS_TYPE_ID NUMBER
    TRANS_QTY NUMBER (10)
    TRANS_VALUE (10,4)
    No date on fact table (just surrogate_id for calendar whihc links to calendar/date dimension.
    Although queries can be by date of transaction, most aren't.
    Potential to grow to 3 billion rows.
    Considering hash partitioning on the product_id, simply to break data down and product_id is the largest dimension.About hash partitioning – in this case it is probably all about the ability to run in parallel. Do not have any info on that, so I cannot comment further.
    >
    sqls are varied, lots of different types some query all dimensions, sometimes a few. Not the straightforward date examples in the manual.You can pick a dimension that is frequently used by the SQLs. I understand that there is no perfect one, but even if you pick just a “good” one you might have a good deal of partition elimination.
    >
    Users run 3rd part ad-hoc reporting layer which has to allow them to report against the star in any way they want.
    Star transformation hint enabled. Have heard in deciding number of hash partitions, partition size should geneerally be < 2gb.
    e.g transactions for a given product for customers belonging to a given multiple in a given week
    select trans_qty, trans_value, m.prod_name, m.prod_num, r.cust_name, w.branch_name, rtt.trans_date, rtt,trans_type
    from retailer_transaction rt, media m, wholesaler w, calendar c, retailer r, trans_type rtt
    where rt.issue_id = m.dimension_key
    and m.prod_num = 600
    and rt.branch_id = w.dimension_key
    and rt.outlet_id = r.dimension_key
    and r.multiple_num = 700
    and rt.calendar_id = calendar.dimension_key
    and m.issue_year_week = 201110
    and rt.trans_type_id = rtt.dimension_keyLastly, you need to focus on weather and how to partition your indexes (I assume you have bunch of bitmaps). This decision is at least as important as partitioning the table.

  • Boot Camp partition not listed in Windows XP setup menu

    My macbook hard drive is 230 GB, and I made the Windows partition to be 100GB in Boot camp assistant. When I ran Windows XP Setup, my boot camp partition was not listed in the menu, just my entire hard drive. The setup disk I am using is Windows XP Home Edition SP2, so I know it's not compatibility issue. I tried it again at least 3 times, and it didn't work. Does anyone have a solution to this problem?

    you need to install windows support software on a usb 2 flashdrive. more simply, start over in bootcamp, insert your usb drive as well as the dvd, check all 3 options. bootcamp will do the rest.
    or it could be a problem with the install disc, why not download win 7 iso from here;
    http://techverse.net/download-windows-7-iso-x86-x64-microsofts-official-servers/
    and go with this, its perfectly legal to use your activation code during instalation.

  • Expanding the "open in" list on ipad is it possible?

    This is a big problem in my workflow and I think it has probably affected quite a few peoples experience with the ipad and possibly other IOS devices.
    When a file is open and you need to transfer it to another app using the "open in" function pulls up a list of apps that can accept that file type.  THe problem is that the list is limited to only 10 apps.  Having purchased several apps that are useful in different circumstances for manipulating, annotating, reading, sharing or printing pdf files the number of apps I own are greater than 10.  
    There is no way to edit this list that I have found aside from randomly deleting apps until the one that I would like to use appears on the list.  This is frustrating and requires me to no longer use apps that I have purchased. 
    One other fix that I have heard of is deleting the ibooks app to expand this list to greater than 10 apps possibly including all apps that open that file type.  I have as of yet not tried this as I have several books and papers in the ibooks app and deleting it would be a big hassle.
    Has anyone tried this possible solution?  If so did it work?
    I was hoping that Apple would fix it in ios updates but it appears to still be a problem even after the latest ios 5.1 update.
    Any help with this matter would be greatly appreciated

    I just tested out deleting ibooks on my iphone.  It is running ios5.1 and it appears that deleting the ibooks app successfully expanded the list of apps to include all of the apps that can handle the pdf file type.  The "open in" list now has greater than 10 available apps.  Too bad I had to delete ibooks to acheive this.
    Wondering if this same action will resolve problems on the ipad as well.   

Maybe you are looking for

  • How to Add Album Art to Multiple Songs Same Time?

    I have many scenarios where 60-70 songs will share the same imported album art. Is there a method to add the art to the bulk of songs all at the same time. Similar to the multiple item entry field? Thanks!

  • Why is DVD not coming out of front R/L speakers and only Center Speaker

    Ok where am I missing the setting to get my Encore created DVD to play out of the Front Right and Left speakers of a 5.1 system rather than just the center channel?  In particular I have a movie on my main menu that is just a MOV loop with no audio. 

  • Newbie-How Do You Turn On/Off Webcam On The S10?

    Curious how the webcam works on the S10? How do you turn on/off the internal camera? Any instructions on use? Thanks.

  • Need to turn many old loads red

    Hi I am trying to clean our test system and we have many loads (mainly master data) that are stuck on yellow, approximately 800 going back a few months from old infopackage groups. I have stopped all loads from running until I sort this but is there

  • Windows Vista 32-bit, Itunes doesn't work.

    I had to delete Windows and re-install it and now iTunes doesnt work. I have an iPod so I need iTunes. Everytime I try to open it I get an error that iTunes stoped working. Hope you can help me.