Skip to content

Fatih Acar's blog

About of Database Systems and Information Technologies

Menu
  • Home
  • About Me
  • Contact Me
Menu

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-02500 to ORA-02600

Posted on 19/08/201613/12/2016 by Fatih Acar

Oracle 12c R2 Error Codes and Solution Suggestions from ORA-02500 to ORA-02600

ORA-02500: IN SHARD option already specified

Cause: In the CREATE TABLESPACE, the IN SHARD option was specified more than once.

Action: Remove all but one of the IN SHARD options.

ORA-02501: invalid option for CREATE TABLESPACE SET

Cause: An invalid option IN SHARD was specified for the CREATE TABLESPACE SET statement.

Action: Remove the invalid option.

ORA-02502: USING TEMPLATE can only be used in CREATE TABLESPACE SET

Cause: An attempt to specify the TEMPLATE option without the CREATE TABLESPACE SET statement failed.

Action: Specify the USING TEMPLATE option in the CREATE TABLESPACE SET statement.

ORA-02503: USING TEMPLATE option already specified

Cause: In the CREATE TABLESPACE SET, the USING TEMPLATE option was specified more than once.

Action: Remove all but one of the USING TEMPLATE options.

ORA-02504: SHARDSPACE does not exist

Cause: A nonexistent SHARDSPACE was specified in the CREATE TABLESPACE or CREATE TABLESPACE SET statement.

Action: Reissue the CREATE TABLESPACE or CREATE TABLESPACE SET statement with valid SHARDSPACE name.

ORA-02505: IN SHARDSPACE option already specified

Cause: In the CREATE TABLESPACE SET, the IN SHARDSPACE option was specified more than once.

Action: Remove all but one of the IN SHARDSPACE options.

ORA-02506: CREATE TABLESPACE SET statement requires the SHARDSPACE keyword

Cause: The SHARDSPACE option was not specified in the CREATE TABLESPACE SET statement.

Action: Correct the syntax. Insert the missing keyword where required and then retry the statement.

ORA-02507: missing SHARDSPACE keyword

Cause: The SHARDSPACE keyword was omitted in the IN SHARDSPACE option.

Action: Correct the syntax. Insert the keyword SHARDSPACE where required and then retry the statement.

ORA-02508: attempted to create a shard tablespace in a non-shard database

Cause: An attempt was made to create a shard tablespace in a non-shard database.

Action: Deploy the sharding environment before creating a shard tablespace.

ORA-02509: A SHARDSPACE cannot handle several PARTITIONSETS.

Cause: An attempt was made to define multiple PARTITIONSETS in the SHARDSPACE.

Action: Specify the different PARTITIONSETS in different SHARDSPACES.

ORA-02510: A tablespace set cannot be referenced at the table level.

Cause: An attempt was made to reference a tablespace set at the table level.

Action: Remove the reference to the tablespace set at the table level.

ORA-02511: SQL query not allowed; the shard DDL is disabled.

Cause: An attempt was made to run a shard DDL on a nondeployed shard or with the shard DDL option disabled.

Action: Deploy the shards or enable shard DDL before executing the DDL.

ORA-02512: only one PARTITIONSET option may be specified

Cause: The CREATE TABLE statement contained more than one PARTITIONSET option.

Action: Specify PARTITIONSET option at most once in the CREATE SHARDED TABLE statement.

ORA-02513: invalid sharded table PARTITIONSET method

Cause: An invalid PARTITIONSET method was specified in the CREATE TABLE statement. A table may be partitioned by RANGE or LIST.

Action: Modify PARTITIONSET method to RANGE or LIST in the CREATE SHARDED TABLE statement.

ORA-02514: list PARTITIONSET method expects a single partitioning column

Cause: The number of columns in a PARTITIONSET column list exceeded the legal limit of one for list partitioned tables.

Action: Modify PARTITIONSET column list so that it consists of at most one column.

ORA-02515: cannot interval partition set a sharded table

