Using complete oracle 10g features....
I do have the documentation but acccording to my personal experince this forum with gurus aroun here is better
i wud like to noe how to make the best use of forms 10g like
making good graphically appealing form,increased funcationality how to incude flash objects,
n whats the use of using import java classes, import OLE interface and how to select the specific class or the package according to the requirements...i.e how to use and when to use them..!!!
will it be easy to create webbased applications using Jdeveloper or will it b better to use forms....???
my 5 cent:
making good graphically appealing form,what does that mean?
increased funcationality how to incude flash objectsthere is a java-bean that can be used as a "Web-Browser inside forms" that supports Flahs animations ( http://forms.pjc.bean.over-blog.com/article-5029633.html )
n whats the use of using import java classes, Java-classes can be imported to enhance the functionality with logic written in java. The java-coe gets executed on the application-server. An example might be the logic to call a webservice.
import OLE interface OLE is a windows-technique to somehow "remote-control" windows-applications or functionality provided in Active-X-dlls. OLE-calls work on the client (and in 10G require WEBUTIL)
and how to select the specific class or the package according to the requirements...i.e how to use and when to use them..be more specific
will it be easy to create webbased applications using Jdeveloper "42", or in other words, "it depends".
It will be easy if you are capable of the nechnologies you need. JDeveloper is not a technology but a tool for java-development which supports the development of web-applications. But, there are a lot of web-technologies based on java which you can use. For more details you might read some stuff about JEE
or will it b better to use forms....???Also, it depends. There are certain areas where Forms will be better (or easier, or more productive) to use. As forms requires a somehow "fat" client with the installation of the Java-Runtime and certain permissions for the applet to work properly, it may not be the first choice if you implement some public web-application. For "inhouse"-applications run on a companies intranet which deal with "alphanumerical data", forms may be the better choice because of a more Windows-like behaviour and/or its great productivity. (Both are just examples, you'll have to decide which technology to use based on certain reuqirements for a certain application)
Similar Messages
-
SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.
Hi,
When I tried to login I am able to login but getting the following message:SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.
After loging, when I tried to "SELECT SYSDATE FROM DUAL;" I am getting the following error.
ORA-00942: table or view does not exist
Can somebody please help me ?this error may be related to glogin.sql files content, what are the outputs for these -
SQL> describe dual ;
Name Null? Type
DUMMY VARCHAR2(1)
SQL> select * from dual ;
D
Xbest regards. -
Sp2-0575: Use of oracle SQL feature not in sql 92 entry level.
Hi,
While logging to sqlplus I'm getting the following message
"sp2-0575: Use of oracle SQL feature not in sql 92 entry level."
and login is successful, but I'm not able to generate next value from the sequence .
t says no rows selected when i request
for nextval a
EX: select mySeq.nextval from dual; (mySeq is sequence)
Thanx,
Ravi.What has happened is that someone has enabled the Oracle feature called as FIPS flagger.
This is a feature that Oracle provides to you if you plan to write SQL code that should be portable
to other RDBMS systems. IF you enable this flagger and use a feature which is not in the SQL standard,
Oracle will complain that use of this feature will make your application Oracle dependent, and you may not
be able to run this application against any other RDBMS.
To disable this for your SQL*Plus session do this:
SQL> set flagger off
SQL>
Once you do this it will allow you to use all SQL commands including Oracle specific extensions. -
How to use all oracle text features under ifs?
i'd like to know that is possible to use a oracle text features like a Theme Capabilities to do a classification when documents its incoming.....
You will probably need to use dynamic SQL.
See the discussion at:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
(while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C) -
Hi
Please provide some information on Oracle 10g features.
Thank youHi,
Are you looking for all features or new features??
For all features (in case you're new to Oracle), I guess you need to go through the Oracle Documentation for Oracle 10g [http://download.oracle.com/docs/cd/B19306_01/index.htm]
In case you're looking for new features, go to [http://download.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm]
Thanks,
Ankur -
How to use the Oracle 10g JDBC OCI driver in JBoss ?
Greetings,
I deployed ojdbc14.jar in JBoss and I created an Oracle datasource. I have the following questions:
1. In the datasource descriptor file I have:
<connection-url>jdbc:oracle:oci:@(description=(address=(host=localhost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=xe)))</connection-url>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
Is it enough in order to use the Oracle 10g JDBC OCI driver ?
2. After having looked-up the datasource and created a connection, the classe of these objects are org.jboss.resource.adapter.jdbc.WrapperDataSource and, respectivelly, org.jboss.resource.adapter.jdbc.WrappedConnection. How can I have access to oracle.jdbc.oci and oracle.jdbc.pool packages ?
Many thanks in advance,
NicolasHello
We were banging our heads on a similar thing, maybe this will help
We needed to convert the wrapped connection to an OracleConnection so that we could do a proxy switch, but maybe you could apply it to your situation anyway
1-you have to convert the Connection object to an OracleConnection in order to use the method that does the proxy switch
The method to do this is getInnermostDelegate()
Once you call this method, you get a new Connection object that can be cast to an OracleConnection object
See below for the snippet of code
// now switch the user and reselect
if (conn instanceof DelegatingConnection) {
properties.put("PROXY_USER_NAME","peter/peter");
oraConn =((DelegatingConnection)conn).getInnermostDelegate();
if (oraConn == null)
out.println("oraConn is null\n");
((OracleConnection)oraConn).openProxySession(OracleConnection.PROXYTYPE_USER_NAME,properties);
2-you have to put a setting in the xml file in conf/Catalina/localhost that allows you to call the getInnermostDelegate() method
By default, Tomcat does not allow you to call this method, it will always return null
You have to change the xml to allow it to return an object
It seems that WebSphere and Tomcat both frown on vendor-specific methods that do not comply with the JDBC standards, but do allow it
Here is the setting:
<parameter>
<!-- NOTE: This is necessary to enable access to the Oracle connection object -->
<name>accessToUnderlyingConnectionAllowed</name>
<value>true</value>
</parameter>
Note, this setting was also put in the conf/server.xml file
Thanks
Peter -
How to the find the Delete records/Statement used in Oracle 10g database?
Hi all,
I am Using Oracle 10g Database release 2 on Windows 2003 Server Enterprise Edition... Last week One of my user has deleted important records from my database,i need to find who did this... is there any way to find out ...Please Advice me ....One More thing i have not enabled the Auditing features in My database .....
Thank You
ShanRajesh Lathwal wrote:
Use log miner ..
Regards
RajeshEven with that, if he wants to know WHO, he will have to have previously enabled extended logging .... -
Cannot use existing oracle 10g db as collab suite database
Hi all,
I am trying to simulate colocated IM architecture installation in my test machines. I tried to use my existing Oracle db 10g R2 as my collab suite database. The OUI prompted an error after checking prerequisites:
Oracle Home you have specified is an Oracle 10g 10.2.0.0.0 or higher version and cannot be configured into an Oracle Collaboration Suite Database.
Refering to OCS documentation,
"You need Oracle Database 10g (10.1.0.4.2) for the Oracle Collaboration Suite installation to be successful. If you have an earlier version of database, for example Oracle Database 10g (10.1.0.2) or Oracle Database 10g (10.1.0.3), then you must apply the Oracle Database 10g
Release 1 (10.1.0.4.2) Patchset to this existing Database."
Install Guide 10g R1 B15793-01 Chapter 5.2.1 "You can optionally convert an existing Oracle Database 10g into an Oracle Collaboration Suite Database. The database must be version 10.1.0.5 or higher.."
Deployment Guide 10g R1 B14479-01 Chapter 4These statements indicates that oracle DB 10.1.0.5 or higher can be converted into OCS DB. But the OUI hit me with the error. Have anyone encountered this before? or any idea why? Thanksdid you find out the solution for your issue. I ran into the same problem.
-
HOW to use new Oracle 9i Features in Pro*C
Hi All,
I am an Pro*C developer. I tried using Oracle 9i Features like RIGHT OUTER JOIN, FULL OUTER JOIN, CASE ... etc inside proc program. But I am getting error while compiling it.
My sample code:
EXEC SQL DECLARE CARD_CUR CURSOR FOR
SELECT A.EMP_NBR,
FROM EMP A FULL OUTER JOIN DEPT B
ON A.DEPT_NO = B.DEPT_NO;
EXEC SQL OPEN CARD_CUR;
Pre Compilier Error:
Pro*C/C++: Release 9.2.0.5.0 - Production on Wed Dec 14 02:34:35 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /oracle/oracle/9.2.0.5//precomp/admin/pcscfg.cfg
Syntax error at line 476, column 50, file br_afs_cardxrf.pc:
Error at line 476, column 50 in file br_afs_cardxrf.pc
FROM EMP A FULL OUTER JOIN
......................................1
PCC-S-02201, Encountered the symbol "FULL" when expecting one of the following:
; , for, union, connect, group, having, intersect, minus,
order, start, where, with,
Even when I use CASE statement, i get some similar error.
Can anyone guide me on this.
Regards,
ghuYou will probably need to use dynamic SQL.
See the discussion at:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
(while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C) -
Which "Analytic Workspace Manager I have to use with Oracle 10g 10.1.0.4?
I have Oracle 10g 10.1.0.2 and I pallyied patchset OLAP to upgrade to 10.1.0.4, so which version of "Analytic Workspace Manager" I have to install?
ThanksHi,
You can find the latest patchset on Metalink. The latest version of workspace manager for your database is 10.1.0.6.0, which is patch 4870951.
Regards,
Ben -
Oracle 9i and oracle 10g features
Looking for some info/link which could help me in understanding the newer features in oracle 9i database and in 10g dbase.
Will be good to know the additional features which are in 10g release but not in 9i.Go to the documentation.
Look for the book called 'New Features'. It's big, but it's only an overview.
When you find new features of interest, go to the manual for that feature and look in the area between he table of contents and Chapter 1 - the area titled 'New Features' - for more explanation.
Surprisingly, documentation can be useful - you get a lot less sarcasm and typos in the docco <g> -
Install problems using VISTA, Oracle 10g Express edition and VS2005
Hi,
Has anybody got this to work yet?
I'm on Vista Release Candidate 1, VS2005 and 10g Express.
When I try to install the tools (ODTwithODAC10202) the install crashes VS2005.
I can see the tools on the Visual studio menus, but any attempt to use them gives me a "Oracle Developer Tools for Visual Studio failed to load" error message.
Any ideas?Have you got the VS 2005 addin to work on Vista? I installed on XP then upgraded to Vista (RTM) and the add-in no longer works. Am wondering whether to uninstall/reinstall or wait for Oracle to certify use with Vista.
-
Nested subQuery results are not being used by Oracle 10g
Hello, I'm doing the follow query that has a Nested subquery, The explain plan is showing me that Oracle is doing a INDEX FULL SCAN, but I don't understand why?
select *
from rdbmx.resources_vt r
, rdbmx.rsrc_case_qpmcsis_x_vn rad
where (rad.resource_id,rad.resource_tp) in (
select t.item_id
, t.item_tp
from rdbmx_site.att_hierarchy_level_vw t
where t.rootitem_id = r.resource_id)
and r.resource_id =3780
and r.resource_tp ='BITUMENPRODUCTION'
and rad.CASE_ID = 599
and rad.CASE_TP = 'MEASURED'
and rad.property_nm ='Liquid Volume Flow'
and rad.qualifier_nm='n/a'
ATT_HIERARCHY_LEVEL_VW is a complex view and RSRC_CASE_QPMCSIS_X_VN is a view with a UNION ALL.
The explain plan I'm getting from above query is the follow:
If you can see on RSRC_CASE_QPMCSI_X_VN vies Oracle is doing a INDEX FULL SCAN over RESOURCE table instead of INDEX RANGE SCAN but I don't undestand why because I'm providing the right values in order to use the right indexes for ORACLE 10gR2. I made a 10053 trace and look seem that oracle is not using the values from the nested query in order to get the better way to pull the information.
SELECT STATEMENT, GOAL = ALL_ROWS Id=0 Position=4917 Cost=4917 Cardinality=1 Bytes=21968
HASH JOIN Id=1 Position=1 Cost=4917 Cardinality=1 Bytes=21968
NESTED LOOPS Id=2 Position=1 Cost=560 Cardinality=1 Bytes=170
TABLE ACCESS BY INDEX ROWID Id=3 Position=1 Object name=RESOURCES Cost=2 Cardinality=1 Bytes=115
INDEX UNIQUE SCAN Id=4 Position=1 Object name=RESOURCES_PK Cost=1 Cardinality=1
SORT UNIQUE Id=5 Position=2 Cost=558 Cardinality=1 Bytes=55
VIEW Id=6 Position=1 Object name=ATT_HIERARCHY_LEVEL_VW Cost=558 Cardinality=1 Bytes=55
SORT UNIQUE Id=7 Position=1 Cost=558 Cardinality=3353 Bytes=1181117
UNION-ALL Id=8 Position=1
SORT UNIQUE Id=9 Position=1 Cost=3 Cardinality=1 Bytes=19
INDEX RANGE SCAN Id=10 Position=1 Object name=ATTACHITEM_PK Cost=2 Cardinality=1 Bytes=19
TABLE ACCESS BY INDEX ROWID Id=11 Position=2 Object name=ATTACHITEM Cost=4 Cardinality=43 Bytes=2623
INDEX RANGE SCAN Id=12 Position=1 Object name=ATTACHITEM_F3 Cost=2 Cardinality=43
NESTED LOOPS Id=13 Position=3 Cost=5 Cardinality=61 Bytes=6283
INDEX RANGE SCAN Id=14 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=15 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=16 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=17 Position=4 Cost=10 Cardinality=87 Bytes=12615
NESTED LOOPS Id=18 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=19 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=20 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=21 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=22 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=23 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=24 Position=5 Cost=17 Cardinality=124 Bytes=23188
NESTED LOOPS Id=25 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=26 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=27 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=28 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=29 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=30 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=31 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=32 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=33 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=34 Position=6 Cost=27 Cardinality=176 Bytes=40304
NESTED LOOPS Id=35 Position=1 Cost=17 Cardinality=124 Bytes=20832
NESTED LOOPS Id=36 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=37 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=38 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=39 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=40 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=41 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=42 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=43 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=44 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=45 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=46 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=47 Position=7 Cost=41 Cardinality=251 Bytes=68021
NESTED LOOPS Id=48 Position=1 Cost=27 Cardinality=176 Bytes=36960
NESTED LOOPS Id=49 Position=1 Cost=17 Cardinality=124 Bytes=20832
NESTED LOOPS Id=50 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=51 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=52 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=53 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=54 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=55 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=56 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=57 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=58 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=59 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=60 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=61 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=62 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=63 Position=8 Cost=60 Cardinality=356 Bytes=111428
NESTED LOOPS Id=64 Position=1 Cost=41 Cardinality=251 Bytes=63252
NESTED LOOPS Id=65 Position=1 Cost=27 Cardinality=176 Bytes=36960
NESTED LOOPS Id=66 Position=1 Cost=17 Cardinality=124 Bytes=20832
NESTED LOOPS Id=67 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=68 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=69 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=70 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=71 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=72 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=73 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=74 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=75 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=76 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=77 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=78 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=79 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=80 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=81 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=82 Position=9 Cost=88 Cardinality=507 Bytes=179985
NESTED LOOPS Id=83 Position=1 Cost=60 Cardinality=356 Bytes=104664
NESTED LOOPS Id=84 Position=1 Cost=41 Cardinality=251 Bytes=63252
NESTED LOOPS Id=85 Position=1 Cost=27 Cardinality=176 Bytes=36960
NESTED LOOPS Id=86 Position=1 Cost=17 Cardinality=124 Bytes=20832
NESTED LOOPS Id=87 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=88 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=89 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=90 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=91 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=92 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=93 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=94 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=95 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=96 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=97 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=98 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=99 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=100 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=101 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=102 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=103 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=104 Position=10 Cost=128 Cardinality=721 Bytes=286237
NESTED LOOPS Id=105 Position=1 Cost=88 Cardinality=507 Bytes=170352
NESTED LOOPS Id=106 Position=1 Cost=60 Cardinality=356 Bytes=104664
NESTED LOOPS Id=107 Position=1 Cost=41 Cardinality=251 Bytes=63252
NESTED LOOPS Id=108 Position=1 Cost=27 Cardinality=176 Bytes=36960
NESTED LOOPS Id=109 Position=1 Cost=17 Cardinality=124 Bytes=20832
NESTED LOOPS Id=110 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=111 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=112 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=113 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=114 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=115 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=116 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=117 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=118 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=119 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=120 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=121 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=122 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=123 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=124 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=125 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=126 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=127 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=128 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
NESTED LOOPS Id=129 Position=11 Cost=174 Cardinality=1026 Bytes=450414
HASH JOIN Id=130 Position=1 Cost=117 Cardinality=721 Bytes=272538
NESTED LOOPS Id=131 Position=1 Cost=88 Cardinality=507 Bytes=170352
NESTED LOOPS Id=132 Position=1 Cost=60 Cardinality=356 Bytes=104664
NESTED LOOPS Id=133 Position=1 Cost=41 Cardinality=251 Bytes=63252
NESTED LOOPS Id=134 Position=1 Cost=27 Cardinality=176 Bytes=36960
NESTED LOOPS Id=135 Position=1 Cost=17 Cardinality=124 Bytes=20832
NESTED LOOPS Id=136 Position=1 Cost=10 Cardinality=87 Bytes=10962
NESTED LOOPS Id=137 Position=1 Cost=5 Cardinality=61 Bytes=5124
INDEX RANGE SCAN Id=138 Position=1 Object name=ATTACHITEM_X1 Cost=2 Cardinality=43 Bytes=1806
TABLE ACCESS CLUSTER Id=139 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=140 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=141 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=142 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=143 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=144 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=145 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=146 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=147 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=148 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=149 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=150 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
TABLE ACCESS CLUSTER Id=151 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=42
INDEX UNIQUE SCAN Id=152 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
INDEX FAST FULL SCAN Id=153 Position=2 Object name=ATTACHITEM_X1 Cost=28 Cardinality=11318 Bytes=475356
TABLE ACCESS CLUSTER Id=154 Position=2 Object name=ATTACHITEM Cost=1 Cardinality=1 Bytes=61
INDEX UNIQUE SCAN Id=155 Position=1 Object name=ITEMCLUSTER_CLK Cost=0 Cardinality=1
VIEW Id=156 Position=2 Object name=RSRC_CASE_QPMCSIS_X_VN Cost=4356 Cardinality=2 Bytes=43596
UNION-ALL Id=157 Position=1
NESTED LOOPS Id=158 Position=1 Cost=3730 Cardinality=1 Bytes=561
NESTED LOOPS Id=159 Position=1 Cost=3729 Cardinality=1 Bytes=475
HASH JOIN Id=160 Position=1 Cost=3727 Cardinality=1 Bytes=372
TABLE ACCESS BY INDEX ROWID Id=161 Position=1 Object name=RSRCTP_QPMCS Cost=45 Cardinality=198 Bytes=13662
INDEX RANGE SCAN Id=162 Position=1 Object name=RSRCTP_QPMCS_F6 Cost=2 Cardinality=198
MERGE JOIN CARTESIAN Id=163 Position=2 Cost=3682 Cardinality=101 Bytes=30603
NESTED LOOPS Id=164 Position=1 Cost=3682 Cardinality=101 Bytes=28684
HASH JOIN Id=165 Position=1 Cost=3682 Cardinality=102 Bytes=27030
TABLE ACCESS BY INDEX ROWID Id=166 Position=1 Object name=RESOURCES Cost=2692 Cardinality=92717 Bytes=7973662
INDEX FULL SCAN Id=167 Position=1 Object name=RESOURCES_X1 Cost=196 Cardinality=92717
TABLE ACCESS FULL Id=168 Position=2 Object name=RSRC_CASE_QPMCSI Cost=556 Cardinality=102 Bytes=18258
INDEX UNIQUE SCAN Id=169 Position=2 Object name=RESOURCES_PK Cost=0 Cardinality=1 Bytes=19
BUFFER SORT Id=170 Position=2 Cost=3682 Cardinality=1 Bytes=19
INDEX UNIQUE SCAN Id=171 Position=1 Object name=RESOURCES_PK Cost=0 Cardinality=1 Bytes=19
TABLE ACCESS BY INDEX ROWID Id=172 Position=2 Object name=RSRCTP_QPMCS Cost=2 Cardinality=1 Bytes=103
INDEX RANGE SCAN Id=173 Position=1 Object name=RSRCTP_QPMCS_F3 Cost=1 Cardinality=1
TABLE ACCESS BY INDEX ROWID Id=174 Position=2 Object name=RESOURCES Cost=1 Cardinality=1 Bytes=86
INDEX UNIQUE SCAN Id=175 Position=1 Object name=RESOURCES_PK Cost=0 Cardinality=1
NESTED LOOPS ANTI Id=176 Position=2 Cost=626 Cardinality=1 Bytes=662
NESTED LOOPS Id=177 Position=1 Cost=624 Cardinality=1 Bytes=582
NESTED LOOPS Id=178 Position=1 Cost=300 Cardinality=162 Bytes=77598
NESTED LOOPS Id=179 Position=1 Cost=138 Cardinality=162 Bytes=63666
HASH JOIN Id=180 Position=1 Cost=116 Cardinality=2 Bytes=614
TABLE ACCESS BY INDEX ROWID Id=181 Position=1 Object name=RSRCTP_QPMCS Cost=45 Cardinality=198 Bytes=20394
INDEX RANGE SCAN Id=182 Position=1 Object name=RSRCTP_QPMCS_F6 Cost=2 Cardinality=198
MERGE JOIN CARTESIAN Id=183 Position=2 Cost=70 Cardinality=263 Bytes=53652
TABLE ACCESS FULL Id=184 Position=1 Object name=RSRCTP_CASE_QPMCSI Cost=70 Cardinality=263 Bytes=48655
BUFFER SORT Id=185 Position=2 Cost=0 Cardinality=1 Bytes=19
INDEX UNIQUE SCAN Id=186 Position=1 Object name=RESOURCES_PK Cost=0 Cardinality=1 Bytes=19
TABLE ACCESS BY INDEX ROWID Id=187 Position=2 Object name=RESOURCES Cost=11 Cardinality=101 Bytes=8686
INDEX RANGE SCAN Id=188 Position=1 Object name=RESOURCES_F1 Cost=2 Cardinality=138
TABLE ACCESS BY INDEX ROWID Id=189 Position=2 Object name=RESOURCES Cost=1 Cardinality=1 Bytes=86
INDEX UNIQUE SCAN Id=190 Position=1 Object name=RESOURCES_PK Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Id=191 Position=2 Object name=RSRCTP_QPMCS Cost=2 Cardinality=1 Bytes=103
INDEX RANGE SCAN Id=192 Position=1 Object name=RSRCTP_QPMCS_F3 Cost=1 Cardinality=1
INDEX RANGE SCAN Id=193 Position=2 Object name=RSRC_CASE_QPMCSI_PK Cost=2 Cardinality=1 Bytes=80Hello, I'm attaching the result from XPLAIN: The point I don't understand is why Oracle is doing INDEX FULL SCAN
Why is doing it because I'm sending the index part when I'm doing :
where (rad.resource_id,rad.resource_tp) in (
6 select t.item_id
7 , t.item_tp
8 from rdbmx_site.att_hierarchy_level_vw t
9 where t.rootitem_id = r.resource_id)
Thanks for your help, I cannot put all on the same space so I'm putting two messages, the second one with the predicate information.
SQL> EXPLAIN PLAN FOR
2 select *
3 from rdbmx.resources_vt r
4 , rdbmx.rsrc_case_qpmcsis_x_vt rad
5 where (rad.resource_id,rad.resource_tp) in (
6 select t.item_id
7 , t.item_tp
8 from rdbmx_site.att_hierarchy_level_vw t
9 where t.rootitem_id = r.resource_id)
10 and r.resource_id =3780
11 and r.resource_tp ='BITUMENPRODUCTION'
12 and rad.CASE_ID = 599
13 and rad.CASE_TP = 'MEASURED'
14 and rad.property_nm ='Liquid Volume Flow'
15 and rad.qualifier_nm='n/a';
Explained.
SQL> set linesize 150
SQL> set pagesize 0
SQL> SELECT * FROM table(DBMS_XPLAN.DISPLAY);
Plan hash value: 3132073840
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 1 | 6826 | 216K (1)| 00:43:19 |
|* 1 | HASH JOIN | | 1 | 6826 | 216K (1)| 00:43:19 |
| 2 | NESTED LOOPS | | 1 | 170 | 560 (1)| 00:00:07 |
| 3 | TABLE ACCESS BY INDEX ROWID | RESOURCES | 1 | 115 | 2 (0)| 00:00:01 |
|* 4 | INDEX UNIQUE SCAN | RESOURCES_PK | 1 | | 1 (0)| 00:00:01 |
| 5 | SORT UNIQUE | | 1 | 55 | 558 (1)| 00:00:07 |
|* 6 | VIEW | ATT_HIERARCHY_LEVEL_VW | 1 | 55 | 558 (1)| 00:00:07 |
| 7 | SORT UNIQUE | | 3353 | 1153K| 558 (100)| 00:00:07 |
| 8 | UNION-ALL | | | | | |
| 9 | SORT UNIQUE | | 1 | 19 | 3 (34)| 00:00:01 |
|* 10 | INDEX RANGE SCAN | ATTACHITEM_PK | 1 | 19 | 2 (0)| 00:00:01 |
| 11 | TABLE ACCESS BY INDEX ROWID | ATTACHITEM | 43 | 2623 | 4 (0)| 00:00:01 |
|* 12 | INDEX RANGE SCAN | ATTACHITEM_F3 | 43 | | 2 (0)| 00:00:01 |
| 13 | NESTED LOOPS | | 61 | 6283 | 5 (0)| 00:00:01 |
|* 14 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 15 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|* 16 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 17 | NESTED LOOPS | | 87 | 12615 | 10 (0)| 00:00:01 |
| 18 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|* 19 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 20 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 21 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 22 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|* 23 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 24 | NESTED LOOPS | | 124 | 23188 | 17 (0)| 00:00:01 |
| 25 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 26 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|* 27 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 28 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 29 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 30 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 31 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 32 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|* 33 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 34 | NESTED LOOPS | | 176 | 40304 | 27 (0)| 00:00:01 |
| 35 | NESTED LOOPS | | 124 | 20832 | 17 (0)| 00:00:01 |
| 36 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 37 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|* 38 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 39 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 40 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 41 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 42 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 43 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 44 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 45 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|* 46 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 47 | NESTED LOOPS | | 251 | 68021 | 41 (0)| 00:00:01 |
| 48 | NESTED LOOPS | | 176 | 36960 | 27 (0)| 00:00:01 |
| 49 | NESTED LOOPS | | 124 | 20832 | 17 (0)| 00:00:01 |
| 50 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 51 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|* 52 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 53 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 54 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 55 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 56 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 57 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 58 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 59 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 60 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 61 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|* 62 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 63 | NESTED LOOPS | | 356 | 108K| 60 (0)| 00:00:01 |
| 64 | NESTED LOOPS | | 251 | 63252 | 41 (0)| 00:00:01 |
| 65 | NESTED LOOPS | | 176 | 36960 | 27 (0)| 00:00:01 |
| 66 | NESTED LOOPS | | 124 | 20832 | 17 (0)| 00:00:01 |
| 67 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 68 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|* 69 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 70 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 71 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 72 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 73 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 74 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 75 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 76 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 77 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 78 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 79 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 80 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|* 81 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 82 | NESTED LOOPS | | 507 | 175K| 88 (0)| 00:00:02 |
| 83 | NESTED LOOPS | | 356 | 102K| 60 (0)| 00:00:01 |
| 84 | NESTED LOOPS | | 251 | 63252 | 41 (0)| 00:00:01 |
| 85 | NESTED LOOPS | | 176 | 36960 | 27 (0)| 00:00:01 |
| 86 | NESTED LOOPS | | 124 | 20832 | 17 (0)| 00:00:01 |
| 87 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 88 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|* 89 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 90 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 91 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 92 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 93 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 94 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 95 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 96 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 97 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 98 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|* 99 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 100 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*101 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 102 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|*103 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 104 | NESTED LOOPS | | 721 | 279K| 128 (0)| 00:00:02 |
| 105 | NESTED LOOPS | | 507 | 166K| 88 (0)| 00:00:02 |
| 106 | NESTED LOOPS | | 356 | 102K| 60 (0)| 00:00:01 |
| 107 | NESTED LOOPS | | 251 | 63252 | 41 (0)| 00:00:01 |
| 108 | NESTED LOOPS | | 176 | 36960 | 27 (0)| 00:00:01 |
| 109 | NESTED LOOPS | | 124 | 20832 | 17 (0)| 00:00:01 |
| 110 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 111 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|*112 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 113 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*114 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 115 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*116 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 117 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*118 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 119 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*120 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 121 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*122 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 123 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*124 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 125 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*126 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 127 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|*128 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 129 | NESTED LOOPS | | 1026 | 439K| 174 (1)| 00:00:03 |
|*130 | HASH JOIN | | 721 | 266K| 117 (1)| 00:00:02 |
| 131 | NESTED LOOPS | | 507 | 166K| 88 (0)| 00:00:02 |
| 132 | NESTED LOOPS | | 356 | 102K| 60 (0)| 00:00:01 |
| 133 | NESTED LOOPS | | 251 | 63252 | 41 (0)| 00:00:01 |
| 134 | NESTED LOOPS | | 176 | 36960 | 27 (0)| 00:00:01 |
| 135 | NESTED LOOPS | | 124 | 20832 | 17 (0)| 00:00:01 |
| 136 | NESTED LOOPS | | 87 | 10962 | 10 (0)| 00:00:01 |
| 137 | NESTED LOOPS | | 61 | 5124 | 5 (0)| 00:00:01 |
|*138 | INDEX RANGE SCAN | ATTACHITEM_X1 | 43 | 1806 | 2 (0)| 00:00:01 |
| 139 | TABLE ACCESS CLUSTER| ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*140 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 141 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*142 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 143 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*144 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 145 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*146 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 147 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*148 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 149 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*150 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 151 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 42 | 1 (0)| 00:00:01 |
|*152 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 153 | INDEX FAST FULL SCAN | ATTACHITEM_X1 | 11318 | 464K| 28 (0)| 00:00:01 |
| 154 | TABLE ACCESS CLUSTER | ATTACHITEM | 1 | 61 | 1 (0)| 00:00:01 |
|*155 | INDEX UNIQUE SCAN | ITEMCLUSTER_CLK | 1 | | 0 (0)| 00:00:01 |
| 156 | VIEW | RSRC_CASE_QPMCSIS_X_VT | 163 | 1059K| 216K (1)| 00:43:13 |
| 157 | UNION-ALL | | | | | |
| 158 | NESTED LOOPS | | 1 | 286 | 185K (1)| 00:37:12 |
| 159 | NESTED LOOPS | | 1 | 267 | 185K (1)| 00:37:12 |
| 160 | NESTED LOOPS | | 102 | 20196 | 185K (1)| 00:37:11 |
| 161 | INDEX FULL SCAN | RESOURCES_PK | 92717 | 1720K| 396 (1)| 00:00:05 |
| 162 | TABLE ACCESS BY INDEX ROWID | RSRC_CASE_QPMCSI | 1 | 179 | 3 (0)| 00:00:01 |
|*163 | INDEX RANGE SCAN | RSRC_CASE_QPMCSI_PK | 1 | | 2 (0)| 00:00:01 |
|*164 | INDEX UNIQUE SCAN | RSRCTP_QPMCS_PK | 1 | 69 | 1 (0)| 00:00:01 |
|*165 | INDEX UNIQUE SCAN | RESOURCES_PK | 1 | 19 | 0 (0)| 00:00:01 |
| 166 | NESTED LOOPS ANTI | | 162 | 60264 | 30022 (1)| 00:06:01 |
| 167 | NESTED LOOPS | | 162 | 47304 | 29698 (1)| 00:05:57 |
| 168 | NESTED LOOPS | | 26511 | 5773K| 3177 (1)| 00:00:39 |
| 169 | NESTED LOOPS | | 26511 | 5281K| 3175 (1)| 00:00:39 |
| 170 | TABLE ACCESS BY INDEX ROWID | RSRCTP_CASE_QPMCSI | 263 | 48655 | 376 (0)| 00:00:05 |
|*171 | INDEX FULL SCAN | RSRCTP_CASE_QPMCSI_PK | 263 | | 175 (0)| 00:00:03 |
| 172 | TABLE ACCESS BY INDEX ROWID | RESOURCES | 101 | 1919 | 11 (0)| 00:00:01 |
|*173 | INDEX RANGE SCAN | RESOURCES_F1 | 138 | | 2 (0)| 00:00:01 |
|*174 | INDEX UNIQUE SCAN | RESOURCES_PK | 1 | 19 | 0 (0)| 00:00:01 |
|*175 | INDEX UNIQUE SCAN | RSRCTP_QPMCS_PK | 1 | 69 | 1 (0)| 00:00:01 |
|*176 | INDEX RANGE SCAN | RSRC_CASE_QPMCSI_PK | 1 | 80 | 2 (0)| 00:00:01 |
See second message.... -
I am using the Oracle 10g express edition
Is it possible to connect using a Java program? If so, what connect string should I be using?
Hi,
This is with reference to connecting to Oracle Database XE using a java-based program (for example NetBeans).
Step 1: Add a CLASSPATH
/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/jdbc/libs/
Step 2: Add ojdbc14.jar to the directory of your project.
Step 3: Import Java SQL and Oracle JDBC Driver.
import java.sql.*;
import oracle.jdbc.pool.OracleDataSource;
Step 4: Create an OracleDataSource using your username and password. The connection string should look similar to the below mentioned.
public Connection getConnection()
throws ClassNotFoundException, SQLException {
OracleDataSource myds = new OracleDataSource();
myds.setUser("username");
myds.setPassword("pasword");
myds.setURL("jdbc:oracle:thin:@your.server:1521/xe");
Connection conn = myds.getConnection();
return conn;
Step 5: Create a sample data table. The set of statements should look similar to the below mentioned.
public void createTable(Connection conn) throws SQLException {
Statement stmt = null;
String query;
try {
query = "CREATE TABLE tutorials title VARCHAR2(70), author VARCHAR2(40),
ref_number NUMBER(7,0) CONTRAINT pk_tutorials PRIMARY KEY,
submit_date DATE DEFAULT SYSDATE";
stmt = conn.createStatement();
stmt.executeUpdate(query);
finally {
if(stmt != null){
stmt.close();
Should this solve your problem, kindly mark the thread as answered.
Regards,
Naveed. -
How to build reports using discoverer (oracle 10g on winxp professional)
hello:
I have an sql query which queries multiple tables.
I have to build the report using oracle discoverer plus...can anybody guide me what is the path to accomplish this.
the sql is following
SELECT COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME, COUNT(CARRIER.NAME) SUBSCRIBERS FROM COUNTRY, CARRIER, USER_DEVICE, USER_ WHERE
USER_DEVICE.APPLICATION_ID = 1 AND
USER_DEVICE.CARRIER_ID = CARRIER.ID AND
CARRIER.COUNTRY_ID = COUNTRY.ID AND
USER_DEVICE.USER_ID = USER_.ID
GROUP BY
COUNTRY.ID, COUNTRY.NAME, CARRIER.NAME ORDER BY COUNTRY.NAME, CARRIER.NAME
when i try to validate this query in oracle business intelligence administrator by building a complex folder the validator gives error and cannot validate...
please tell me how can i accomplish to run the above query using oracel discovereryes it worked like that...thanks...
now i want to add user defined parameters to it...
as the folder is a complex folder all the colums i get(in discoverer plus) are those which i am mentioning in my query...but i have to get the parameter based on column from another table User_ and i can't show that column in my query as the query won't work if i include it...
I hope I was able to make u understand my problem...
please tell me how can i build paramters from the USER_table
Waqas
Maybe you are looking for
-
When I tried to log in to iMessage it continually gives me a no Internet connection/ try again. All the while my Internet is running properly, same thing is happening with my FaceTime. If you can help..I appreciate it ahead of time :)
-
Issues with external hard drive
hello, i recently purchased a seagate external hard drive 2TB. i am trying to copy videos onto the external hard drive from my macbook( mac osx version 10.6.3 but the files wont copy. i checked the details of the external hard drive, formatted for wi
-
CS6 on Mac says .eps file is an unknown format and cannot be opened
Trying to open a logo sent by a client an PS, AI, and ID have all given me an error saying that .eps is an invalid format. It's the only logo file available from the client, so my options are limited. First time I've had an issue with this ever, so n
-
Pannable ListView in JavaFX 1.3
So I installed JavaFX 1.3, and my code is compiling just fine, but my items in my listview don't appear to be "pannable"... Can anyone decipher what's going on? Here is my code: ListView { layoutInfo: LayoutInfo {width: 150 height: 350 } item
-
Fox tab stop working on windows 7 ultimate and running firefox 10.0.2
I'm having a problem with my fox tabs on my laptop running windows 7 ultimate. I have firefox 10.0.2. My fox tabs don't work and I'm not sure when it happen because I don't use it on my laptop a lot. I have a desktop running xp and it is OK on it. I