XOQ-01600: OLAP DML error "ORA-33858: 11g Cube
Hi All ,
I was trying to apply the cube changes after changing the sparsity definition against one of the dimension under Storage tab and it is throwing below error .
Any reason ?
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('MARKET_SALES_CUBE_WORKING.CUBE' 'ALTER' 'NUMBER' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 2) 'TIME.DIMENSION' 'TIME.CALENDER.HIERARCHY' 'TIME.MONTHLY.LEVEL' 'COMPRESSED' 'YES' 'YES' 'MARKET_SALES_CUBE_WORKING.SOLVE.AGGREGATIONDEFINITION' 'NO')", Generic at TxsOqStdFormCommand::execute
Thanks in advance,
DxP
I have seen this kind of error show up if you rename an object (e.g. a measure) and then make further modifications. Did that happen in your case? If you export the cube to XML, delete it from AWM, and then recreate it from XML, then it may resolve the problem. If not, and if it is preventing your from making progress, then I would open a service request since we usually need to enable tracing to resolve this class of error.
Similar Messages
-
INI: XOQ-01600: OLAP DML Error "ORA-01438: value larger than specified prec
I have created a Time dimension in AWM 11.1.0.7.0B.
I have added two Hierarchies to it. One Hierarchy has All Years, Year, Week, day. The second hierarchy has All Years, Year, Quarter.
When I maintain the dimension, the following error occurs:
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
INI: Error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
INI: XOQ-01600: OLAP DML Error "ORA-01438: value larger than specified precision allowed for this column
" while executing DML "SYS.AWXML!R11_LOAD_DIM('TIME.ALL_GREGORIAN_YEARS.LEVEL' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) 'TIME.END_DATE.ATTRIBUTE' 'TIME.TIME_SPAN.ATTRIBUTE' 'TIME.LONG_DESCRIPTION.ATTRIBUTE' 'TIME.SHORT_DESCRIPTION.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_END_DATE.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_LONG_DES.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_SHORT_DE.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA1.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA2.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA3.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_LONG_DES1.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_SHORT_DE1.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA4.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_LONG_DES2.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_SHORT_DE2.ATTRIBUTE' 'TIME.GREGORIAN_QUARTER_END_DATE.ATTRIBUTE' 'TIME.GREGORIAN_QUARTER_TIME_SPAN.ATTRIBUTE' 'TIME.GREGORIAN_QUAOLAP DML Error "%(1)s" while executing DML "%(2)s", Generic at TxsOqStdFormCommand::execute
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$1.construct(Unknown Source)
at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)The most likely explanation is that you have a numeric attribute whose data type precision is less than that of the column it is mapped to. For example if you had an attribute with data type NUMBER(2) and you mapped it to a column with data type NUMBER(5), then you could get this error on load. Note that some of the attributes may not be visible in AWM. The offending SQL statement should be in the OUTPUT column of the CUBE_BUILD_LOG, but you may be able to fix this by just describing the view associated with the dimension. For example, here is the description of a TIME view created in 11.2..
Name Null? Type
DIM_KEY VARCHAR2(60)
LEVEL_NAME VARCHAR2(30)
MEMBER_TYPE VARCHAR2(1)
DIM_ORDER NUMBER
END_DATE DATE
TIME_SPAN NUMBER
LONG_DESCRIPTION VARCHAR2(60 CHAR)
SHORT_DESCRIPTION VARCHAR2(60 CHAR)
MONTH_END_DATE DATE
MONTH_TIME_SPAN NUMBER(5)
MONTH_LONG_DESCRIPTION VARCHAR2(60 CHAR)
MONTH_SHORT_DESCRIPTION VARCHAR2(60 CHAR)
FISCAL_QUARTER_END_DATE DATE
FISCAL_QUARTER_TIME_SPAN NUMBER(5)
FISCAL_QUARTER_LONG_DESC VARCHAR2(60 CHAR)
FISCAL_QUARTER_SHORT_DES VARCHAR2(60 CHAR)
FISCAL_YEAR_END_DATE DATE
FISCAL_YEAR_TIME_SPAN NUMBER(5)
FISCAL_YEAR_LONG_DESCRIP VARCHAR2(60 CHAR)
FISCAL_YEAR_SHORT_DESCRI VARCHAR2(60 CHAR)
CALENDAR_QUARTER_END_DAT DATE
CALENDAR_QUARTER_TIME_SP NUMBER(5)
CALENDAR_QUARTER_LONG_DE VARCHAR2(60 CHAR)
CALENDAR_QUARTER_SHORT_D VARCHAR2(60 CHAR)
CALENDAR_YEAR_END_DATE DATE
CALENDAR_YEAR_TIME_SPAN NUMBER(5)
CALENDAR_YEAR_LONG_DESCR VARCHAR2(60 CHAR)
CALENDAR_YEAR_SHORT_DESC VARCHAR2(60 CHAR)You can get the same information from user_cube_attributes
SQL> select attribute_name, data_precision from user_cube_attributes where dimension_name = 'TIME' and data_type = 'NUMBER';
ATTRIBUTE_NAME DATA_PRECISION
TIME_SPAN
MONTH_TIME_SPAN 5
FISCAL_QUARTER_TIME_SPAN 5
FISCAL_YEAR_TIME_SPAN 5
CALENDAR_QUARTER_TIME_SPAN 5
CALENDAR_YEAR_TIME_SPAN 5 -
INI: XOQ-01600: OLAP DML error "ORA-4030: out of process memory" OLAP PGA S
Hi All ,
While executing the cube generation I am getting an error. Anybody knows the reason ? I have amended the olap_page_pool_size to 200MB and it doesn't help at all .
INI: error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>INI: XOQ-01600: OLAP DML error "ORA-4030: out of process memory when trying to allocate 82860 bytes (OLAP PGA Stack,xsVPBlankParm: PPARM)" while executing DML "SYS.AWXML!R11_COMPILE_PARTITIONS('TIME.DIMENSION')", Generic at TxsOqStdFormCommand::execute
Thanks in advance,
DebashisHI David ,
Thanks for the reply.
My Time Dimension having 10 years of data in day level granularity and Fact table is not partitioned and having only one month of data as 299 records .
Just to let you know that we define two hierarchy level under TIMES one is "ALL levels" and another is Detail where END_DATE has been defaulted with some value and TIME_SPAN is set mapped to the Times table column having distinct value 1 for each records .Also the Member specified as ROW_WID of the Time table.
Just to let you know we have ran(Maintain from Dimension hierarchy) 'Product' and 'Position' dimension individually and it works fine i.e Load ,Compile and Sync process works fine but while run Times it is throwing issue :
ORA-4030: out of process memory when trying to allocate 59340 bytes (OLAP PGA Stack,xsVPBlankParm: PPARM)" while executing DML
we run the Times hierarchy from OLAPTRAIN and it was perfectly fine . Not sure with our time Dim definition .
Any clue ?
Many Thanks,
Debashis -
hi all,
I am trying to do the tutorial Building OLAP 11g Cubes (http://st-curriculum.oracle.com/obe/db/11g/r1/olap/cube/buildicubes.htm), but when I try to "Maintain Cube SALES_CUBE" I get the following error:
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
INI: error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
INI: ORA-35571: The maximum number of load errors has occurred. No changes from this step were committed to the database.
XOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_LOAD_DIM", Generic at TxsOqStdFormCommand::execute
INI: XOQ-01601: error while loading data for Cube Dimension "OLAPTRAIN.PRODUCT" into the analytic workspace, Generic at TxsOqStdFormCommand::callR11LoadDim
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$2.construct(Unknown Source)
at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Can anyone help me?
Thanks,
CarlosI have seen this (in 11.1.0.7, I believe) when the metadata cache ("kgl") gets out of synch with the data dictionary. Specifically there is a flag that determines if prefixes get added to dimension members ("use surrogates" in AWM terms) that becomes false instead of true. If you look at the generated SQL in the OUTPUT column of the CUBE_BUILD_LOG you may find that sometimes a prefix is added to dimension members (e.g. "LEAF_LEVEL_" || dim_table.leaf_column) and othertimes it is not (e.g. just dim_table.leaf_column). A workaround if this is the case may be to execute the following (as dba) before building the dimension.
alter system flush shared_pool; -
OLAP DML Error : -35188 : ORA-35188: The word = must be followed by an expr
Hi ,
While doing OLAP DML I am getting following error
-35188 : ORA-35188: The word = must be followed by an expression.When searched Error list I could not any helpful explanation for this error.
Any clue about this error?
JosephHi,
I found the issue , a value for measure was pushed and that time this error was happening,Reason was
the value passed was .01 , but since the Number format was ',' for a decimal point value passed was ,01
Turning the Number format to '.' for decimal points resolved the issue. -
ORA-33858: The value of the ampersand-substitution expression is NA." Cube
Hi David ,
While deleting a cube I am gettingbelow error . Any reason as the error is not easy to understand .
The transaction is not committable: "An error has occurred on the server
Error class: Express Failure
Server error descriptions:
DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('BASE_PLAN_AGGR.CUBE' 'DELETE')", Generic at TxsOqStdFormCommand::execute
at oracle.olapi.transaction.BaseTransaction.commit(Unknown Source)
at oracle.olapi.transaction.BaseTransactionProvider.commitCurrentTransaction(Unknown Source)
at oracle.olap.awm.dataobject.DatabaseDO.commitOLAPI(Unknown Source)
at oracle.olap.awm.dataobject.aw.WorkspaceDO.commitOLAPI(Unknown Source)
at oracle.olap.awm.dataobject.olapi.UModelDO.commitOLAPI(Unknown Source)
at oracle.olap.awm.dataobject.olapi.UModelDO.delete(Unknown Source)
at oracle.olap.awm.dataobject.olapi.UCubeDO.delete(Unknown Source)
at oracle.olap.awm.navigator.node.DeleteThread.run(Unknown Source)
Many thanks,
DxPHi David ,
Now we are getting the same problem while adding one of the dimension to our cube . Before addition of that dimension the cube was running fine . Now if we add this and click apply then it is throwing the same error . However that dimension has been used in different cube in same workspace and it is perfectly fine there.
Not able to understand the cause and the problem for the addition of new dimension there .
Any clue ? or same BUG /
Rgds,
DxP -
Can anyone help decoding this error and how to resolve this ?
<ERROR> <![CDATA[37162: ORA-37162: OLAP errorORA-01403: no data foundXOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_AGGREGATE_CONSISTENT"ORA-06512: at "SYS.DBMS_CUBE", line 234ORA-06512: at "SYS.DBMS_CUBE", line 316ORA-06512: at line 1]]>></ERROR>
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Automatic Storage Management, OLAP, Data Mining
and Real Application Testing options
Following is the cube_build_log rows when the error occurs
BUILD_ID STATUS COMMAND BUILD_OBJECT BUILD_OBJECT_TYPE OUTPUT_TXT
9921 FAILED BUILD BUILD <ERROR> <![CDATA[XOQ-01707: Oracle job "A$9921_JOB$_501362" failed while executing slave build "ORSFHR_PRDBI.RESV_PACE_BI USING (LOAD PRUNE, SOLVE PARALLEL) AS OF SCN 10311831493648" with error "37162: ORA-37162: OLAP errorORA-01403: no data foundXOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_AGGREGATE_CONSISTENT"ORA-06512: at "SYS.DBMS_CUBE", line 234ORA-06512: at "SYS.DBMS_CUBE", line 316ORA-06512: at line 1".]]>></ERROR>
9921 COMPLETED DETACH AW BUILD
9921 STARTED DETACH AW BUILD
9921 COMPLETED ROLLBACK BUILD
9921 STARTED ROLLBACK BUILD
9921 COMPLETED REATTACH AW RW WAIT BUILD
9921 STARTED REATTACH AW RW WAIT BUILD
9921 FAILED SLAVE RESV_PACE_BI CUBE <ERROR> <![CDATA[37162: ORA-37162: OLAP errorORA-01403: no data foundXOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_AGGREGATE_CONSISTENT"ORA-06512: at "SYS.DBMS_CUBE", line 234ORA-06512: at "SYS.DBMS_CUBE", line 316ORA-06512: at line 1]]>></ERROR>
9921 COMPLETED DETACH AW RESV_PACE_BI CUBE
9921 FAILED BUILD BUILD <ERROR> <![CDATA[ORA-01403: no data foundXOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_AGGREGATE_CONSISTENT"]]>></ERROR>
9921 STARTED DETACH AW RESV_PACE_BI CUBE
9921 FAILED SOLVE PARALLEL RESV_PACE_BI CUBE <SolveStatistics IS_EMPTY="no" CHANGED_VALUES="yes" CHANGED_RELATIONS="no"/><ERROR> <![CDATA[ORA-01403: no data foundXOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_AGGREGATE_CONSISTENT"]]>></ERROR>
9921 STARTED SOLVE PARALLEL RESV_PACE_BI CUBE
9921 COMPLETED LOAD RESV_PACE_BI CUBE <CubeLoad LOADED="4114188" REJECTED="0"/>Please enter a service request with regard to this issue with Oracle Support.
thanks,
Ken -
Where I can find examples with OLAP DML to update the cube cells?
Hi,
Where I can find examples with OLAP DML to update/calculate the cube measure/cells?
I would like to insert data into the cube by OLAP DML.
Regards,
TomBNot sure about examples but this is how you should proceed
1. Limit all your dimension to the leaf level values.
lmt financialperiod to '200901'
lmt geography to 'XYZ'
lmt product to 'LAPTOP'
2. Limit your measure variable to one measure(this is applicable if you have more than one stored measure in the cube).
for 10g
lmt <cube name>prtmeasdim to '<MEASURE NAME>'
for 11g
lmt <cube name>measuredim to '<MEASURE NAME>'
3. Write into the variable.
for 10g
<cube name>prttopvar = 100 -- this variable is created for a compressed & partitioned cube. for uncompressed cube the variable name is <cube name>_stored.
Thanks
Brijesh -
Hello!
Just upgraded from 10.2.0.4 64 bit Windows to 11.2.0.2 64 bit OEL it test environment. DB Compatibility = 11.2.
SQL> select comp_name,version,status from DBA_REGISTRY where comp_name like '%OLAP%';
COMP_NAME
VERSION STATUS
OLAP Analytic Workspace
11.2.0.2.0 VALID
Oracle OLAP API
11.2.0.2.0 VALID
OLAP Catalog
11.2.0.2.0 VALID
Problem 1: We had 2 AWs in PROD on 10.2.0.4.We can not open any of them in 10g mode.
Problem 2: When we are trying to create AW in 11G mode we receive this error: XOQ-00703: error executing OLAP DML command "(SYS.AWXML!R11_INITIALIZE_AW
We have tried to rerun xumuts.plb under sys.
Log contains following errors:
=============================================
BEGIN dbms_aw_build.build('EXPRESS', FALSE); END;
ERROR at line 1:
ORA-00600: internal error code, arguments: [xspg: RSALPAGE01], [8128], [], [],
ORA-06512: at "SYS.DBMS_AW_BUILD", line 107
ORA-06512: at line 1
BEGIN dbms_aw_build.build('AWMD', TRUE); END;
ERROR at line 1:
ORA-34738: A severe problem has been detected. Analytic workspace operations
have been disabled.
ORA-06512: at "SYS.DBMS_AW_BUILD", line 107
ORA-06512: at line 1
==========================================
and so on for each system AW
should we raise a SR or somebody has any idea?
Big thx in advance!
Regards,
Kirill
Edited by: Kirill on Jun 16, 2011 1:34 PMI think you should raise an SR on this issue.
-
Error while maintaing olap 11g cube
Hi,
Iam getting the below error while trying to maintain the cube
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
INI: Error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
INI: XOQ-01724: Can not specify a USING clause with a rewrite MV cube, Generic at TxsOqBuildProcessor::initializeForDimension
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$1.construct(Unknown Source)
at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
ALso when I try to drop the cube/dimension , I get the following error
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
DPR: Unable to create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
INI: XOQ-00703: Error executing OLAP DML command "(AW ATTACH CBU_UNIFIED.RECHARGES RW : ORA-34738: A severe problem has been detected. Analytic workspace operations have been disabled.
)", Generic at TxsOqAWManager::executeCommandThe two errors are, I suspect, unrelated.
The XOQ-01724 error happens if you attempt to execute dbms_cube with a script that contains a USING clause. This is allowed for most cubes, but not for cubes associated with a materialized view. If this is what you tried to do, then the error is expected and the solution is to not specify a USING clause or to drop the MV.
The second error is much more serious since it means your AW is probably corrupted. Did this happen after a failed parallel build? What version are you using. -
Error ORA-12154 trying to connect with instant client 11g / LDAP on Ubuntu
Hello,
I have successfully installed instant client 11.2.0.2 and sqlplus on my Ubuntu 11.04 workstation. I am able to successfully connect to DB's defined in tnsnames.ora, but when the resolution is (or should be) by LDAP, I get error
ORA-12154: TNS:could not resolve the connect identifier specified
Note: while it's fine for testing, it's not a viable option to setup all the DB's defined in the OID in tnsnames.ora - I need to use LDAP.
My setup is as follows:
Install folder: /opt/oracle/instantclient_11_2
TNS_ADMIN=/opt/oracle/instantclient_11_2/
sqlnet.ora
NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
I am certain that tnsnames.ora and ldap.ora are valid, as I can connect successfully on another machine with the full client installed using the same files.
I tried to setup tracing in sqlnet.ora as follows
TRACE_LEVEL_CLIENT = SUPPORT
TRACE_DIRECTORY_CLIENT = /tmp
TRACE_FILE_CLIENT = sqlnet.trc
but not trace file gets generated in /tmp - am I doing something wrong ? (Note, I also tried to set DIAG_ADR_ENABLED=OFF as suggested by Laurenz Albe in Instant client don't work trace but that did not help)
I checked DocID=359206.1 but I don't think that applies as I'm on 11g.
Hope someone can help. Thanks in advance !rgoold, you are a star ! I should have thought about line endings of course. Many thanks for your suggestion, that fixed the problem.
# file *.ora
ldap.ora: ASCII text, with CRLF line terminators
sqlnet.ora: ASCII text, with CRLF line terminators
# dos2unix *.ora
dos2unix: converting file ldap.ora to UNIX format ...
dos2unix: converting file sqlnet.ora to UNIX format ...
# ./sqlplus -L user@database
SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 15:26:16 2011
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
WOHOOOOO !!! :-) -
Error ORA-24247 after migrating from 10g to 11g
Hi all,
After a migration from a 10.2.0.3 (32bits) database to a 11.2.0.3 (64bits) database, we are facing a problem related to the UTL_SMTP package. I vale already created a ACL, as you can see below:
-- create acl
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (acl => 'user_processos.xml',
description => 'abc',
principal => 'PROCES',
is_grant => TRUE,
privilege => 'connect');
END;
-- assign acl
BEGIN
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (acl => 'user_processos.xml'
host => 'rac-abc',
lower_port => 1521,
upper_port => NULL);
END;The problem is: After we try to execute a procedure that calls UTL_SMTP, with user PROCES the error ORA-24247 is raised. I did some research and they all point to the it is necessary to create an ACL to solve this probles, but the ACL already exists, as you can see above.Hi,
I had the same issue, well multiple issues, with this at first. You should find the solution in one of these links. Make sure you have done each step in the lists and it will work.
[url http://www.ora00600.com/scripts/databaseconfig/ORA-29278.html]ORA-29278 SMTP
[url http://www.ora00600.com/scripts/11g/UTL_SMTP_ORA-06512.html]ORA-06512: at SYS.UTL_SMTP
There are various parameters and configuration steps you need to make sure you have performed for it to work.
Hopefully that helps,
Rob
Edited by: Rob_J on Feb 15, 2013 11:53 AM
*link was not working -
ORA-02291 - ORA-02063 on merge with dml error logging through DB link
Hello all,
I have 2 DB's and I would like to merge records from A into B with dml error logging through a db link.
Exemple:
merge into B@dblink
using (select ... from A where...)
when matched then
when not matched then
log errors into err$_A reject limit unlimited;
When I use this, and exception is thrown:
ORA-02291: integrity constraint (B.constraint_name) violated - parent key not found
ORA-02063: preceding line from dblink
I've got no idea of what causes this.
Could anyone please help me ?
Thanks !
Regards,
TDE.Hello damorgan,
Thanks for your answer.
I've well understood that its was a foreign key violation, and I guess that's an error in the source: wee make only logical deletes, and I'm quite sure the problem is there.
Anyway, I really would understand why dml error logging doesn't work in this case.
I'll investigate and keep you informed.
Regards. -
Error ORA-28528 connecting to a MSSQL 2000 DB using 11g
Hello all,
we have managed to build a database link from 11g (verison 11.1.0.6.0 plus bugfix 7389110 and "linux.x64_11gR1_gateways) to to a MSSQL 2000 database (Characterset is ISO 8859 Latin1 they told me).
When we try to select columns we get sometimes the error ORA-28528. If the error occurs or not seems to depend on the type of data and if we select one cell (column) or more. I try to explain this. Please forgive me because of my English.
*Configuration*
We use freetds and uinixodb (unixODBC-2.2.11) to connect t to the MSSQL-DB. All software is installed on Centos 5.1 (Linux 64bit).
_TDS: /etc/freetds.conf_
# SQL-Server
[combandb]
host = 212.xxx.xxx.5
# port = 1521
port = 1433
tds version = 8.0
client charset = ISO-8859-1
_ODBC: /etc/odbcinst:_
FreeTDS]
Description = v0.64-1
Driver = /usr/lib64/libtdsodbc.so.0
Setup = /usr/lib64/libtdsodbc.so.0
FileUsage = 1
Trace = Yes
TraceFile = /tmp/sql.log
_ODBC: /etc/odbcini:_
[ODBC Data Sources]
combandb = SQL-Connect
[combandb]
Driver = FreeTDS
Description = DB-Link (MSSQL)
Trace = Yes
Database = netzdb
TraceFile = /tmp/sql.log
Servername = combandb
Port = 1433
We checked the TDS, ODBC config with isql and it works.
_ORACLE Gateway: ORACLE_HOME/hs/admin/initcombandb.ora_
HS init parameters
HS_FDS_CONNECT_INFO=combandb
HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
HS_FDS_TRACE_LEVEL=16
HS_FDS_TRACE_FILE=/tmp/dg4odbc.trc
HS_FDS_SUPPORT_STATISTICS=FALSE
# without HS_FDS_SUPPORT_STATISTICS=FALSE we get the erro "Invalid cursor state" from freetds
HS_LANGUAGE=GERMAN_GERMANY.WE8ISO8859P1
#HS_LANGUAGE=AMERICAN_AMERICA.AL32UTF8
#HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
#HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
#HS_LANGUAGE=GERMAN_GERMANY.WE8MSWIN1252
#HS_NLS_NCHAR=utf8
#HS_NLS_NCHAR=WE8ISO8859P1
HS_OPEN_CURSORS=1
#HS_RPC_FETCH_REBLOCKING=OFF
#HS_DESCRIBE_CACHE_HWM=4000
#HS_FDS_REPORT_REAL_AS_DOUBLE=TRUE
#DRDA_CACHE_TABLE_DESC=FALSE
# ODBC specific environment variables
#set ODBCINI=<full path name of the odbc initilization file>
set ODBCINI=/etc/odbc.ini
_LISTENER: ORACLE_HOME/network/admin/listener.ora_
# listener.ora Network Configuration File: /opt/app/oracle/product/11.1.0/slm_hot2/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1) (PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.xxx.xxx.xx) (PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = 84.xxx.1xxx.xxx)(PORT = 1521))
# MSSQL Server 2000
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=combandb)
(ORACLE_HOME=/opt/app/oracle/product/11.1.0/slm_hot2)
(PROGRAM=dg4odbc)
(ENVS=LD_LIBRARY_PATH=/usr/lib64:/opt/app/oracle/product/11.1.0/slm_hot2/lib)
_TNSNAMES: ORACLE_HOME/network/admin//tnsnames.ora_
# tnsnames.ora Network Configuration File: /opt/app/oracle/product/11.1.0/slm_hot2/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
combandb =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA = (SID=combandb))
(HS = OK)
_DB-Link_
SQL> create public database link combandb connect to "user" identified by "PW" using 'combandb';
Database link created.
_NLS-Settings_
$NLS_LANG--> GERMAN_GERMANY.WE8ISO8859P1
SQL> select userenv ('language') from dual; --> GERMAN_GERMANY.WE8ISO8859P1
SQL> SELECT * from NLS_SESSION_PARAMETERS;
NLS_LANGUAGE: GERMAN
NLS_TERRITORY:GERMANY
NLS_CURRENCY: ¿
NLS_ISO_CURRENCY: GERMANY
NLS_NUMERIC_CHARACTERS ,.
NLS_CALENDAR : GREGORIAN
NLS_DATE_FORMAT: DD.MM.RR
NLS_DATE_LANGUAGE: GERMAN
NLS_SORT: GERMAN
NLS_TIME_FORMAT: HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT: DD.MM.RR HH24:MI:SSXFF
NLS_TIME_TZ_FORMAT: HH24:MI:SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT: DD.MM.RR HH24:MI:SSXFF TZR
NLS_DUAL_CURRENCY: ¿
NLS_COMP: BINARY
NLS_LENGTH_SEMANTICS : BYTE
NLS_NCHAR_CONV_EXCP : FALSE
*Error-Description*
We want to read from the table X_LT. The datatypes are (form HS-log)
DTY -- NULL-OK -- LEN -- MAXBUFLEN -- PR/SC -- CST -- IND -- MOD -- NAME
4 INTEGER -- N-- 4-- 4 -- 0/ 0 -- 0 -- 0 -- 0 -- ID
12 VARCHAR-- Y-- 15 -- 15-- 0/ 0 -- 0 -- 0 -- 0 -- State
8 DOUBLE - Y -- 8-- 8-- 53/ 0 -- 0 -- 0 -- 0-- costs
91-- DATE-- Y-- 16-- 16 -- 0/ 0 -- 0 -- 0 -- 0 target_date
Tests with isql (unix-based) worked all well. There are no conversion problems or problems with NULL-values.
Now we test with sqplplus:
_1. Test with integer-only_
SQL> select ID from x_lt@combandb where id = 12315; --> 12315 --> OK
SQL> select ID from x_lt@combandb where id = 12315 or id = 12316;
ERROR:
ORA-28528: Fehler bei Konvertierung von Heterogeneous Services-Datentyp
ORA-02063: vorherige line von COMBANDB
_2. Test with varchar only_
SQL> select "State" from x_ltg_pecos@combandb where id = 12315 --> Kldger
SQL> select "State" from x_ltg_pecos@combandb --> result is a list (2490 columns)
The lists ends the ORA-Errors (above). The valus in the lists are not all correct. Some names are cut others do have additional letters ... strange . For example in stead of "Frankfurt" is see "Frankf" or in another row the value should be "Frankfurt" but I see "Frankfurt I"
_Test with double and dates are OK_
I got a sql.log, a listerner log and a hs-trace but no idea how to proceed.
Please, can anybody help me?
Thanks MichaelPlease check file permissions on $ORACLE_HOME/bin/oracle executable and read carefully Configure Oracle binary permissions.
-
Sql*loader 11g - Error ORA-12899
Hi All,
I'm using Sqlload for inserti into a 11g db some csv file from db2.
My server is a Linux o.s. with Oracle 11.2.0.1.0 - 64bit.
I receive this error ORA-12899: Value too large for column on all file I try to load.
NLS for my db is:
SQL> select parameter, value from nls_database_parameters where parameter like '%CHARACTERSET%';
PARAMETER VALUE
NLS_CHARACTERSET AL32UTF8
NLS_NCHAR_CHARACTERSET UTF8
Have you any idea?
Thanks very much for help
Regards
GiovanniIn internet I found this short message:
“AL32UTF8 is a multi-byte characterset,that means some characters are stored in more than 1 character, that's true for these special characters.
If you have same table definitions in both databases you likely face error ORA-12899.
This metalink note discusses this problem, it's also applicable to sqlloader:
Import reports "ORA-12899: Value too large for column" when using BYTE semantic
Doc ID: Note:563893.1”
By metalink, I can see the Note linked to a one Oracle Internal Bug for Oracle 11g.....
I'm waiting you suggestion... thanks very much in advance.
Regards.
Giovanni
Maybe you are looking for
-
Changing preview panel transparency background in Adobe Bridge CC
Can the background color showing transparency in the Adobe Bridge CC preview panel be changed from the default black to white?
-
My podcasts are showing up for download in podcast app but not iTunes store. Help!
I've successfully added my podcast to iTunes but it can only be accessed/downloaded using the iOS app. Can someone help me figure out what I can do to fix this? The name of my podcast is 2 podcast 2 furious.
-
Approval procedure required for Delivery note based on condtions
Dear All, I have the followings situation in which the business flow is as such that Sales Quotation is made and based on the Sales Quotation AR Down Payment request is made. Once the downpayment is recieved from the customer entries are made in Inco
-
How do I update to latest version of Premiere Pro and After Affects from current version 6?
Cyrrently running version 6 of Premiere Pro and After Affects. How do I go about upgrading?
-
Workflow - Inbound IDocs - ORDERS
Is there a way to control who will be receiving a work item based on the sales organization in IDoc type ORDERS? We have some Customers extended to multiple sales organizations. We would have 1 CSR per sales organization. However, in WE20, the post p