Cause: Interval PARTITIONSET was not supported for a sharded table.

Action: Use a LIST or RANGE PARTITIONSET instead.

ORA-02516: invalid SHARDED type specified

Cause: Only tables can have the SHARDED type.

Action: Remove the SHARDED option.

ORA-02517: PARTITIONSET and CLUSTER clauses are mutually exclusive

Cause: definition of a table with both PARTITIONSET and CLUSTER clauses which is illegal.

Action: Remove the PARTITIONSET or the CLUSTER clause.

ORA-02518: invalid PARTITIONSET clause specified in a non sharded table

Cause: definition of a non sharded table with PARTITIONSET clause is illegal.

Action: remove the PARTITIONSET clause.

ORA-02519: cannot perform cross-shard operation. Chunk “string” is unavailable

Cause: All shards where this chunk is stored were unavailable.

Action: Rerun the command when the shards become avalaible.

ORA-02520: Shard data object number exceeds UB4MAXVAL

Cause: All shards where this chunk is stored were unavailable.

Action: Rerun the command when the shards become available.

ORA-02521: attempted to enable shard DDL in a non-shard database

Cause: An attempt was made to enable shard DDL in a non-shard database.

Action: Deploy the sharding environment before enabling shard DDL.

ORA-02522: cannot get a new data object number range from the Global Data Services (GDS) catalog

Cause: An attempt was made to get a new range of data object numbers which resulted in a failure.

Action: Check that the shard can connect to the catalog.

ORA-02523: The table being created is not SHARDED.

Cause: PARENT clause was specified on a non-sharded table.

Action: Create a SHARDED table or remove the PARENT clause.

ORA-02524: Invalid parent table specified.

Cause: The parent table specified was not a valid identifier.

Action: Check that the parent table specified is valid.

ORA-02525: child and parent table owner mismatch.

Cause: The child and parent tables did not have the same owner.

Action: Check the owner of the child table.

ORA-02526: child and parent table sharding method mismatch.

Cause: The child and parent tables did not have the same sharding method.

Action: Ensure the sharding method for the two tables is the same.

ORA-02527: child and parent table shard key columns mismatch.

Cause: The child and parent tables did not have the same shard key columns.

Action: Ensure the shard key for the two tables is the same.

ORA-02528: child and table partition set key columns mismatch.

Cause: The child and parent tables did not have the same partition set key columns.

Action: Ensure the partition set key for the two tables is the same.

ORA-02529: invalid parent table.

Cause: The table name specified was not the one of the root table.

Action: Check the root table name specified.

ORA-02530: parent table not specified

Cause: An attempt was made to create a child table without specifying the PARENT clause.

Action: Specify the PARENT clause in the CREATE SHARDED TABLE command.

ORA-02531: shard name not found

Cause: An attempt was made to create a sharded table on a non-sharded database.

Action: Ensure that the sharded database was deployed correctly.

ORA-02532: sharding columns must form a subset key of key columns of a UNIQUE index

Cause: An attempt was made to create a primary key constaint on non-sharding columns.

Action: Use the sharding columns as a prefix of key columns of a UNIQUE index.

ORA-02533: missing PARTITION clause

Cause: The PARTITION clause was expected but was not supplied.

Action: Add a PARTITION clause to the CREATE SHARDED TABLE command.

ORA-02534: invalid PARTITION clause

Cause: The PARTITION clause was supplied with CONSISTENT HASH sharding.

Action: Remove the PARTITION specification.

ORA-02535: missing TABLESPACE SET clause

Cause: The TABLESPACE SET clause was expected but was not supplied.

Action: Add the TABLESPACE SET clause to the CREATE SHARDED TABLE command.

ORA-02536: invalid TABLESPACE SET name: string

Cause: The TABLESPACE SET supplied did not exist.

Action: Supply a valid TABLESPACE SET.

ORA-02537: Data file name specified but not supported by tablespace set template

