System generated Index names different on target database after expdp/impdp
After performing expdp/impdp to move data from one database (A) to another (B), the system name generated indexes has different names on the target database, which caused a major issue with GoldenGate. Could anyone provide any tricks on how to perform the expdp/impdp and have the same system index name generated to be the same on both source and target?
Thanks in advance.
JL
While I do not agree with Sb choice of wording his solution is correct. I suggest you drop and recreate the objects using explicit naming then you will get the same names on the target database after import for constraints, indexes, and FK's.
A detailed description of the problem this caused with Golden Gate would be interesting. The full Oracle and Golden Gate versions is use might also be important to the solution, if one exists other than explicitl naming.
HTH -- Mark D Powell --
Edited by: Mark D Powell on May 30, 2012 12:26 PM
Similar Messages
-
System generated index property not generated in database
Hi,
I created an offline table by copying it from an (first) online database to my project. The table contains a unique key constraint, which references a system generated index. Now I used this offline table to generate a table in another (second) online database. This all works well except, that the "System Generated" property of the index is "false" and not "true" as in the offline table (and the first online database). When I manually reconcile the same table to the second online database again, there is always a difference shown for this index property. When I try to continue the reconcile process to change this property I get an error message, that the index cannot be dropped because it is obviousely referenced by the unique constraint.
When I drop the constraint and try to generate the index only I get the following warning message:
Jan 11, 2012 2:08:59 PM oracle.javatools.db.property.AbstractPropertyManager processDiffs
WARNING: Unsupported property: systemGenerated
Is there a way to work around this annoying behavour? Is it possible to change this index property by an ALTER INDEX statement?
Im using JDeveloper 11.1.2.1.0 (Build JDEVADF_11.1.2.1.0_GENERIC_110907.2314.6081)
Thanks for help and hints
Thomas
Edited by: thmayr on 11.01.2012 05:08Hi,
it might be due to some BUG in RDBMS...
First Check the Secondary index in TEST system
Look at the Transport Number in DEV system, If this is having error, then it will show you the error details also,
If that not moved Properly then you need to create another request for the INDEX and move it again
See the threads with similar problem...
Warning: Index does not exist in database system MSSQL
Index does not exist in database system ORACLE??????
Re creation of database index
Hope it will solve your problem...
<b>Reward Points if useful</b>
Thanks & Regards
ilesh 24x7 -
Version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
I see some system generated column names(like SYS_C00009_13061211:44:57$,SYS_C00033_13061211:44:57$) in ALL_TAB_COLS view for a partitioned table, not sure how they got created in the first place and tabledoesn't have any virtual columns. Is it something if we drop a column from table and oracle trying to keep them in the dictionary? when i describe the table these "SYS_C00" columns are not showing.
I am trying to exchange the partition with staging (similar structure) table, but i end up with this error "
14097. 00000 - "column type or size mismatch in ALTER TABLE EXCHANGE PARTITION"
*Cause: The corresponding columns in the tables specified in the
ALTER TABLE EXCHANGE PARTITION are of different type or size
*Action: Ensure that the two tables have the same number of columns
with the same type and size."
Any suggestions would be appreciated.
Thanks,
sgI have found my solution to this problem.
My table is compressed table and when i try to drop some of the columns oracle marking them as unused(SYS_CO with timestamp) instead of dropping them. For partition exchange i have created same number of columns as original table in the same order and marked the "dropped" columns as unused on a temporary table. Now i can able to exchange the partition with out any issues
Thanks to Jonathan and Connor.
EXCHANGE PARTITION those pesky columns | Learning is not a spectator sport -
Getting the system generated column name for xmltype column
Hello,
how i can get the internal column name (p.a. SYS_NC00001$) for a xmltype column? I cannot find a correct dictionary view .
I need that for moving a xmltype lob partition to another tablespace.
Thanks,
MaikRDoes the following help:
http://www.idevelopment.info/data/Oracle/DBA_tips/LOBs/LOBS_2.shtml
http://www.liberidu.com/blog/?p=264 -
Index does not exist in database system DB6
Hi,
Problem : <b>Index does not exist in database system DB6</b>.
I need further explanation why when i transport index from Development Client to Production Client the index is active but does not exist in database system DB6.
So when the cases is occurs i must re-create the index again in Production Level...
Can someone give me some ideas?
Thanks.Hi,
it might be due to some BUG in RDBMS...
First Check the Secondary index in TEST system
Look at the Transport Number in DEV system, If this is having error, then it will show you the error details also,
If that not moved Properly then you need to create another request for the INDEX and move it again
See the threads with similar problem...
Warning: Index does not exist in database system MSSQL
Index does not exist in database system ORACLE??????
Re creation of database index
Hope it will solve your problem...
<b>Reward Points if useful</b>
Thanks & Regards
ilesh 24x7 -
Staging area different from target - which KM???
Hi,
I need to transfer data from CSV to DB (only new inserts operation)
I am working the following KM's
LKM File to SQL
IKM SQL Control Append
It's working fine. However now i need to keep the staging area (where C$, I$ etc table are created) in a separate schema.
I have created a diff schema for staging area and selected in the interface "Staging area different from target"
However not sure of which KM's to use.
Please let me know how to achieve this.
Thanks,
RoshHi
1st thing you have to give the workschema for temp tables when creating physical schema in dataserver for target.
Then you have to select the workschema in overview of interface as "staging different from target".
After doing this when you will use predefined KM for the interface it will create temp tables in workschema.
Now suppose you are not giving the workschma at the time of creating physical schema and you have selected "staging different than target" in interface.Here your C$ table will be created in your workschema but I$ table that is used by IKM is going to be created on target schema.So for this again you have change the IKM KM i.e. where to create I$ table (wokrschema) by selecting the corresponding logical schema.
So its better you give the workschema at the time of creating physical schema.
Here is the query to give privilege by the sys_dba
Grant create any table to ODI_TEMP.
Hope you got it
(Please mark the answer as correct or helpful and close the thread)
Thanks -
Bug? Create Index can not edit index name
Hi,
when I want to create an index I can not edit the index name which is always tablename_index1 after I create the index with this name, delete it again and create a new one I can edit the indexname.
this happens when you use the tabs in edit table. It works when you use context menu create index
Regards, Juergen
Message was edited by:
Juergen.Schuster
Message was edited by:
Juergen.SchusterThis seems to be specific to Oracle 9. I could not reproduce in 10 but did just reproduce in 9. The only way to get the index created was to refresh the connection, just refreshing the table or all tables did not do it. I will log a bug now.
-- Sharon -
Smartforms - difference in auto-generated FM name in different systems
Hi,
The situation is:
I have created a smartform in our Dev application server and tested it to achieve the view I needed. The Dev system generates FM with automatic name /1BCDWB/SF00000005. I have successfuly transported it to our test system and checked with data. After some short time I found an error in smartform and made a fix in a Dev. system. When trying to test it I found that the system modifies the FM name to /1BCDWB/SF00000006. This leads to modification in my source code, from where I call this FM with actual parameters (not test).
The problem occures when I transported both the smartform and report from where I call it to the test system again. I obtained a shortdump with message like:
'...FM /1BCDWB/SF00000006 does not exist...'
After short investigation I have found, that in our Test system this smartform still generates *** and corresponds to *** the FM with name /1BCDWB/SF00000005.
Next, I'm unable to transport FuGr /1BCDWB/SF00000006 from Dev. to Test because it does not have Dev.Class assosiated and asks for Licence Key (furthermore, I'm not sure this should be done in this way).
Now in our Dev system FM named /1BCDWB/SF00000005 corresponds to another smartform (made by me more than year ago).
And, what is pitty, If I try to release a transport with report which calls FM named /1BCDWB/SF00000005 from Dev, I have about 17 extended program errors (during extended program check) saying that 'there is no such FM'...
For me this is missing of some consistency. What should I do to get consistency between our systems back? (means to have corresponding smartform relation to the same FM name in all the systems)
Any help whould be highly appreciated.
Many thanks in advance.
Regards,
Ivaylo Mutafchiev
SAP BC ConsumtantHi Ivaylo
Smartforms Name are system dependant !
They are dynamically generated.
You have to use :
data : function_name type rs38l_fnam.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZFORM_NAME' "Smartform name
direct_call = 'X'
importing
fm_name = function_name
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
erreur.
endif.
and then, you call your smartform with :
call function function_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = st_ssfctrlop
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = st_ssfcompop
user_settings = ' '
Good luck,
Regards,
Erwan.
Message was edited by: Erwan LE BRUN -
When executing 'duplicate target database for standby from active' the system tablespace/datafile (datafile 1) is not cloned. All other datafiles clone successfully. The RMAN process aborts with the following errors while attempting to clone the system tablespace/datafile.
ORA-19558: error de-allocating device
ORA-19557: device error, device type: DISK, device name:
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
ORA-03135: connection lost contact
Here are the details:
Primary is 11.2.0.2 RAC database on an Exadata platform
Standby is 11.2.0.2 Single Instance database (same patch level as primary) on a Red Hat Linux box
This is an ASM to ASM duplication.
This is not unique to this database. We tried another database and go the same behavior - all datafiles clone successfully with the exception of the system tablespace/datafile.
We have traced the RMAN execution and it seems to fail when it is trying to assign a NEWNAME to the system tablespace/datafile.
We even issued an explicit SET NEWNAME command but RMAN ignored it.
We also shutdown the primary and started is up in mount mode thinking that something had ahold of the System Tablespace/datafile.
We also opened up the network firewall to allow permit any,any traffic.
We increased the max_server_processes
and added TCP.NODELAY=yes to the sqlnet.ora file.
There seems to be some artifact present in our Primary System tablespace/data file that is preventing it form being cloned.
checked all alert files grid, asm, and dbhome - no abnormal messages.
We are in the process of restoring the database from a backup but we would prefer to get this working using the 'Active Database' methodologyI successfully created the standby database using RMAN backup and recovery.
I started the managed recovery. Archive logs are being sent from the primary to the standby ( I can see them in ASM), but the standby is not applying them.
I get the following messages in the standby alert log...
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:19:58 2013
Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
Tue Nov 26 16:20:01 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:20:11 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:20:22 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
Tue Nov 26 16:20:32 2013
Fetching gap sequence in thread 2, gap sequence 154158-154257
I don't see any MRP processes:
select process,
status,
thread#,
sequence#,
block#,
blocks
7 from v$managed_standby;
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
ARCH CLOSING 2 154363 1 132
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
ARCH CONNECTED 0 0 0 0
RFS IDLE 0 0 0 0
RFS IDLE 1 145418 121 1
RFS IDLE 0 0 0 0
PROCESS STATUS THREAD# SEQUENCE# BLOCK# BLOCKS
RFS IDLE 0 0 0 0
12 rows selected.
SQL> SELECT THREAD#, SEQUENCE#, APPLIED FROM V$ARCHIVED_LOG;
THREAD# SEQUENCE# APPLIED
2 154356 NO
2 154357 NO
1 145411 NO
2 154358 NO
2 154360 NO
2 154361 NO
1 145414 NO
1 145415 NO
2 154362 NO
2 154363 NO
1 145416 NO
11 rows selected.
I do have the archive logs that cover sequences 154158-154257
Crosschecked 38 objects
Crosschecked 62 objects
Finished implicit crosscheck backup at 26-NOV-13
Starting implicit crosscheck copy at 26-NOV-13
using channel ORA_DISK_1
using channel ORA_DISK_2
Crosschecked 2 objects
archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154377.344.832521989 RECID=29 STAMP=832521990
validation succeeded for archived log
archived log file name=+RECO_XORA/nmuasb00/archivelog/2013_11_26/thread_2_seq_154378.346.832521991 RECID=31 STAMP=832521993
Crosschecked 31 objects -
Same index name for different tables in different schema
Just a quick query
Can two tables present in different schema of same database has same index name ?
Will there be any problem?
ThanksAnd just a quick answer:
859486 wrote:
Just a quick query
Can two tables present in different schema of same database has same index name ?Yes.
>
Will there be any problem?No.
>
Thanks -
Warning: Index does not exist in database system MSSQL
Hi,
After activating the Index from SE11,
I receive the following Warning:
Index does not exist in database system MSSQL.
What does this mean? Has performance been increased or does the index 1st have to exist in the database system MSSQL?When you create index at SE11 and you need activate database utility.
utilitities-database utility->then click activate and adjust database.
else you can use SE14 and so that Index will create databse level.
Reward Points if it is helpful
Thanks
Seshu -
Index does not exist in database system ORACLE??????
Hi Experts,
I created a Secondary Index in DEV, its fine and the message is,
<b><i>Index KNA1~Z01 exists in database system ORACLE</i></b>
I moved it to TEST and there I got the message is like,
<i><b>Index does not exist in database system ORACLE</b></i>
So,
1 - Wht I hv to do now? Shuld I see BASIS people?
2- Why its happened like that? Coz of not enough space?
ThanQ.thanq sudheer,
I got the return code as 4, so Can I go for creation of new request and there by moving to test?
1 - Anyways, so, after Activating Seconadyr Index, Shuld I come back and Do I need to activate the Table also?
or
2- Just activating the index is enough?
thanq.
Message was edited by:
Srikhar -
Index does not exist in database system DB6 sap
Hi All
In development system i have added a field into already existing index and activated successfully without any errors or warnings and after transported the TR into Quality system,In Quality system it shows the warning Index does not exist in database system DB6 sap
Thanks
VamsiHi Mohan,
After any change in the existing structure of the table you need to adjust and then activate it.
It can be done using SE14 tcode, please try using this.
Regards,
Mohammed -
Index Does Not Exist In Database System MSSQL
Hello,
I have an Index that has this message:
" Index Does Not Exist In Database System MSSQL"
Can someone guide me how to update Index to the database?
Thank you.Check this thread:
missing primary index
Otherwise, a few more informations would help! Thanks. -
How to compare index names and columns from different user?
I am using below query to compare two indexes from 2 different users but even though index name and columns are same... result shows me they are different.. what I am doing wrong? Thanks
WITH t AS
(SELECT COUNT (DISTINCT index_owner || index_name || indexed_cols)
cnt
FROM ( SELECT index_owner,
index_name,
listagg (column_name, ',')
WITHIN GROUP (ORDER BY column_position)
indexed_cols
FROM dba_ind_columns
WHERE index_name='XPKTBL_A'
GROUP BY index_owner, index_name))
SELECT CASE
WHEN cnt > 1 THEN 'Indexes are different'
WHEN cnt = 0 THEN 'Indexes dont exist'
WHEN cnt > 1 THEN 'Indexes are identical'
END
commnt
FROM t
Result:
Indexes are different
but Actually if you check below they are same After when I run this query:
SELECT index_owner,
index_name,
listagg (column_name, ',') WITHIN GROUP (ORDER BY column_position)
indexed_cols
FROM dba_ind_columns
WHERE index_name='XPKTBL_A'
GROUP BY index_owner, index_name;
Result:
Index_owner
Index_name
Index_cols
USER1
XPKTBL_A
FIELD_A1
USER2
XPKTBL_A
FIELD_A1Hi,
Erhan_toronto wrote:
I am using below query to compare two indexes from 2 different users but even though index name and columns are same... result shows me they are different.. what I am doing wrong? Thanks
WITH t AS
(SELECT COUNT (DISTINCT index_owner || index_name || indexed_cols)
So index_owner is 'USER1' in one case, and 'USER2' in the other; right?
A string that starts with 'USER1' will be distinct from a string that starts with 'USER2', no matter what the rest of the string contains. Maybe you don't want to compare the owners, or maybe you meant to use some other column (such as table_name) instead of index_owner).
I hope this answers your question.
If not, post a little sample data (CREATE TABLE, CREATE INDEX and CONNECT statements), and also post the results you want from that data.
Explain, using specific examples, how you get those results from that data.
Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002
Maybe you are looking for
-
Interval Since Last Panic Report: 60719 sec Panics Since Last Report: 8 Anonymous UUID: E4173E90-C707-3FF2-4CDC-24E74BB723CE Sun Oct 14 17:52:28 2012 panic(cpu 2 caller 0xffffff7f9c96bb25): NVRM[0/1:0:0]: Read Error 0x000
-
My macbook pro will not recognize my Seagate external hard drive.
Last night it was working fine, but I noticed that every time I plug in my hard drive there is a bunch of files in my trash bin. I tried to delete them and my trash bin goes into the negatives and never stops. I tried dragging those files from the
-
Horizontal Menu position of submenus
I'm a novice to Dreamweaver CS3. I have the Spry Horizontal Menu working on my site using an include statement so it can be pulled into all pages. I centered the menu bar on the page and it's below some other elements instead of being at the top of t
-
Ultrabeat not synced with Track Tempo
I thought I posted here before, but apple made me re-register. My apologies if someone has answered this for me before, I cannot find it... I am trying to make a drumtrack with Ultrabeat in Logic Pro 8, and am running into a peculiar problem. I loade
-
Import Word/Excel document option greyed out
For a class assignment I am instructed to import a Word document using Import -> Word Document. The problem is that the option to import Word & Excel documents is greyed out. Yes, I have the destination file open when I try to import the document.