ORA-13268: error obtaining dimension from USER_SDO_GEOM_METADATA
I am receiving an error message if i send the query (Oracle Spatial) from my .NET application using ODP.NET. I am using OR operator and SDO_WITHIN_DISTANCE. Please find the query below. The query work perfectly when I run the query in SQL developer
SELECT * from TABLE1
WHERE SDO_WITHIN_DISTANCE( GEODATA.SHAPE, (SDO_CS.TRANSFORM(sdo_util.from_gml311geometry('<gml:Point srsName="SDO:4326" xmlns:gml="http://www.opengis.net/gml">
<gml:pos xmlns:gml="http://www.opengis.net/gml">14 50</gml:pos>
</gml:Point>'),4326)), 'distance=9999.98906889') <> 'True'
OR (COLUMN1 IN
(SELECT * from TABLE 2
WHERE SDO_WITHIN_DISTANCE( GEODATA.SHAPE, (SDO_CS.TRANSFORM(sdo_util.from_gml311geometry('<gml:LinearRing xmlns:gml="http://www.opengis.net/gml" srsName="SDO:4326">
<gml:pos xmlns:gml="http://www.opengis.net/gml">14 50</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">1 1</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">20 20</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">80 80</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">14 50</gml:pos>
</gml:LinearRing>'),4326)), 'distance=9999.98906889') <> 'True'
I have a table GEODATA with SRID as 4326 and I have created the index also.
If I replace "</gml:Point>'),4326)), 'distance=9999.98906889') <> 'True'" with "</gml:Point>'),4326)), 'distance=9999.98906889') = 'True'" everything works fine.
Its very urgent. Any help would be greatly appreciated.
SELECT * from TABLE1
WHERE SDO_WITHIN_DISTANCE( GEODATA.SHAPE, (SDO_CS.TRANSFORM(sdo_util.from_gml311geometry('<gml:Point srsName="SDO:4326" xmlns:gml="http://www.opengis.net/gml">
<gml:pos xmlns:gml="http://www.opengis.net/gml">14 50</gml:pos>
</gml:Point>'),4326)), 'distance=9999.98906889') <> 'True' //values not equal to true
OR (COLUMN1 IN
(SELECT * from TABLE 2
WHERE SDO_WITHIN_DISTANCE( GEODATA.SHAPE, (SDO_CS.TRANSFORM(sdo_util.from_gml311geometry('<gml:LinearRing xmlns:gml="http://www.opengis.net/gml" srsName="SDO:4326">
<gml:pos xmlns:gml="http://www.opengis.net/gml">14 50</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">1 1</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">20 20</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">80 80</gml:pos>
<gml:pos xmlns:gml="http://www.opengis.net/gml">14 50</gml:pos>
</gml:LinearRing>'),4326)), 'distance=9999.98906889') <> 'True' // values not equal to true
))))
Similar Messages
-
Buffer to small ORA-22835 error after migration from 9i to 10g
Hello Oracle-Experts,
I had to calculate hash-values for a corresponding clob-field which worked with oracle 9i (9.0.2.1)
After migration to oracle 10g (10.2.0.1.0) I get an ORA-22835 error (Buffer too small for CLOB to CHAR conversion.
Here is the output for the 10g version:
SQL*Plus: Release 10.2.0.1.0 - Production on Mi Jun 13 16:19:28 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Verbunden mit:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> CREATE TABLE test_conv (value CLOB);
Tabelle wurde erstellt. (Table created.)
SQL> DECLARE vLong LONG:= LPAD('M',4400,'M');
2 BEGIN
3 INSERT INTO test_conv(value) VALUES (vLong);
4 END;
5 /
PL/SQL-Prozedur erfolgreich abgeschlossen. (PL/SQL procedure successfully completed.)
SQL> SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv;
SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv
FEHLER in Zeile 1:
ORA-22835: Puffer zu klein für Konvertierung von CLOB zu CHAR oder BLOB zu RAW
(tatsächlich: 4400, maximal: 4000)
(Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: 4400, maximum: 4000))
This is the result with 9i
Verbunden mit:
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production
SQL> CREATE TABLE test_conv (value CLOB);
Tabelle wurde angelegt. (Table created.)
SQL> DECLARE vLong LONG:= LPAD('M',4400,'M');
2 BEGIN
3 INSERT INTO test_conv(value) VALUES (vLong);
4 END;
5 /
PL/SQL-Prozedur wurde erfolgreich abgeschlossen. (PL/SQL procedure successfully completed.)
SQL> SELECT dbms_utility.get_hash_value(value,1,power(2,30)) from test_conv;
DBMS_UTILITY.GET_HASH_VALUE(VALUE,1,POWER(2,30))
478332438
Any help is appreciated.
Best Regards
MatthiasYou have hit a bug, 3984527 - CLOB LARGER THAN 4000 INSERTED INTO VARCHAR2(4000) COLUMN IS.
You may want to check this metalink note: Note:388512.1 for further explanation and workarouds.
From the error message manual, Verbatim:
ORA-22835: Buffer too small for CLOB to CHAR or BLOB to RAW conversion (actual: string, maximum: string)
Cause: An attempt was made to convert CLOB to CHAR or BLOB to RAW, where the LOB size was bigger than the buffer limit for CHAR and RAW types. Note that widths are reported in characters if character length semantics are in effect for the column, otherwise widths are reported in bytes.
Action: Do one of the following:
1. Make the LOB smaller before performing the conversion, for example, by using SUBSTR on CLOB
2. Use DBMS_LOB.SUBSTR to convert CLOB to CHAR or BLOB to RAW.
~ Madrid. -
ORA-12514 Error when connection from OEM
I have RAC database. I can access Cluster from https://rs1pre91dvdba01.pre.ccosvc.com:5500/em
but when clicking on database tab -> Performance -> Afer giving username / password I get
Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor The Connection descriptor used by the client was: (description=(address_list=(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(address=(host=rs1pre91cl)(protocol=tcp)(port=1521))(load_balance=yes))(connect_data=(service_name=DWH1)))
[oracle@rs1pre91dvdba01 admin]$ . oraenv
ORACLE_SID = [oracle] ? DWH1
The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1 is /u01/app/oracle
[oracle@rs1pre91dvdba01 admin]$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
https://rs1pre91dvdba01.pre.ccosvc.com:5500/em/console/aboutApplication
Oracle Enterprise Manager 11g is running.
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/log
How can I access Performance tab from OEM.
thanks.[oracle@rs1pre91dvdba01 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:35
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 05-JAN-2011 12:06:28
Uptime 28 days 3 hr. 31 min. 7 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/rs1pre91dvdba01/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.201)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.30.2.203)(PORT=1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ lsnrctl service
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2011 15:37:44
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM1", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:34200 refused:0 state:ready
LOCAL SERVER
Service "DWH1" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:106 refused:0 state:ready
LOCAL SERVER
Service "DWH1XDB" has 1 instance(s).
Instance "DWH11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 6845>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=45445))
Service "MDM1" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:56105 refused:0 state:ready
LOCAL SERVER
Service "MDM1XDB" has 1 instance(s).
Instance "MDM11", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: rs1pre91dvdba01.pre.ccosvc.com, pid: 24224>
(ADDRESS=(PROTOCOL=tcp)(HOST=rs1pre91dvdba01.pre.ccosvc.com)(PORT=59486))
The command completed successfully
[oracle@rs1pre91dvdba01 admin]$ id
uid=500(oracle) gid=500(oinstall) groups=500(oinstall),501(dba)
[oracle@rs1pre91dvdba01 admin]$ env | sort
ASM_SID=+ASM1
_=/bin/env
COBBLER_SERVER=ccoshs02xvsat01.ccosvc.com
DB_HOME_BIN=/u01/app/oracle/product/11.2.0/dbhome_1/bin
DB_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
DISPLAY=localhost:10.0
DWH_SID=DWH11
G_BROKEN_FILENAMES=1
GI_HOME_BIN=/u01/app/11.2.0/grid/bin
GI_HOME=/u01/app/11.2.0/grid
GRID_HOME=/u01/app/11.2.0/grid
HISTSIZE=1000
HOME=/home/oracle/
HOSTNAME=rs1pre91dvdba01.pre.ccosvc.com
INPUTRC=/etc/inputrc
LANG=en_GB
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32:*.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
MDM_SID=MDM11
NLS_DATE_FORMAT=dd-mm-yyyy hh24:mi:ss
OLDPWD=/u01/app/oracle/product/11.2.0/dbhome_1/rs1pre91dvdba01_DWH1/sysman/config
ORACLE_BASE=/u01/app/oracle
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
ORACLE_SID=DWH1
ORACLE_UNQNAME=DWH1
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/home/oracle//bin
PWD=/u01/app/oracle/product/11.2.0/dbhome_1/network/admin
SHELL=/bin/bash
SHLVL=1
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_CLIENT=172.30.0.125 58337 22
SSH_CONNECTION=172.30.0.125 58337 172.30.2.201 22
SSH_TTY=/dev/pts/0
SVN_EDITOR=vi
TERM=xterm
TNS_ADMIN=/u01/app/11.2.0/grid/network/admin
USER=oracle -
ORA-00933 error when selecting from remote DB
Hi to all.
Consider the following:
SELECT col1, col2 FROM Table1@remoteOK.
SELECT col1, col2 FROM Table1@remote LEFT JOIN Table2@remote ON (...)OK.
INSERT INTO Local_Table (a, b)SELECT col1, col2 FROM Table1@remote
OK.
INSERT INTO Local_Table (a, b)SELECT col1, col2 FROM Table1@remote LEFT JOIN Table2@remote ON (...)
ORA-00933: SQL command not properly ended.
Is this some kind of restriction or is this a bug? Any workaround?
Any advice will be appreciated.
Best regards, beroetzYes but this is a regular operation and the INSERT is the only opportunity.
BTW, look at what else I have just found:
INSERT INTO Local_Table (a, b)SELECT col1, col2 FROM DUAL INNER JOIN Table1@remote ON (1=1) LEFT JOIN Table2@remote ON (...)
OK. -
Delete Z dimension from DIMINFO on user_sdo_geom_metadata
Hi,
How Can i delete z dimension from user_sdo_geom_metadata.
ThanksCan you just try something like:
1)
update user_sdo_geom_metadata a set a.diminfo= your_new_diminfo_without_z_dim
where table_name ='...' and column_name = '...';
2) assuming Z dimension is the last one.
declare
newdim MDSYS.SDO_DIM_ARRAY;
begin
select diminfo into newdim
from user_sdo_geom_metadata
where table_name ='...' and column_name = '...';
newdim.trim;
update user_sdo_geom_metadata a set a.diminfo= newdim
where table_name ='...' and column_name = '...';
end;
/ -
ORA-1555 ORA-3136 errors:: elapsed time vs Query Duration
Dear all,
- My Database version is 11.2.0.2, Solaris.
- We have been having a problem in the production database where the front end nodes start going up and down for couple of hours sometimes. ; When node flapping is going on we get connection timed out alerts.
WARNING: inbound connection timed out (ORA-3136) opiodr aborting
process unknown ospid (4342) as a result of ORA-609 opiodr aborting
process unknown ospid (4532) as a result of ORA-609 opiodr aborting
process unknown ospid (4534) as a result of ORA-609 opiodr aborting....
Since this week node flapping is happening every day. Since past 2 days after or during node flapping we are getting ORA-1555 error.
Extract from alert log error:
ORA-01555 caused by SQL statement below (SQL ID: g8804k5pkmtyt, Query Duration=19443 sec, SCN: 0x0001.07bd90ed):
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.parentDeviceId, d.created, d.lastModified AS devLastMod, d.customerId, d.userKey1, d.userKey2, d.userKey4, d
.userKey5, d.firmwareFamily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.userKey6, d.provisioningId, d.status, d.classification, d.population, d.name, d.ipRe
solver, d.ipExpirationTime, d.geoLocationId,contact.firstContactTime, ifaces.id, ifaces.type AS ifaceType, ifaces.lastModified AS ifaceLastMod, ifaces.timeoutname, ifac
es.username1, ifaces.password1, ifaces.username2, ifaces.password2, ifaces.connReqUrl, ifaces.connReqScheme, ifaces.srvNonce, ifaces.deviceNonce, ifaces.phoneNumber,ifa
ces.bootstrapSecMethod, ifaces.srvAuthentication, ifaces.deviceAuthentication, ifaces.userPIN, ifaces.networkID, ifaces.omaSessionID, ifaces.portNum, ifaces.mgtIp, ifac
es.cmtsIp, ifaces.mgtReadCommunity, ifaces.mgtWriteCommunity, ifaces.cmtsReadCommunity, ifaces.cmtsWriteCommunity, devto.name AS devtoName, devto.rebootTimeout, devto.sessionInitiationI run Statspack report from the whole day duration, and looking into the elapsed time in seconds no more than 3739.61 sec (too lower than run duration in the alert log file of 19443 sec); So I would like to know if there is any co-relations between the ORA-3136 errors and the ORA-1555 errors?
CPU CPU per Elapsd Old
Time (s) Executions Exec (s) %Total Time (s) Buffer Gets Hash Value
tTime <= :3 ) AND (endTime IS NULL OR endTime >= :4 )
2773.77 7,787,914 0.00 3.4 3739.61 112,671,645 1909376826
Module: JDBC Thin Client
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
SQL> show parameter UNDO_MANAGEMENT
NAME TYPE VALUE
undo_management string AUTO
SQL> show parameter UNDO_RETENTION
NAME TYPE VALUE
undo_retention integer 10800BR,
DiegoThank you. Please let me know if it is enough or you need more information;
SQL ordered by Gets DB/Inst: DB01/db01 Snaps: 14835-14846
-> End Buffer Gets Threshold: 100000 Total Buffer Gets: 677,689,568
-> Captured SQL accounts for 73.6% of Total Buffer Gets
-> SQL reported below exceeded 1.0% of Total Buffer Gets
CPU Elapsd Old
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
21,286,248 2,632,793 8.1 3.4 666.73 666.76 3610154549
Module: JDBC Thin Client
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
17,029,561 1,176,849 14.5 2.7 417.32 416.73 1909376826
Module: JDBC Thin Client
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
17,006,795 37 459,643.1 2.7 367.61 368.95 4045552861
Module: JDBC Thin Client
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.userAnother Statspack report for the whole day shows;
SQL ordered by CPU DB/Inst: DB01/db01 Snaps: 14822-14847
-> Total DB CPU (s): 82,134
-> Captured SQL accounts for 40.9% of Total DB CPU
-> SQL reported below exceeded 1.0% of Total DB CPU
CPU CPU per Elapsd Old
Time (s) Executions Exec (s) %Total Time (s) Buffer Gets Hash Value
tTime <= :3 ) AND (endTime IS NULL OR endTime >= :4 )
2773.77 7,787,914 0.00 3.4 3739.61 112,671,645 1909376826
Module: JDBC Thin Client
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
SQL ordered by Gets DB/Inst: DB01/db01 Snaps: 14822-14847
-> End Buffer Gets Threshold: 100000 Total Buffer Gets: 1,416,456,340
-> Captured SQL accounts for 55.8% of Total Buffer Gets
-> SQL reported below exceeded 1.0% of Total Buffer Gets
CPU Elapsd Old
Buffer Gets Executions Gets per Exec %Total Time (s) Time (s) Hash Value
86,354,963 7,834,326 11.0 6.3 2557.34 2604.08 906944860
Module: JDBC Thin Client
SELECT d.devId, d.vendor, d.model, d.productClass, d.oui, d.pare
ntDeviceId, d.created, d.lastModified AS devLastMod, d.customerI
d, d.userKey1, d.userKey2, d.userKey4, d.userKey5, d.firmwareFam
ily, d.softwareVer, d.serialNum, d.ip, d.mac, d.userKey3, d.user
.....BR,
Diego
Edited by: 899660 on 27-ene-2012 7:43
Edited by: 899660 on 27-ene-2012 7:45 -
ORA-00600 ORA-03113 error ?
In EM a have this Alert:
~Errors in file d:\...\ora_111111.trc: ~ORA-00600: internal error code, arguments: [psi.c: psitrp3: leak], [], [], [], [], [], [], [] ~ORA-03113: end-of-file on communication channel~
What is the problem???Hi !
Try this man
ORA-600
ORA-600 errors are raised from the kernel code of the Oracle Database software when an
internal inconsistency is detected or an unexpected condition is met. This situation is not
necessarily a bug, it might be caused by problems with the operating system, lack of resources,
hardware failures, or other conditions.
With the ORA-600 error comes a list of arguments in square brackets. The first of these
arguments tells us from where in the code the error was caught and thus is the key information in
identifying the problem. This argument is either a number or a character string. The remaining
arguments are used to supply further information such as values of internal variables.
When an ORA-600 error is raised a trace file is generated in either USER_DUMP_DEST or
BACKGROUND_DUMP_DEST depending on whether the error was caught in a user or a
background process. The error is also written in the alert log with the name of the trace file. The
trace file contains vital information about what led to the error condition.
Hope this might help.
Thanks. -
ORA-12571 error while creating packages from Windows clients
Hello,
We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
However, there are
1. no errors in connecting and creating transactions from a Sql session
2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
Can somebody help me resolve this issue. Any Help would be greatly appreciated.
Regards.
Lakshmanan, KUpdate: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
Ben -
What causes "ORA-01445: cannot select ROWID from" error
While executing a SELECT query i got this error:
ORA-01445: cannot select ROWID from, or sample, a join view without a
key-preserved table
Below mentioned is the join condition part of the query. The line which the error has occured is italicized
from checkout_hdtl ch
inner join pmt_htl ph on ph.post_ln_a = ch.post_ln_code
inner join pin_dls pd on pd.post_ln_a = ph.post_ln_code
inner join carton_dtl cd on cd.carton_nbr = ch.carton_nbr
and cd.lseq_nbr = pd.lseq_nbr
inner join invoice_module im on cd.invevt_code = im.inv_code
inner join item_dock_master del on nm.invent_code = iwm.inv_code
left outer join inv_curr_comm_code mnb on ium.invent_code = im.inv_code
and icc.cntry = ph.shipto_cntry
left outer join vw_ver_master vw on vw.del_rec = ch.del_rec
left outer join cmd code_entry on code_pi.cntry =
cd.code_entry where ch.shpmt_nbr = '3'
What do i do?I would rather use Notepad than store my data in SQL server. It just so happens that our product is released for SQL Server as well. Hence i did the testing.
>Is there a limit to the number of joins that can be performed in Oracle?
Wrong question as it does not have anything to do with the number of views.. it has everything to do with the ability to correctly identify the unique row. Re-read the error message details posted by Blu - it explains the error.As you can see from my post, i created a table using the(CTAS) SELECT query from the View vw_ver_master's definition. So the view's result set is now stored in a table and now there are only tables involved in these JOINS.
The query will succeed if i comment out ANY one of these JOINS in this statement. This is so weird.
I -
Ora -20001 error coming while updating from a tabular form
Hi
I have a tabular form , which updates a table in the database.
Whenever I update the record first time I getting an error as
Error in MRU internal routine ORA-20001.Error in MRU:row=1,
ORA-1403 no_data_found, update abc.sale_forcast_temp set "PK_ID"=:b1,"W27"=:b2
Error unable to update process
But when I press Ok return to the form and then again try to update , records gets successfully updated
Regards
ShashiKamal,
This will be the pseudocode.
Procedure A()
select * from EMP bulk collect into records_array; --Of type RECORD_ARRAY
batch_count = (records_array.length) / batch_size;
--batch_size is say 5000 rows and batch_count is the number of batches
for i in 1..(batch_count+1)
B( records_array);
C();
commit;
Procedure B(records_array in RECORD_ARRAY )
INSERT /*+PARALLEL(EMP_DUMMY, 2) */
INTO TABLE EMP_DUMMY
SELECT * from TABLE(CAST(records_array as RECORD_ARRAY) ;
Procedure C()
Other operations which include reads on the EMP_DUMMY table;
This is the top view of how it looks like. Actually the Select statement for the insert statement is very complex and I do a join on the records that are being passed in by casting it into a table. This query is taking about 40 minutes for 10,000 rows in the records_array. I need to parellelise this query because each row of the records_array yields a different row for the EMP_DUMMY table.
I hope that I made it clear for you.
Can you also tell me if procedure C in which I shall be doing a read on the EMP_DUMMY table, has any affect of the parallel insert
Thanks for your help. -
ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http
I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
when browsed through some of the messages they point to setting Oracle Wallet Manager.
I am trying to connect
Any idea on how to resolve this issue ?
your input is appreciated.
Thanks
RaviDuplicate post ... please ignore.
-
ORA-27092 Error while executing any query from client
Hello
I am getting following error while executing any query from client remotly.
IAMDBA@TEST_OAT.ABCD > select userid from dual;
select userid from dual
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01116: error in opening database file 1
ORA-01110: data file 1: '/u01/prod/system/system01.dbf'
ORA-27092: size of file exceeds file size limit of the process
Additional information: 131071
Additional information: 286209
But while local connection,its working.hi,
ulimit command- Limit user resources
su - oracle
ulimit -n (this command will show you the current value for ulimit the default value is 1024)
to increase its value:---
ulimit -n <some value> ( this command will change value for current session only)
example
ulimit -n 101062
once done check the value as:--
ulimit -n( for verification)
search in google for more explanation or revert back to me for any suggestions.... :)
Edited by: varun4dba on Jan 31, 2011 4:09 PM -
Error ORA-02019: while selecting table from oracle10g to SQL Server 2005
Hi all,
our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
2)copy the existing entry and paste it in listener.ora file and edit it as below
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_ =
(SID_LIST=
(SID_DESC=
(SID_NAME= mysqlserver)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM=hsodbc)
$lsnrctl status LISTENERMYSQLSERVERDSN
It is working fine
3) configure TNAMES.ora
mysqlserver =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.100.50.5)
(PORT = 1521)
(CONNECT_DATA =
(SID = mysqlserver)
(HS = OK)
c:>tnsping mysqlserver
it is workin fine
4)copy inithsodbc.ora and make it initmysqlserver.ora
HS_FDS_CONNECT_INFO = mysqlserver
HS_FDS_TRACE_LEVEL = off
4)create the database link
sql>create database link mysqlserver
connect to "sa" identified by "nsp@123" using 'mysqlserver';
when i selecting SQL Server object from oracle i got below error
SQL> select * from NSP_products@mysqlserver;
select * from NSP_products@mysqlserver
ERROR at line 1:
ORA-02019: connection description for remote database not found
pLease help me its very urgent.
BEST REGARDHi all,
our oracle 10g database is on AIX 5.2 and i configures heterogeneous service and install oracle 10g cleint on windows 2003 server where SQL Server reside . i configured the following things but i got the error ORA-02019. please help me its very urgent. quick response will higly appreciated. thanks alot in advance.
1)create Sytem DSN (mysqlserver) by selectin SQL Native cleint
2)copy the existing entry and paste it in listener.ora file and edit it as below
LISTENERMYSQLSERVERDSN =
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST= hostname of oracle database)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
SID_LIST_ =
(SID_LIST=
(SID_DESC=
(SID_NAME= mysqlserver)
(ORACLE_HOME = /u01/app/oracle/product/101)
(PROGRAM=hsodbc)
$lsnrctl status LISTENERMYSQLSERVERDSN
It is working fine
3) configure TNAMES.ora
mysqlserver =
(DESCRIPTION =
(ADDRESS =
(PROTOCOL = TCP)
(HOST = 100.100.50.5)
(PORT = 1521)
(CONNECT_DATA =
(SID = mysqlserver)
(HS = OK)
c:>tnsping mysqlserver
it is workin fine
4)copy inithsodbc.ora and make it initmysqlserver.ora
HS_FDS_CONNECT_INFO = mysqlserver
HS_FDS_TRACE_LEVEL = off
4)create the database link
sql>create database link mysqlserver
connect to "sa" identified by "nsp@123" using 'mysqlserver';
when i selecting SQL Server object from oracle i got below error
SQL> select * from NSP_products@mysqlserver;
select * from NSP_products@mysqlserver
ERROR at line 1:
ORA-02019: connection description for remote database not found
pLease help me its very urgent.
BEST REGARD -
Excluding ORA-00060 errors from Generic Alert Log Error in OEM
Hi,
I want to remove the alerts for ORA-00060 errors from OEM Alerts. In "Generic Alert Log Error" the current expression for Warning is ORA-0*(600?|7445|4[0-9][0-9][0-9])[^0-9]. How should I change this expression so that it will not send alerts for ORA-00060. I am not much aware of perl :-). Please help me with the expression.
Target Type=dbname
Host=host
Metric=Generic Alert Log Error
Metric Value=ORA-00060: Deadlock detected. More info in
Time/Line Number=Mon Nov 2 10:02:54 2009/134883
Timestamp=Nov 2, 2009 10:17:14 AM EST
Severity=Warning
Message=ORA-error stack (00060) logged in /eb_rdo0_p/oraadmin/pnoltp/bdump/alert_.log.
Notification Rule Name=Database Alert
Notification Rule Owner=SYSMAN
Notification Count=1
Thanks,
Varmathis is default monitored objects.
To stop monitoring for this object, clear the Critical and Warning threshold values and click Continue. -
ORA-20001: Error in MRU: on move from Dev to Prod
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "2BCE6F4EB6F357144C392489EB0A193F", item checksum = "13CE2299AFA3A80DF1E31BB71F7CB0B1"., update ...
I recieved the above error when installing my application in my production database. The probem does not occur in development. I get the error on almost all my multi-record-update blocks. If I recreate the region in the production database it works fine. I've got way too many regions to recreate everyone.
Any ideas?"9657",
Please explain "I recieved the above error when installing my application in my production database." During what installation step do you see this? Or do you mean that it happens when you run your applications after you installed them? Or are you seeing this message when you run our internal applications? How consistently do you see this error?
What steps did you take to move workspaces and applications from development to production? Can you import/install a test application on htmldb.oracle.com to try to reproduce a test case there?
Perhaps your production version of HTML DB and the RDBMS are downlevel or unsupported.
Scott
Maybe you are looking for
-
Cannot open Aperature after upgrading to Snow Leopard
I upgraded my macbook pro to snow leopard. Now I cannot open my Aperature (2.1.4). Anyone else have this problem? I keep getting an error box telling me that Aperature has shut down unexpectantly. I try to restart it and all I get is the same err
-
Export results to different file type
I am very curious, if you can successfully export to csv format when choosing for query result in sql dev 2.1. 1. Worksheet 2. Enter a Query 3. Press the first green arrow to perform the query 4. Navigate to the results with the mouse and right click
-
How to avoid printing an additional blank page at the end of the report
I have a report which has 3 panels in the main section of the report, about 3 pages in size. 1st & 2nd panels are enclosed in a repeating frame, and 3rd panel in a different repeating frame. The vertical panels per page in the property inspector of t
-
Total amount to be printed on the first page....
Hi all,.. I have to print the total of all the line items on the first page o fthe cheque. The problem is when the line items exceed the main window of the first page , the total sum and the number in words in this case comes on the next page. What d
-
Dynamic Changes in Table control
Hi is that possible to change the table control dynamically