Cause: Data file explicit name was specified as part of the tablespace set template. Only Oracle Managed Files are supported by a tablespace set.

Action: Remove the file name from the data file definition.

ORA-02538: invalid TABLESPACE SET clause

Cause: The TABLESPACE SET clause was not expected.

Action: Remove the keyword SET to specify just TABLESPACE.

ORA-02539: the operation is not supported across shards

Cause: An attempt was made to perform an operation with shard DDL enabled, which is not supported for propagation from catalog to shards.

Action: Disable the shard DDL to perform the operation on the catalog and go to each individual shard to perform the operation locally.

ORA-02540: global indexes are not supported for sharded tables

Cause: An attempt was made to create a global index on a sharded table, which is not supported.

Action: Create a local index instead.

ORA-02541: TABLESPACE SET is required

Cause: The TABLESPACE SET clause was not supplied when creating an index on a system-managed sharded table.

Action: Add the TABLESPACE SET clause to the CREATE INDEX command, or use the same tablespace set as the table by not specifying the TABLESPACE SET clause.

ORA-02542: invalid partitioning method specified with user-defined sharding

Cause: The partitioning method specified was not compatible with user-defined sharding.

Action: Choose a supported partitioning method.

ORA-02543: invalid partitioning method specified with system-managed or composite sharding

Cause: The partitioning method specified was not compatible with system-managed or composite sharding.

Action: Choose a supported partitioning method.

ORA-02544: sharding or partition set column datatype is not supported

Cause: Supported data types were not used for the sharding or partition set columns.

Action: Use the supported data types for sharding or partition set columns.

ORA-02545: sharding or partition set column can not be a virtual column

Cause: Virtual column was used in the sharding or partition set key, which is not supported.

Action: Remove the virtual column from the sharding or partition set key.

ORA-02546: The LONG data type is not supported for duplicated tables.

Cause: An invalid option was specified while creating duplicated tables.

Action: Verify the option specified.

ORA-02547: Option string is not supported for duplicated tables

Cause: An invalid option was specified while creating duplicated tables.

Action: Verify the option specified.

ORA-02548: Option string is not supported for duplicated tables

Cause: An invalid option was specified while altering duplicated tables.

Action: Verify the option specified.

ORA-02549: cannot create a sharded table with index organization

Cause: An attempt was made to create an index-organized sharded table. This is not supported.

Action: Create a heap-organized table and the primary key.

ORA-02550: Creating duplicated table not allowed when shard DDL is disabled

Cause: Duplicated tables were created when shard DDL was disabled.

Action: Enable shard DDL.

ORA-02551: Truncate table for duplicated tables is not supported

Cause: Invalid operation was specified on a duplicated table.

Action: Use “delete from table” instead.

ORA-02552: invalid shard name

Cause: The shard name specified was not valid.

Action: Choose a valid shard.

ORA-02553: TABLESPACE is required

Cause: The TABLESPACE clause was not supplied when specifying a partition of a user-defined sharded table.

Action: Add the TABLESPACE clause.

ORA-02554: invalid DROP TABLESPACE SET

Cause: The DROP TABLESPACE SET command was not compatible with user-defined sharding.

Action: Choose a supported sharding method.

ORA-02555: Online redefinition is not supported for sharded and duplicated tables.

Cause: An attempt was made to perform online redefinition on a sharded table or a duplicated table for sharding, which is not supported.

Action: Use the ALTER TABLE statement instead.

ORA-02556: Only sharded or duplicated tables are supported across shards.

Cause: An attempt was made to create a non-sharded, non-duplicated table across shards, which is not supported.

Action: Connect to each shard and create the table locally.

ORA-02557: cannot operate on sharded objects when shard DDL is disabled

Cause: An attempt was made to operate on a sharded or a duplicated object across shards when the shard DDL was not enabled.

Action: Enable shard DDL to perform the operation.

ORA-02558: cannot operate on non-sharded objects when shard DDL is enabled

