Error when recreate secondary indexes
hi all
in db02 i have two missing secondary indexes.
when i try recreate :
in db02 select missing index -> choose processing type: direct processing -> create
i have error :
Internal error 1 in module DD_LONGNPROT_NAME_GET occurred
Diagnosis
An unexpected SQL error occurred in the ABAP/4 Dictionary interface.
System response
A system log entry has been written. This gives more precise information about where the termination occurred and the reason for the termination. The current transaction has been cancelled.
Procedure
Please check the system log and eliminate the cause of the SQL error.
in sm21 no errors
in db alert log no errors
how can resolve this problem?
thanks
Hi Andrey,
Please try to active the secondary indexes in transaction SE14. Please gothrough the note 1248769 as how to active the
indexes.
Many thanks.
Mohammed Hussain.
Similar Messages
-
Error when structuring the index of aggregate 100165 for InfoCube 0TCT_C01
Hi,
I was getting following error:
**Error when structuring the index of aggregate 100165 for InfoCube 0TCT_C01
I used this link Please Help me...
I followed all the steps:
1.Delete indexes.
2.Load the InfoCube.
3.Create Indexes.
4.Roll-up of aggregates
but still getting the same error(Roll-up of aggregate is failing).
After the failure if i repeat the step then it gets executed successfully.
I need to monitor the PC ...and at the end of the complition it fails(daily)...
Please can anyone help me on this issue(that why the chain is failing at the roll-up)?Go to TX RSDDV with your cube an identify the technical ID of ur aggregate (a number 100045 for instance).
TX SE11 goto table RSDDAGGRDIR filter the selection with AGGRCUBE = 100045.
Copy the AGGRUID (something like 3QL29Z7ZLO3BQZDSSLRU0MGOI)
Then come to TX SE37; RSDDK_AGGREGATES_FILL; hit the single test button
I_T_Aggregate enter your AGGRUID
I_T_INFOCUBE enter the techid of your cube
Execute.
This will fill your aggregate.
Hope this will help......
Regards,
Mahesh -
RFC Communication error when doing initial indexing
Hello Everyone,
I have a quick question, when doing the initial index rollup for a BIA index the job is failing with RFC communication error.
We currently have the setting related to " TREXRfcServer threads" set to "Automatic Changes" in order to avoid the RFC Communication errors when loading big loads in BI system.
We currently are on Revision 49.
I also have referred to OSS Note 1138603.
The issue is when I am rolling up the BIA Index the rollup job is failing with RFC Communication errors.
The Global parameters within BIA are:
BATCHPARA - 2
NUMPROC - 5
PKGSIZE - 10000000
SUBPKGSIZE - 20000
We have two app servers with 52 Dialog processes and 25 Background processes.
Any help would be really appreciated.
Thanks
Dharma.Removing references to systems and ports
Issue:
When the initial indexing is being carried out for an InfoCube to
create the BIA Index and there is more than one application server in
the system the job is failing with the http error.
Hello Everyone,
Thanks for the input, after the automatic changes was configured for concurrent requests the error is different right now.
The error message is,
"Remote communication failure with partner http://<Removed>:<removed>/indexCellTable"
Overview/Background:
When the indexing job is triggered as a background job the failure happens when the S table index is being filled.
In our system where we are trying to do the stress testing we currently have two app servers and one central instance.
When I limit the RFCGROUP in RSDDTREXADMIN table to one App server in terms of logon group the job finishes fine.
Whereas, when I do not limit the RFCGROUP and all app servers are open for access the background job finishes with the error message
Remote communication failure with partner http://<Removed>:<removed>/indexCellTable.
We have looked into the OSS Note 1102652 and our BASIS team confirmed that they were able to ping from BI App servers into BIA blades and vice versa.
We also confirmed if the local gateway was used for connectivity.
The above issue was not in other systems where we only had one server.
We currently are at Revision 49 and SP 13 in BI.
We have E5345 Clowertown blades (2 x 4) 16GB blades.
Please let us know if you need additional information.
Thanks in advance for the input.
Dharma.
Edited by: Arun Varadarajan on Apr 24, 2009 1:36 AM -
Ibdev error when initialise secondary GPIB address
I have ibdev error when I use secondary address(I need use it). I use MSVS6.0 and your example, it works with keithley, but not with my device. When I work with my device by LabVIEW and for addressing use "1+1"(for example) it works. But I am getting mistake when I try to initialise device in VStudio, without secondary address it does not understand my command.
Please help me.The NI-488.2 API adds 96 to the secondary address to create it properly (since a SAD of 0 is different than no secondary address). Try using
ibdev 0 1 97 12 1 0
to open a device a primary address 1 and secondary address 1. -
Error when creating spatial index in 10g
Hello.
I have a problen when I try to create a spatial index. The strange thing is that the same commands always works fine in some machines, but if always fails in others. I tryed in diferent versiones of Oracle, but I have the error in al of them. The versions I have tryed are:
- 10.2.0.1
- 10.2.0.4
The operating systems are:
Windows XP professional 32 bits
Windows 2003 Server 32 bits
These are the steps i make:
1) Create a Table with a SDO_GEOMETRY column (GEOMETRY)
2) Load data with SQLLDR (I hve tryed different SRID's, and all fail)
So far everything is ok
3) Create the INDEX
When I execute the CREATE INDEX command CREATE INDEX MADRID_SX ON MADRID (GEOMETRY) INDEXTYPE IS MDSYS.SPATIAL_INDEX;
I obtain the error:
ERROR en linea 1:+
ORA-29855: se ha producido un error en la ejecucion de la rutina+
ODCIINDEXCREATE+
ORA-13282: fallo al inicializar la transformacion de coordenadas+
ORA-06512: en "MDSYS.SDO_INDEX_METHOD_10I", line 10+
I too have noticed that if I execute the next command, I have an error:
SELECT MDSYS.sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),25830) from dual;
ERROR en linea 1:+
ORA-13282: fallo al inicializar la transformacion de coordenadas+
ORA-06512: en "MDSYS.SDO_CS", linea 75+
ORA-06512: en "MDSYS.SDO_CS", linea 112+
ORA-06512: en "MDSYS.SDO_CS", linea 2678+
And if I execute the next command, I too have another error:
SELECT SDO_CS.VALIDATE_WKT(25830) FROM DUAL;
FALSE (169)*
Any ideas? Could it be related with something inside the machines, user privileges, etc.?
Thanks in advance.I have found that the problem is to use a SRID of AUTH_NAME column in MDSYS.CS_SRS table without the value "Oracle." in it.
If I use an Oracle’s SRID, everything works fine. If I use an EPSG’s SRID, fails.
For example, this command uses an Oracle SRID (8192) and one from the EPSG (25830), and fails:
SELECT MDSYS.sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),25830) from dual;
ERROR en linea 1:
ORA-13282: fallo al inicializar la transformacion de coordenadas
ORA-06512: en "MDSYS.SDO_CS", linea 79
ORA-06512: en "MDSYS.SDO_CS", linea 116
ORA-06512: en "MDSYS.SDO_CS", linea 2690
However, if I use two Oracle SRID (8192 and 83030), it works.
SELECT MDSYS.sdo_cs.transform(sdo_geometry(2001,8192,sdo_point_type(13.6,52.4,null),null,null),83030) from dual;
SDO_GEOMETRY(2001, 83030, SDO_POINT_TYPE(1625183.71, 5936269.06, NULL), NULL, NULL
Therefore, the problem seems to be to use a non Oracle SRID. -
Errors when creating spatial index
Hi,
I am new to OTN and oracle technology. I met a problem as I wanted to create a spatial index.
I created a table 'geoobject' with a column 'shape' of sdo_geometry.
The I run the following script:
insert into user_sdo_geom_metadata values ('geoobject', 'shape',
mdsys.sdo_dim_array(
mdsys.sdo_dim_element('latitude', 0.0000, 50.0000, 0.000050),
mdsys.sdo_dim_element('longitude', 0.0000, 80.0000, 0.000050)), 8265
after that I insert data into the table:
update geoobject set shape=
mdsys.sdo_geometry(2001, 8265,
mdsys.sdo_point_type
(to_number((select latitude from temp_location where temp_location.gid = geoobject.geo_id)),
to_number((select longitude from temp_location where temp_location.gid = geoobject.geo_id)), null),
null, null);
Then I wanted to create the spatial index:
create index geoobject_idx on geoobject(shape)
indextype is mdsys.spatial_index;
But I got the error messages:
Error in line 1:
ORA-29855: Fehler bei Ausführung der Routine ODCIINDEXCREATE (Error at running routine ODCIINDEXCREATE)
ORA-13249: internal error in Spatial index: [mdidxrbd]
ORA-13249: Error in Spatial index: index build failed
ORA-13230: Temporäre Tabelle [temp-table: M2_7A21$$] konnte während Erstellen von R-Baum nicht erstellt werden
(temporary tables could not be established when R-tree was generated)
ORA-29400: Data Cartridge-Fehler
ORA-01659: Kann MINEXTENTS über 2 in Tablespace AMSDB hinaus nicht zuweisen
ORA-06512: in "MDSYS.SDO_INDEX_METHOD_9I", Zeile 7
ORA-06512: in Zeile 1
I read some messages from the OTN forum and got to know to test the data with the following script:
SELECT geo_id FROM geoobject
WHERE SDO_GEOM.VALIDATE_GEOMETRY_WITH_CONTEXT(shape, .005) <> 'TRUE';
All data passed this test.
Could somebody give me some suggestions?
regards,
YiweiMy spatial index has been successfully generated after i enlarged the tablespace. But I encounter a new problem.
I have saved many points in the table. I can use oracle spatial analyzer to see all the points. But as I tried to run the following query according to the examples in the oracle spatial user guider, I always get error messages. I have no idea about which problems there might be.
The Query is:
select geo_id, geo_name from geoobject g
where mdsys.sdo_filter
(g.shape, mdsys.sdo_geometry
(2003, null, null,
mdsys.sdo_elem_info_array(1, 1003, 1),
mdsys.sdo_ordinate_array(25.00, 60.00, 25.00, 70.00, 35.00, 70.00, 35.00, 60.00, 25.00, 60.00)
), 'querytype=WINDOW') ='true'
and sdo_relate
(g.shape, mdsys.sdo_geometry
(2003, null, null,
mdsys.sdo_elem_info_array(1, 1003, 1),
mdsys.sdo_ordinate_array(25.00, 60.00, 25.00, 70.00, 35.00, 70.00, 35.00, 60.00, 25.00, 60.00)
), 'masktype=TOUCH querytype=WINDOW') ='true';
The error messages are:
ERROR in line 1:
ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
ORA-13207: Falsche Benutzung des Operators [SDO_FILTER]
ORA-06512: in "MDSYS.SDO_INDEX_METHOD_9I", Zeile 368
ORA-06512: in Zeile 1
I use SRID = 8307, I want to use Geodetic Coordinate Support. For that reason, as I insert the information into the database, I just insert '8307' as the SRID both in the geo table and in the table user_sdo_geom_metadata. Except for that I did nothing which seems to be related to support geodetic coordination system. I think the problems might be here.
I am looking forward to helps.
Yiwei -
I'm new to Oracle Text, and I did the following on a Oracle 9i DB, and got the error as:
"ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10509: invalid text column: AD_FINALTEXT
ORA-06512: at "CTXSYS.DRUE", line 157
ORA-06512: at "CTXSYS.CATINDEXMETHODS", line 100
Can anyone tell me what's wrong? Thanks a lot.
Steps I did:
CREATE TABLE print_media (
product_id NUMBER(6) PRIMARY KEY,
ad_finaltext CLOB )
INSERT INTO print_media VALUES (2056,
'The TIGER2 2056 mouse pad meets all known industrial standards.')
INSERT INTO print_media VALUES(3106,
'The TIGER2 3106 Keyboard has all the standard features of a keyboard.')
INSERT INTO print_media VALUES(5206,
'The TIGER2 5206 Keyboard includes a built-in mouse.')
COMMIT
CREATE INDEX print_media_ad_tx
ON print_media ( ad_finaltext )
INDEXTYPE IS ctxsys.ctxcatThis is the error you get when the text column is not one of the supported types. But in this case, it is
CLOB, so it should be working -- you're sure that you didn't make the text column an NCLOB by mistake?
NCLOB is not supported. -
[Error when creating an index]
Hi there,
When i issue a create index statement, i get this error. On checking the ctx_indexes table, i see my index there. What is wrong and how can I rectify it?
-- error --
SQL> create index STAG_SCD_CONTENT_IDX on
SEARCH_DATA(SCD_CONTENT) indextype is
CTXSYS.CONTEXT;
create index STAG_SCD_CONTENT_IDX on
SEARCH_DATA(SCD_CONTENT) indextype is
CTXSYS.CONTEXT
ERROR at line 1:
ORA-29855: error occurred in the execution of
ODCIINDEXCREATE routine
ORA-20000: ConText error:
ORA-06520: PL/SQL: Error loading external library
ORA-06522: ld.so.1: extprocPLSExtProc: fatal: libskgxp8.so:
open failed: No such file or directory
ORA-06512: at "CTXSYS.DRUE", line 122
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 34
ORA-06512: at line 1
--------------------These errors can be caused by oracle not being able to find files in oracle standard directories.
In order to fix the problem, try this:
export TNS_ADMIN=$ORACLE_HOME/network/admin -
Error when creating BIA INDEX FOR CUBE
Hi
I am trying to create BIA index for a cube and I am getting error
"An error occurred. Choose "Continue" to start again from the beginning" in the second step. Could any body explain what this error mean and How to correct it.
and when I press BIA Moniter tab I am getting following message.
An error occurred. Choose "Continue" to start again from the beginning
"BIA Monitor Is Called for First Time
The RFC destination for the BI accelerator is not yet specified in the
system. Without the relevant entry in RSADMINA, the BIA monitor cannot
be executed. Do you want to enter the RFC destination now?"
Thanks in Advance
Sarath
Edited by: sarath kumar on Aug 21, 2008 9:42 AMHi,
Is there any way i can check bi accelerator installed or not for our bi server.I contacted basis team but they do not have any idea regarding this. but I heard from my ex colleage it is installed. and Reports from one cube is running very fast compared to recently created cube.
Thanks
Sarath -
Formatting error when generating an index in CS3
Commas between page numbers seem to be superscripted, raised about half-way up the space and in a smaller font size. I've reviewed character and paragraph style settings and can't seem to find a solution; also fiddling with items in the generating index dialogue box. Even manually changing it doesn't always work though it sometimes does. Hadn't noticed this until a couple of days ago.
These errors can be caused by oracle not being able to find files in oracle standard directories.
In order to fix the problem, try this:
export TNS_ADMIN=$ORACLE_HOME/network/admin -
Error when creating index with parallel option on very large table
I am getting a
"7:15:52 AM ORA-00600: internal error code, arguments: [kxfqupp_bad_cvl], [7940], [6], [0], [], [], [], []"
error when creating an index with parallel option. Which is strange because this has not been a problem until now. We just hit 60 million rows in a 45 column table, and I wonder if we've hit a bug.
Version 10.2.0.4
O/S Linux
As a test I removed the parallel option and several of the indexes were created with no problem, but many still threw the same error... Strange. Do I need a patch update of some kind?This is most certainly a bug.
From metalink it looks like bug 4695511 - fixed in 10.2.0.4.1 -
SELECT QUERY BASED ON SECONDARY INDEX
Hi all,
CAN ANYONE TELL ME HOW TO WRITE SELECT QUERY BASED ON SECONDARY INDEX.
IN WHAT WAY DOES IT IMPROVE PERFORMANCE.
i KNOW WHEN CREATING SECONDARY INDEX I NEED TO GIVE AN INDEX NO -iT SHOULD BE ANY NUMBER RIGHT?
I HAVE TO LIST ALL PRIMARY KEYS FIRST AND THEN THE FIELD FOR WHICH I AM CREATING SECONDARY INDEX RIGHT?
LETS SAY I HAVE 2 PRIMARY KEYS AND I WANT TO CREATE SEONDARY INDEX FOR 2 FIELDS THEN
I NEED TO CREATE A SEPERTE SECONDARY INDEX FOR EACH ONE OF THOSE FIELDS OR ONE SHOULD BE ENOUGH
pLS LET ME KNOW IF IAM WRONGHI,
If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVINGclauses, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
You create secondary indexes using the ABAP Dictionary. There you can create its columns and define it as UNIQUE. However, you should not create secondary indexes to cover all possible combinations of fields.
Only create one if you select data by fields that are not contained in another index, and the performance is very poor. Furthermore, you should only create secondary indexes for database tables from which you mainly read, since indexes have to be updated each time the database table is changed. <b>As a rule, secondary indexes should not contain more than four fields</b>, <b>and you should not have more than five indexes for a single database table</b>.
<b>What to Keep in Mind for Secondary Indexes:</b>
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm
http://www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
Regards
Sudheer -
I'm using Berkeley DB Java Edition with the Collections API. I want to know if it's possible to have a secondary index that is a null value.
My persisted object has an optional email field. Email is a secondary index. Everything works except when the secondary index is null. I get an exception in the database. I have sortedDuplicates set to true in the SecondaryConfig.
Thanks, SteveOkay, I overlooked something. I was first doing a get (on my secondary index StoredMap) to do some checking before calling put. I was passing null to get which resulted in the following exception:
Exception in thread "main" java.lang.IllegalArgumentException: null key and null value
at com.sleepycat.collections.DataView.useKey(DataView.java:495)
at com.sleepycat.collections.DataCursor.getSearchKey(DataCursor.java:558)
at com.sleepycat.collections.StoredContainer.get(StoredContainer.java:280)
at com.sleepycat.collections.StoredMap.get(StoredMap.java:218)
at ...
Calling put with an object that results in a null secondary index works fine after all.
This brings up a second question, why does secondary index's StoredMap.get(null) not work? I can call get with a non-existent non-null secondary key and it will return null. But calling get with null results in the above exception.
Steve -
Error in Creating Secondary Table Index
Hi,
I have created a secondary table index in a custom table. It was successful in DEV, no warning messages. however, when i transported it to the test environment, there was a warning message:
Index does not exist in database system ORACLE
The status is still active though. Is this an error which means the secondary index will not work properly?
Please let me know.
Thank you.Hi,
check in SE14 - TABNAME - edit - indexes - your index
whether it exists on the database or not. If it does not exit
create the index in the database.
Kind regards,
Hermann -
What is the "No database index" means when you Creating Secondary Indexes?
HI,
I'm Creating Secondary Indexes in the maintenance screen of the table(se11)
There are three options under "Non-unique Index":
1.Index on all database systems
2.For selected database systems
3.No database index
My questions is :
What do u mean by "No Database Index" and when is it used.
Can anybody plz tell me what's the difference of this three options ?
Here is what i found in the help:
No database index: The index is not created in the database. If you
choose this option for an index that already exists in the database,
it is deleted when you activate this option.Hi,
It is clear from the help documentation,
Here see what the help document says:
Create the index in the database (selection)
Whether an index improves or worsens performance often depends on the database system. You can therefore set whether an index defined in the ABAP Dictionary should be created in the database.
This makes it easier to install a platform-specific customer system.
You can set this option as follows:
1. Index in all database systems: The index is always created in the database.
2. In selected database systems: The index is created depending on the database system used. In this option, you must specify the databases in which the indexes are to be created. You can do this either on an inclusive (list of systems on which it should be created) or an exclusinve (list of systems on which it should not be created) basis. In either case, you can list up to four different database systems.
3. No database index:: The index is not created in the database. If you set this option for an index that already exists in the database, it is deleted when you activate the table in the ABAP Dictionary.
Note: Unique indexes have an extra function, and must therefore always be created in the database. The database system prevents entries or index fields being duplicated. Since programs may rely on this database function, you cannot delete unique indexes from the database.
Hope it helps you,
Regards,
Abhijit G. Borkar
Maybe you are looking for
-
ADFS Web Application Proxy - Automatically authenticate another federation
I am setting up a Web Application Proxy as a reverse proxy to publish some of our internal websites to the internet. I am going to publish https://portal.workplace.example as the "hub" site which will link off to various other websites hosted interna
-
Priority of message has not effect on delivery order
Hi, I'm sending messages into a JMS queue with two different priorities and a property for use with a JMS selector. Then via a JMS message recievers that have a selector I recieve the messages. But the order is always the same First in, First Out. Ex
-
How do I see an external HD connected to my AE ?
How do I see an external HD connected to my AExtreme. My AE is working flawlessly with my Apple and non-Apple devices. The HD is formatted with NTSB so both Apple and PC can access the files. The USB HD works fine with direct USB connection. I use
-
How can you recover a .docx file that was previously saved and can no longer be found?
Document appears in 'recent files' however Word says it is unable to locate the file
-
Using File Browse to update stored file
Hi all, I have a form with a File Browse item on it which is (surprisingly!) used to upload a file and associate with a record. The filename is stored in a varchar column in the table. This works fine when I create (INSERT) the initial record and I c