"ORA-1715 : UNIQUE may not be used with a cluster index" but why?

"ORA-1715 : UNIQUE may not be used with a cluster index" but why and what "may" means here? Any comments will be welcomed, thank you and best regards;
show rel
release 1002000300
CREATE CLUSTER sc_srvr_id (
srvr_id NUMBER(10)) SIZE 1024;
SELECT cluster_name, tablespace_name, hashkeys,
degree, single_table FROM user_clusters;
CREATE UNIQUE INDEX idx_sc_srvr_id ON CLUSTER sc_srvr_id;
ERROR at line 1:
ORA-01715: UNIQUE may not be used with a cluster index
CREATE INDEX idx_sc_srvr_id ON CLUSTER sc_srvr_id;
SELECT index_name, index_type, tablespace_name
FROM user_indexes where index_name like '%SRVR%' ;
CREATE TABLE cservers (
srvr_id    NUMBER(10),
network_id NUMBER(10),
status     VARCHAR2(1),
latitude   FLOAT(20),
longitude  FLOAT(20),
netaddress VARCHAR2(15))
CLUSTER sc_srvr_id (srvr_id);
ALTER TABLE cservers add constraint pk_srvr_id primary key (srvr_id ) ;
SELECT index_name, index_type, tablespace_name
FROM user_indexes where index_name like '%SRVR%' ;
INDEX_NAME                     INDEX_TYPE
TABLESPACE_NAME
IDX_SC_SRVR_ID                 CLUSTER
USERS
PK_SRVR_ID                     NORMAL
USERSdo we really need another pkey index here?

"May" has different meanings, one of which is:
(used to express opportunity or permission)
Metalink note 19067.1 says:
This is not permitted.
... which agrees with the above meaning of it.
Besides these, it does not make any sense to me to create a unique index on a cluster. You can have primary keys in the tables you include in the cluster, it depends on your business requirement. But why do you need a unique index on a cluster?