Cause: An attempt was made to ALTER or DROP a non-sharded object when the shard DDL was enabled.

Action: Disable shard DDL to perform the operation.

ORA-02559: The TABLESPACE SET string does not belong to the shardspace of the table.

Cause: The TABLESPACE SET supplied existed in a different shardspace from the one to which the table belonged.

Action: Supply a valid TABLESPACE SET in the shardspace of the table.

ORA-02560: cannot modify partitions for system-managed or composite sharded tables.

Cause: An attempt was made to modify partitions on system-managed or composite sharded tables.

Action: Use the ‘gdsctl split chunk’ or ‘move chunk’ commands instead.

ORA-02561: maximum number of columns in a duplicated table without primary key is 999

Cause: An attempt was made to create a duplicated table with 1000 columns when there was no primary key defined. Note that unused columns in the table are counted toward the 1000 column limit.

Action: Reduce the number of columns in the command and resubmit.

ORA-02562: cannot create a duplicated table in a non-shard schema

Cause: An attempt was made to create a duplicated table in a non-shard schema.

Action: Try creating the duplicated table in a sharded schema.

ORA-02563: XMLType column in a duplicated table cannot be used in non-ASSM tablespace “string“

Cause: XMLType column in a duplicated table required an automatic segment space management (ASSM) tablespace.

Action: Specify an ASSM tablespace for the XMLType column in a duplicated table.

ORA-02564: rebuild outline is not supported across shards.

Cause: An attempt was made to rebuild an outline with shard DDL enabled, which is not supported.

Action: Connect to each shard and rebuild the outline locally.

ORA-02565: cannot use individual chunk tablespace

Cause: An individual chunk tablespace which was part of a tablespace set was used.

Action: Use a normal tablespace.

ORA-02566: cannot create duplicated table – insufficient privileges

Cause: An attempt was made to create a duplicated table when the user did not have sufficient privileges.

Action: Ensure that the user has CREATE DATABASE LINK and CREATE MATERIALIZED VIEW privileges before creating a duplicated table.

ORA-02567: cannot create a sharded table with empty columns

Cause: An attempt was made to create a sharded table without any columns.

Action: Use valid columns to create a sharded table.

ORA-02568: cannot create an identity column in a sharded table

Cause: An attempt was made to create a sharded table with an identity column.

Action: Create a sharded table without an identity column.

ORA-02569: cannot drop a system tablespace string when sharding environment is deployed

Cause: An attempt was made to drop a system tablespace part of the sharding environment when the sharding environment was deployed.

Action: Do not drop a tablespace created by the system.

ORA-02570: cannot alter user password – insufficient privileges

Cause: An attempt was made to alter the password for a user who created duplicated tables but did not have the privilege to execute the ALTER DATABASE LINK statement.

Action: Ensure that the user, whose password has to be changed, has the ALTER DATABASE LINK privilege and try again.

ORA-02571: ALTER TABLE TRUNCATE PARTITION for duplicated tables is not supported

Cause: An invalid operation was specified on a duplicated table.

Action: Use DELETE FROM table_name PARTITION (partition_name) instead.

ORA-02572: A non all-shard user cannot operate on schema objects that are sharded or duplicated on all shards.

Cause: An attempt was made to operate on a sharded or duplicated schema object by a non all-shard user.

Action: Operate on such objects as an all-shard user.

ORA-02573: cannot enable shard DDL when current_schema has been changed

Cause: Shard DDL is not supported after a session’s current schema has been altered.

Action: Reconnect as the correct user to perform shard DDL operations.

ORA-02574: Sharded table cannot be a nested table.

Cause: An attempt was made to create a nested sharded table, which is not supported.

Action: Create a non-nested sharded table.

ORA-02575: Invalid sharding method for a deployed sharded database

Cause: An invalid sharding method was set for a sharded database.

Action: Check the database configuration and correct the settings.

ORA-02576: number of partition set specifications is less than number of shardspaces

Cause: Fewer number of partition set specifications were specified than the number of shardspaces in the composite sharding environment.

Action: Specify one partition set specification for each shardspace in the composite sharding environment.

ORA-02577: cannot specify PARTITIONSET in a non-composite sharding environment

Cause: PARTITIONSETS were specified while creating a sharded table in non-composite sharding environment.

Action: Remove the PARTITION SET specifications in the create sharded table statement.

ORA-02578: missing PARTITIONSET specification

Cause: PARTITIONSET specifications were missing.

Action: Specify PARTITIONSETS for the sharded table.

ORA-02579: cannot create a tablespace set with SMALLFILE option

Cause: An attempt was made to create a tablespace set with the SMALLFILE option.

Action: Create a tablespace set with the default BIGFILE option.

ORA-02580: cannot add or drop data files from a tablespace set

Cause: An attempt was made to add or drop a data file from a tablespace set.

Action: Do not add or drop a data file from a tablespace set.

ORA-02581: cannot create foreign key constraints on columns referencing a duplicated table

Cause: An attempt was made to create a foreign key constraint in a sharded table on a column referencing a duplicated table.

Action: Remove the foreign key constraint referencing a column in the duplicated table.

ORA-02582: invalid tablespace set name specified for the partition set

Cause: The tablespace set name specified for the paritition set was either invalid or belonged to a different shardspace.

Action: Specify a tablespace set name that belongs to the same shardspace.

ORA-02583: option PARALLEL not supported when creating duplicated table as select from another table

Cause: An attempt was made to create a duplicated table as select from another table in parallel mode.

Action: Create a duplicated table as select without the PARALLEL clause.

ORA-02584: INMEMORY options not supported for duplicated tables

Cause: An attempt was made to create or alter a duplicated table by enabling INMEMORY options.

Action: Verify the option specified.

ORA-02585: create tablepsace set failure, one of its tablespaces not created

Cause: One of the tablespaces in the tablespace set was not created.

Action: Verify the creation of the tablespaces.

ORA-02586: cannot change duplicated table refresh rate in a non-catalog database

Cause: An attempt was made to change the dupl_table_refresh_rate in the non-catalog database.

Action: Connect to the catalog database to change the refresh rate of duplicated tables.

ORA-02587: create duplicated table of Object Type is not supported

Cause: An attempt was made to create a duplicated table of object type.

Action: Create a duplicated table without specifying the object type.

ORA-02588: minimum refresh rate for duplicated table is 20 seconds

Cause: An attempt was made to change the dupl_table_refresh_rate to less than 20 seconds.

Action: Set the refresh rate for duplicated tables to atleast 20 seconds.

ORA-02589: invalid partition set name

Cause: An invalid partition set name was specified.

Action: Specify a valid partition set name.

ORA-02590: invalid sequence of partition sets

Cause: The sequence used to specify partition sets was invalid.

Action: Specify the partition sets in an increasing order.

ORA-02591: cannot specify tablespace set for indexes on a sharded table in composite sharding

Cause: An attempt was made to specify a tablespace set for indexes on a sharded table in a composite sharding environment which is not supported.

Action: Create index on sharded tables without the tablespace set clause in the composite sharding environment.

ORA-02592: cannot drop user until all shard databases are up and all gsm_requests are completed

Cause: An attempt was made to drop a user who owns a duplicated table when the shard database was down or the gsm_requests were pending execution.

Action: Ensure that all gsm_requests are completed and all shards are up before dropping a user with duplicated table.

ORA-02593: cannot drop duplicated table until all shard databases are up and all gsm_requests are completed

Cause: An attempt was made to drop a duplicated table when the shard database was down or the gsm_requests were pending execution.

Action: Ensure that all gsm_requests are completed and all shards are up before dropping a duplicated table.

ORA-02594: cannot alter shard user password until all shard databases are up and all gsm_requests are completed

Cause: An attempt was made to alter shard user password when the shard database was down or the gsm_requests were pending execution.