Similar Messages

  • ORA-01409 NOSORT option may not be used

    Hi all,
    We've got a range partitioned table, each partition resides in a different tablespace (locally managed) thus :
    create tablespace abcblast_hit_test_data1
    datafile '/export/data/oracle/HLDDEV05/abcblast_hit_test_data1.dbf'
    size 2600m extent management local uniform size 2500m;
    create tablespace abcblast_hit_test_data2
    datafile '/export/data/oracle/HLDDEV05/abcblast_hit_test_data2.dbf'
    size 2600m extent management local uniform size 2500m;
    Two large SORTED files of data are sql*loaded into each partition, taking up ONE extent in each partition
    I then try to create a non-unique index on the table using NOSORT and get the error ORA-01409 NOSORT option may not be used; rows are not in ascending order
    ... with the following reasoning :
    For non-unique indexes the ROWID is considered part of the index key. This means that two rows that appear to be stored in ascending order may not be. If you create an index NOSORT, and two of the rows in the table have the same index values, but get split across two extents, the data block address of the first block in the second extent can be less than the data block address of the last block in the first extent. If these addresses are not in ascending order, the ROWIDs are not either. Since these ROWIDs are considered part of the index key, the index key is not in ascending order, and the create index NOSORT fails.
    BUT the data for each partition DOES reside in one extent :
    select partition_name, tablespace_name, extent_id, bytes
    from dba_extents
    where segment_name = 'ABCBLAST_HIT'
    and segment_type = 'TABLE PARTITION';
    PARTITION_NAME     TABLESPACE_NAME          EXTENT_ID     BYTES
    PART_01          ABCBLAST_HIT_TEST_DATA1     0          2621440000
    PART_02          ABCBLAST_HIT_TEST_DATA2     0          2621440000
    (Oracle 9.0.1 on Linux)
    HELP !!!! Does this mean we can't use NOSORT when building indexes on partitioned tables ?!
    (Note : if NOSORT is not used then a sort is performed which we are trying to avoid - final table will contain 1.6 billion rows and will consist of 50 partitions)

    Hi ,
    Still i am facing same error like. Can any body help me..
    The following index(es) on table KA31CVLA.CITY were processed:
    index KA31CVLA.CITY_PK was made unusable due to:
    ORA-01409: NOSORT option may not be used; rows are not in ascending order
    index KA31CVLA.CITY_UQ01 loaded successfully with 29761 keys
    i have create one table CITY in user KA31CVLA.
    CREATE TABLE CITY
    CNTRY_CD VARCHAR2(2 BYTE) NOT NULL,
    CITY_NM VARCHAR2(40 BYTE) NOT NULL,
    SEQ_NBR NUMBER(10) NOT NULL,
    POSTL_STT_EQNT_CD VARCHAR2(9 BYTE),
    LATITUDE NUMBER(9,5) NOT NULL,
    LONGITUDE NUMBER(9,5) NOT NULL
    and then added primary constraints
    ALTER TABLE CITY ADD CONSTRAINT KA31CVLA.CITY_PK PRIMARY KEY (CNTRY_CD, CITY_NM, SEQ_NBR)
    after this default unique index created as below
    CREATE UNIQUE INDEX KA31CVLA.CITY_PK ON KA31CVLA.CITY (CNTRY_CD, CITY_NM, SEQ_NBR)
    after that i have added one more constraints is
    CREATE UNIQUE INDEX KA31CVLA.CITY_UQ01 ON KA31CVLA.CITY (CITY_NM, POSTL_STT_EQNT_CD, CNTRY_CD, SEQ_NBR)
    Now trying to load data to KA31CVLA.CITY table through SQLLDR
    here is the command which i am executing to insert..
    SQLLDR CONTROL=D:\GMVS\city.ctl, DATA=D:\GMVS\sorted_city.dat log=D:\GMVS\sorted_log.log USERID="KA31CVLA/KA31CVLA123" DIRECT=Y
    Here is the control file details
    options (direct=true)
    unrecoverable
    load data
    truncate
    into table KA31CVLA.city
    sorted indexes (city_PK)
    reenable disabled_constraints
    fields terminated by "^"
    trailing nullcols
    (cntry_cd char,
    city_nm char,
    seq_nbr integer external,
    postl_stt_eqnt_cd Char,
    latitude integer external,
    longitude integer external)
    The total records insertd to table but i am getting above error in log files.
    The following index(es) on table KA31CVLA.CITY were processed:
    index KA31CVLA.CITY_PK was made unusable due to:
    ORA-01409: NOSORT option may not be used; rows are not in ascending order
    index KA31CVLA.CITY_UQ01 loaded successfully with 29761 keys

  • I keep getting a display message saying this cable or accessory is not capitiable with this apple product may not be reliable with this iphone even when i have no cable or accessory in use

    My iphone 5 has been saying this for days now. Yes I have recently purchased a motorola ear piece for easy talking while walking, but i have also used a 10ft cord purchased at walmart for months now and no display before the motorola. now even without anything plugged in ,I still get the display message on my phone saying" the cord or accessory is not capitable with this iphone and may not be reliable with this iphone.
    what DO I do ?! is there something I can do without going to either Sprint or Apple for help.... will this be damaging to my iphone ?! HELP before its too late.
    sincerely,
    Apple lover JAJA

    Try resetting your iPhone.  Hold the on/off and home buttons together for about 10 seconds till the Apple logo appears.
    CAUTION - This may get rid of the warning for now, but the issue the warning points out still remains.  One or both of your cables is certainly suspect.

  • Reoccurring warning, literally every 20 seconds: "This cable or accessory is not certified and may not work reliably with this iPhone." I am only using Apple devices. How can I eliminate the warning?

    Please help me eliminate this repeating warning message on my iPhone 5. It occurs several times a minute. I am only using Apple devices, so the warning is in error.  "This cable or accessory is not certified and may not work reliably with this iPhone."

    The cable may be damaged. Try another cable.
    Make sure it properly connected at both ends.

  • 'Element is currently not visible and so may not be interacted with' when using Firefox.

    .

    Hi MonsoonMally,
    Thank you for posting in MSDN forum.
    >>'Element is currently not visible and so may not be interacted with', when playing back a CodedUI capture for a particular button selection function (captured in IE) and played back in Firefox.
    Based on your issue, I suggest you can try to use the
    DrawHighlight Method /SetFocus() to check if the correct control is found before you perform actions on the target control.
    If the above suggestion could not help you, since this cross browser testing is involved to the Extensions tool
    Selenium components for Coded UI Cross Browser Testing, this extension tool is
    out of support range of this forum.
    In order to resolve your issue better, I suggest you post this issue
    here, click “Q AND A”, you will get better support there.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Since I downloaded the upgraded software, my charger that came with my phone says "this cable or accessory is not certified and may not work reliably with this iphone"  It worked before but now it doesn't...I don't think I should have to buy a new one...

    since I upgraded to the new operating system my charger no longer works...
    It says"this cable or accessory is not certified and may not work reliably with this iPhone"

    Try checking your cable socket/lightning cable for dirt, grime, pocket lint, etc. I could not find the solution to this issue myself and after much searching I found someone stating that cleaning this out helped them immensely.
    After taking a wooden toothpick (making sure the phone was OFF first) and gently clearing out the edges and inside of the lightning socket this went away.) It is worth noting that I had a significant amount of dust or lint buildup along the edge rails which I think was causing the iphone to believe it was plugged into something when it was not.
    Try it and see, ensure you are very careful and do not use any conductive tools to clean the area in question. Compressed air also does wonders here.

  • HT1476 upgraded my IPOD 5 to iOS 7.0.2 and will not charge battery. when plugged in gives message "This cable or accessory is not certified and may not work reliably with this IPOD".

    Just Upgraded my IPOD 5 to iOS 7.0.2 and it will not charge the battery anymore.
    When I plug it in, it now gives the message "This cable or accessory is not certified and may not work reliably with this IPOD".
    Anyone else have this issue after they upgraded the iOS system?
    Thanks,

    - See:      
    iPod touch: Hardware troubleshooting
    - Try another cable. Some 5G iPods were shipped with Lightning cable that were either initially defective or failed after short use.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • Function 'myfunc' may not be used in SQL Options

    <p>
    Hello,
    I have created a simple function in a packege for use in an update statement. The function is
    FUNCTION myfnc(p1 IN t1.c1%TYPE)
    RETURN VARCHAR2
    IS
    BEGIN
    IF p1 = 3 THEN
    RETURN 'A';
    ELSE
    RETURN 'B';
    END IF;
    END myfnc;
    I use it in a procedure which exists in the same package as the function as follows
    Update t1
    set c1 = myfnc(c2);
    I am getting the compliation error Function 'myfunc' may not be used in SQL.
    There is no db manipulation going on and I have tried using
    PRAGMA RESTRICT_REFERENCES (myfnc, WNDS, WNPS, RNDS, RNPS);
    but to no avail.
    One other thing is that I thought this was compiling OK but then I decided to put the function in the package specification so I could unit test it using a db call. Now if I drop and recreate the package without the declaration in the specification the compile error still occurs. Perhaps that's my mind playing tricks but maybe there is something here I am not aware of.
    Any suggestions?
    </p>

    Hi,
    You found the solution.
    Although it's allowed to say
    Update     t1
    set     c1 = local_var;in a package, where local_var is not defined outside of the procedure, let alone the package, and
    although it's legal to say:
    local_var = myfnc (some_other_var); inside the package where myfnc is a private function (included in the package body, but not in the package header), still
    it is not legal to say:
    Update     t1
    set     c1 = myfnc (c2); If there is a problem with putting myfnc in the package header (for example, you don't want people calling it directly, for some reason), you can make it a stand-alone function, like Someoneelse did, or put in a different package, and give the owner of your first package (and no one else) EXECUTE privileges on it.
    As William pointed out, if myfnc is really this simple, you might not need a function at all.

  • Function name_function may not be used in SQL

    Dear forums,
    when i compiled my form that contain the function package, i got the error "Function <name_function> may not be used in SQL". But when i execute the function from sql plus, it works smoothly.
    What's the solution ?
    with great thanks,

    Hi Salim,
    as far as I understand you you try to use a function that is stored in the form. The select statement is worked on the database where your function is not known. You have to create this function on the database as you did it for using in SQLPlus.
    Regards,
    Werner

  • Entity type "EJB-JAR" may not be used in public part "ejbjar_api"

    Experts,
    Can you please help me to identify why the error 'Entity type "EJB-JAR" may not be used in public part "ejbjar_api", unsupported purpose.' appears on NWDS while creating a project on a DC and how can this be resolved.
    Thanks in advance
    -Lave

    Hi Jain,
    is the error message that the public part is not found prefixed with [dcmake]? If yes that rather points in the direction that there is a problem with the metadata information. (PP name not correctly spelled, renamed after initial creation, perhaps even some problems with upper/lower-case letters depending on your platform.)
    What SP are you using? The log looks like some rather old build plugins are used on a newer NWDI installation.
    The warning from the [wdgen] task and the subsequent failure of the [wdminimizer] can be ignored. "ERROR: Non Fatal Error" is a bit quaint, but it really is not fatal. It just means that the minimizer didn't find the data required to operate. The [wdgen] warning means that the WebDynpro generator could not write the information. So the jar files in your public part are maybe a bit bigger than necessary but that's all.
    Best regards,
    Marc

  • Error  "Ledger group 0L may not be used" - CO15

    Dear guru,
    When I want to save Production Order Confirmation via CO15, there is an error message :
    Ledger group 0L may not be used
    Message no. FAGL_LEDGER_CUST102
    Diagnosis
    Ledger group &1 is assigned to another application.
    FYI, when I check tabel T881 (Ledger Master), there are two leading ledger : 0L and OL. It's very strange.
    As far as I know, in standard SAP there is only one leading ledger, it is 0L.
    I check in customizing (Ledger > Define Ledgers for General Ledger Accounting), there is only one ledger: OL (as leading ledger), so I untick Leading Ledger indicator for Ledger 0L directly on table T881, but the error message still appear.
    How to solve this?
    Thanks before

    Hi Hanny Ali,
    The message F5 670 is processed if there is a problem in account determination. The message means the account determination in the SD billing document does not work probably. This could also be caused by a wrong or incomplete customizing.
    Please find note 146879 to check the customizing on this issue. From past messages, this problem is usually caused by a missing or incorrect customizing for the G/L account.
    Please note that if it's a case of a cancellation document the field VBRK-SFAKN is filled. When this is filled the system does not carry out account determination. In debug you can remove this entry and the account determination will be revoked. This would resolve the issue.
    Could you please review customizing setting VKOA if all the relevant information are being maintain correctly?
    Please also review the notes:
    -> 0216974 Error F5670 during release to accounting
    -> 0113512 VF051 "Doc. & saved (error in accnt determination)
    -> 1325446 SDBONT06: G/L accounts of rebate conditions are
    I hope this answer your issue with error F5 670.
    Best Regards,
    Vanessa.

  • Why does my phone keep popping up messages "This cable or accessory is not certified and may not work reliably with this iphone" when there is no cable connected?

    Why does my phone keep popping up messages "This cable or accessory is not certified and may not work reliably with this iphone" when there is no cable connected? This has been happening since IOS7 was installed and has become worse with 7.1. I have reset the phone several times with no change.The phone charges properly & I have never used anything but an Apple Lightning cable.

    I already cleaned the port with compressed air before submitting the problem. I since cleaned it with a toothpick and dug out some more lint. this seems to have just about fixed the problem since I have only had the error pop up 3 times since then and i was getting the error constantly before.

  • HT1476 This cable or accessory is not certified and may not work reliably with this iPhone

    This cable or accessory is not certified and may not work reliably with this iPhone

    This is an incredibly stupid move by Apple. Nobody could convince me that it's about security and safety...
    I bought two Lightning to 30-pin Adapters to use my two 4s chargers with my 5s iPhone.
    Price on Amazon - 3$:
    http://www.amazon.co.uk/gp/product/B00IA95L2A/ref=oh_details_o00_s00_i00?ie=UTF8 &psc=1
    Price on Apple for the same thing - 60$
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
    This is just a piece of metal and plastic. It's ridiculous.
    Apple, please remove this ridiculous software. I also have a car charger. Should I just throw them away because I paid a bunch of money for your new device? That's how you reward loyalty?!!

  • QueryFilter on xLongText (CLOB) is not comparable & must not be used with =

    Hi,
    Im encountering an error creating a queryFilter on xLongText field.
    May I know how should I go about doing a search on fields that are declared as xLongText?
    Thanks
    Error encountered:
    com.sap.sql.sqlparser.CommonSQLParserException: - 1:2495 - type check error: the expression >>"ALIAS_1"."SEARCHPROBLEM"<< (CLOB) is not comparable and must not be used with "="
    Code:
    filters.add(QueryFilterFactory.createFilter("searchProblem", Condition.EQ, (search.length()==0?"*":search.toLowerCase())));

    I found the same problem, the way I found round it was to do a find all service (or a by elements find to bring a subset of records back but not filtering on the longText). Then iterate over the results of this in Java and do a string 'contains' method call on the long field as by then it is of type string. If it does contain the filtered string add it to your result.
    If there are many records this could become quite a slow service.

  • I have an Apple ID and trying to sign in for the 1st time on iTunes. When I do, I get the message: "This Apple ID has not been used with the iTunes Store. Please review your account information." When I do, I get stuck in the same loop and can't sign in!

    I have an Apple ID and trying to sign in for the 1st time on iTunes. When I do, I get the message: "This Apple ID has not been used with the iTunes Store. Please review your account information." When I do, it brings me to the same AppleID login window, and I get stuck in the same loop. I never get to the following screen to enter my account info. What's going on?? This is MADDENING!

    If you want to use it, click Review and check your account information.  Or you could contact the store support staff if you are concerned at http://www.apple.com/emea/support/itunes/contact.html for further help.

Maybe you are looking for