Action: Ensure that all gsm_requests are completed and all shards are up before altering a shard user password.

ORA-02595: Abstract data type is not supported for duplicated tables.

Cause: An invalid option was specified while creating duplicated tables.

Action: Verify the option specified.

ORA-02596: cannot truncate duplicated table on a shard database

Cause: An attempt was made to truncate a duplicated table on a shard database.

Action: Connect to the catalog database to truncate the duplicated table.

ORA-02597: The read-only option is not supported for sharded tables.

Cause: An invalid option was specified while creating a sharded table.

Action: Verify the specified option.

ORA-02598: tablespace specified in the SQL command does not exist in the shard

Cause: A DROP or ALTER TABLESPACE operation was attempted on a shard where the tablespace does not exist.

Action: Create the tablespace in the shard first.

ORA-02599: cannot drop partitionset column

Cause: An attempt was made to drop a column used as the super-partitioning key for a sharded table.

Action: This action is not allowed.

ORA-02600: credential name is invalid: string

Cause: An invalid credential name was specified.

Action: Verify credential name and retry the operation.

Share this:

  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.



View Fatih ACAR's profile on LinkedIn

Categories

  • Databases (329)
    • MsSQL Server (18)
      • Administration (16)
      • Errors and Solutions (4)
      • SQL (2)
    • MySQL (5)
      • Administration (4)
      • Backup And Recovery (1)
      • Errors and Solutions (1)
    • Oracle (290)
      • Administration (79)
      • Backup And Recovery (29)
      • Errors and Solutions (195)
      • Procedure (10)
      • SQL (32)
    • PostgreSQL (16)
      • Administration (15)
      • Errors and Solutions (3)
      • SQL (2)
    • Redis (1)
  • Microsotf Dynamics CRM (1)
  • Operating Systems (47)
    • Linux & Unix (34)
    • Windows (13)
  • Programing (5)
    • Python (5)
  • SAP (15)
    • Errors and Solutions (4)
    • SAP Basis (12)
  • Security (8)
    • Database Security (6)
    • Information Security (1)
    • System Security (4)
  • VMware (4)

Recent Posts

  • Redis 7 Sentinel Infrastructure Installation
  • Oracle Database 19c Multi Data Guard and DML Redirect, Switchover-Failover Operations on Oracle Linux 8
  • Oracle Database 23ai Free Installation Steps on Oracle Linux 9
  • Oracle Database 19c Active Data Guard Installation and DML Redirect, Switchover-Failover Operations on Oracle Linux 8
  • Oracle Database 19c Installation and 19.22 RU Patch Apply on Oracle Linux 8

Resources

  • Oracle
  • PostgreSQL

Blogroll

  • Gökhan Atıl
  • H. Koray Gündüz
  • Hakan Talip Öztürk
  • Zekeriya Beşiroğlu

Web Pages

  • BT Çözümleri

Tag Cloud

Administration Backup and Recovery Cluster Systems Database Administration Database Security Linux Linux Administration MsSQL Server MsSQL Server Error and Solutions MySQL MySQL Administration ORA-00018 ORA-00020 Oracle Oracle 12c Oracle 19c Oracle Administration Oracle Backup and Restore Oracle Data Guard Oracle Data Guard Failover Oracle Data Guard Switchover Oracle Error Solutions Oracle Linux Oracle Rman Backup Oracle Security Oracle SQL Query PostgreSQL PostgreSQL Administration PostgreSQL High Availability PostgreSQL Hot Standby Python SAP Basis Sap Errors and Solutions Sap System Administration SQL SQL Server Administration SQL Server Availability Group Stored Procedure System Administration System Security VMware VMware Administration Windows Windows Batch Script Windows Server

Social

  • View facar1987’s profile on Twitter
  • View facar’s profile on LinkedIn

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 17 other subscribers
©2026 Fatih Acar's blog | Built using WordPress and Responsive Blogily theme by Superb