10g table edit
Hi All .
I am facing a problem in 10g, when i log in as a normal user in the dbconsole and click in adminstartor>schema> table>
and i find the list of all tables in my schema, but when i try to edit it gives me the following error.
pls help me solve the problem.
500 Internal Server Error
java.lang.NullPointerException
at oracle.sysman.emo.adm.schema.table.DBTableConstraintsInitializer.initializeConstraintColumns(DBTableConstraintsInitializer.java:170)
at oracle.sysman.emo.adm.schema.table.DBTableConstraintsInitializer.initialize(DBTableConstraintsInitializer.java:76)
at oracle.sysman.emo.adm.ComponentDBObject.initialize(ComponentDBObject.java:177)
at oracle.sysman.emo.adm.schema.table.TableConstraints.initialize(TableConstraints.java:140)
at oracle.sysman.db.adm.schm.TableGeneralController.initUIBean(TableGeneralController.java:808)
at oracle.sysman.db.adm.schm.TableGeneralController.setRequestAttributes(TableGeneralController.java:583)
at oracle.sysman.db.adm.schm.TableController.setRequestAttributes(TableController.java:1891)
at oracle.sysman.db.adm.DBController.handleEvent(DBController.java:3120)
at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:114)
at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
at oracle.sysman.eml.app.Console.doGet(Console.java:285)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[http://Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
I�m using oracleXE with the ojdbc14.jar... and tomcat
In just two page I�m receving the following msg
* Number of conflicts while synchronizing: 1 SyncResolver.DELETE_ROW_CONFLICT row 2 won't delete as values in database have changed: 2006-11-29
* Cannot commit changes: Number of conflicts while synchronizing: 1 SyncResolver.UPDATE_ROW_CONFLICT row 0 values changed in database
when i tried to delete or commit the updated changes in the register...
My query is bellow:
SELECT ALL PATRIMONIO.TB_BEM.INCODIGOBEM,
PATRIMONIO.TB_BEM.VATOMBAMENTO,
PATRIMONIO.TB_BEM.VAMATERIAL,
PATRIMONIO.TB_BEM.INCODIGOSETOR,
PATRIMONIO.TB_SETOR.VANOME AS NOMESETOR,
PATRIMONIO.TB_BEM.INCODIGOFORNECEDOR,
PATRIMONIO.TB_FORNECEDOR.VANOME AS NOMEFORNECEDOR,
PATRIMONIO.TB_BEM.DACHEGADA ,
PATRIMONIO.TB_BEM.DASAIDAPREVISTA,
PATRIMONIO.TB_BEM.DASAIDAEFETIVA,
PATRIMONIO.TB_BEM.VAMARCA,
PATRIMONIO.TB_BEM.VAMODELO,
PATRIMONIO.TB_BEM.VADESBAIXABEM,
PATRIMONIO.TB_BEM.INCODIGOTIPOAQUISICAO,
PATRIMONIO.TB_TIPOAQUISICAO.VANOME AS NOMETIPOAQUISICAO
FROM PATRIMONIO.TB_BEM , PATRIMONIO.TB_TIPOAQUISICAO, PATRIMONIO.TB_SETOR, PATRIMONIO.TB_FORNECEDOR
WHERE PATRIMONIO.TB_BEM.INCODIGOTIPOAQUISICAO = PATRIMONIO.TB_TIPOAQUISICAO.INCODIGOTIPOAQUISICAO
AND PATRIMONIO.TB_BEM.INCODIGOSETOR = PATRIMONIO.TB_SETOR.INCODIGOSETOR
AND PATRIMONIO.TB_BEM.INCODIGOFORNECEDOR = PATRIMONIO.TB_FORNECEDOR.INCODIGOFORNECEDOR
AND PATRIMONIO.TB_BEM.INCODIGOBEM LIKE ?
AND PATRIMONIO.TB_BEM.VATOMBAMENTO LIKE ?
AND PATRIMONIO.TB_BEM.VAMATERIAL LIKE ?
AND PATRIMONIO.TB_SETOR.VANOME LIKE ?
AND PATRIMONIO.TB_FORNECEDOR.VANOME LIKE ?
ORDER BY PATRIMONIO.TB_BEM.VATOMBAMENTO ASC
Why this problem is happing? Did you had some solution for that? Is the problem because the query is too long?! In jsc with the jdbc from the app... this is working fine.
please help me!
Similar Messages
-
Error accessing table on Oracle 10g Express Edition
I am unable to access tables uploaded after Oracle 10G express edition installation.
The error message is ""ORA-00942: table or view does not exist"
Meanwhile, the table is in existence when viewed via object browser.
Pls can anybody help out.Hi;
Which user you try to query? Table under which schema?
You can query as follows:
SELECT
TABLE_NAME
FROM
ALL_TABLES
WHERE
TABLE_NAME LIKE '%xxx%'
ORDER
BY TABLE_NAME;
Regard
Helios -
Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition
G'Day Apex gurus,
I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
I went to the steps:
@apexins SYSAUX SYSAUX TEMP /i/
Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
@apxchpwd
with not problems
Then I connected to SQL*Plus as SYS by:
sqlplus /nolog
CONNECT SYS as SYSDBA
Enter password: xxxxxxxxxxx
but when I tried to run:
@APEX_HOME/apex/apxldimg.sql APEX_HOME
where APEX_HOME is Apex3.2.1 in my case
SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
PL/SQL procedure successfully completed.
old 1: create directory APEX_IMAGES as '&1/apex/images'
new 1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
Directory created.
declare
*+
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the path specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 15
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.17
Directory dropped.
Can anyone help me in how to trouble shout this?
I tried to continue by following the steps document
@APEX_HOME/apex/apxxepwd.sql password
(where password is the password of the Application Express internal ADMIN account)
but when I tried to login in:
http://localhost:8080/apex/f?p=4550:1
when I type the credentials
system
system
systempassword
nothing happens
or even If I try:
http://localhost:8080/apex/f?p=4550:10
admin
adminpassword
nothing happens here too.
I appreciate any help
Kind regards
CarlosMy database version is 10.2.0.1.0 Oracle express.
Operating system is Windows Vista.
I started installing using the following commands.
@ C:\temp\apex\apexins.sql
it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
If I supply the value for images the sqlplus window closes after scrolling a lot of info.
Enroute it also prompts me for a value for 9:
I don't know what the input shall be.
Then it again stops at enter value for version:
I used 3.2.1.0
The window scrols a while and closes.
later I changed the password and ran the command.
@c:\temp\apex\apxldimg.sql c:\temp
but no success with installation.
the output is as following.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect system/sairam as sysdba;
Connected.
SQL> @ c:\temp\apex\apxchpwd
Enter a value below for the password for the Application Express ADMIN user.
Enter a password for the ADMIN user []
Session altered.
...changing password for ADMIN
wwv_flow_security.g_security_group_id := 10;
ERROR at line 3:
ORA-06550: line 3, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
ORA-06550: line 4, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
ORA-06550: line 4, column 5:
PL/SQL: Statement ignored
ORA-06550: line 5, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 5, column 5:
PL/SQL: Statement ignored
ORA-06550: line 8, column 23:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 7, column 15:
PL/SQL: SQL Statement ignored
ORA-06550: line 13, column 32:
PLS-00364: loop index variable 'C1' use is invalid
ORA-06550: line 12, column 9:
PL/SQL: Statement ignored
ORA-06550: line 19, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 19, column 5:
PL/SQL: Statement ignored
Commit complete.
SQL> @c:\temp\apex\apxldimg.sql c:\temp
PL/SQL procedure successfully completed.
Directory created.
if wwv_flow_utilities.db_version_is_at_least('11') then
ERROR at line 32:
ORA-06550: line 32, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 32, column 3:
PL/SQL: Statement ignored
PL/SQL procedure successfully completed.
if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
ERROR at line 16:
ORA-06550: line 16, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 16, column 3:
PL/SQL: Statement ignored
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.32
Directory dropped.
SQL>
Does this require XE 11 or anything else.
This will happen even if I supply as following(closing of sqlplus in the begining).
@ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
Any help. -
"In-Memory Database Cache" option for Oracle 10g Enterprise Edition
Hi,
In one of our applications, we are using TimesTen 5.1.24 and Oracle 9i
databases (platform - Solaris 9i).
TimesTen holds application information which needs to be accessed quickly
and Oracle 9i is a master application database.
Now we are looking at an option of migrating from Oracle 9i to Oracle 10g
database. While exploring about Oracle 10g features, came to know about
"In-Memory Database Cache" option for Oracle Enterprise Edition. This made
me to think about using Oracle 10g Enterprise Edition with "In-Memory
Database Cache" option for our application.
Following are the advantages that I could visualize by adopting the
above-mentioned approach:
1. Data reconciliation between Oracle and TimesTen is not required (i.e.
data can be maintained only in Oracle tables and for caching "In-Memory
Database Cache" can be used)
2. Data maintenance is easy and gives one view access to data
I have following queries regarding the above-mentioned solution:
1. What is the difference between "TimesTen In-Memory Database" and
"In-Memory Database Cache" in terms of features and licensing model?
2. Is "In-Memory Database Cache" option integrated with Oracle 10g
installable or a separate installable (i.e. TimesTen installable with only
cache feature)?
3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
Connect to Oracle" option in TimesTen In-Memory Database?
4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
access will happen only through Oracle sqlplus or OCI calls. Am I right here
in making this statement?
5. Is it possible to cache the result set of a join query in "In-Memory
Database Cache"?
In "Options and Packs" chapter in Oracle documentation
(http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm
#CIHJJBGA), I encountered the following statement:
"For the purposes of licensing Oracle In-Memory Database Cache, only the
processors on which the TimesTen In-Memory Database component of the
In-Memory Database Cache software is installed and/or running are counted
for the purpose of determining the number of licenses required."
We have servers with the following configuration. Is there a way to get the
count of processors on which the Cache software could be installed and/or
running? Please assist.
Production box with 12 core 2 duo processors (24 cores)
Pre-production box with 8 core 2 duo processors (16 cores)
Development and test box with 2 single chip processors
Development and test box with 4 single chip processors
Development and test box with 6 single chip processors
Thanks & Regards,
VijayHi Vijay,
regarding your questions:
1. What is the difference between "TimesTen In-Memory Database" and
"In-Memory Database Cache" in terms of features and licensing model?
==> Product has just been renamed and integrated better with the Oracle database - Times-Ten == In-Memory-Cache-Database
2. Is "In-Memory Database Cache" option integrated with Oracle 10g
installable or a separate installable (i.e. TimesTen installable with only
cache feature)?
==> Seperate Installation
3. Is "In-Memory Database Cache" option same as that of "TimesTen Cache
Connect to Oracle" option in TimesTen In-Memory Database?
==> Please have a look here: http://www.oracle.com/technology/products/timesten/quickstart/cc_qs_index.html
This explains the differences.
4. After integrating "In-Memory Database Cache" option with Oracle 10g, data
access will happen only through Oracle sqlplus or OCI calls. Am I right here
in making this statement?
==> Please see above mentioned papers
5. Is it possible to cache the result set of a join query in "In-Memory
Database Cache"?
==> Again ... ;-)
Kind regards
Mike -
Oracle 10G Express Edition No Oracle Spatial
I have been test driving 10G Express Edition. I tried to create our schema in it only to find that the mdsys.sdo_geometry datatype is unknown. It looks like Oracle Spatial is not part of Express Edition. Can anyone confirm?
SEVERE: Unsuccessful: create table ASSET_REFERENCE (ASSET_REFERENCE_ID number(19,0) not null, ASSET_NAME varchar2(256 char), ASSET_URI varchar2(256 char), SPATIAL_EXTENT mdsys.sdo_geometry, START_DATE timestamp, END_DATE timestamp, COORD_SYS_WKS varchar2(256 char), primary key (ASSET_REFERENCE_ID))
[hibernatetool] Nov 21, 2005 7:56:50 PM org.hibernate.tool.hbm2ddl.SchemaExport create
[hibernatetool] SEVERE: ORA-00902: invalid datatypeOracle Spatial is an option for Enterprise Edition. It is not even available for Standard Edition and Express Edition is a subset of Standard Edition
Related - interMedia requires Java and that is not in Express. Although the Locator subset does not use Java, it is part of interMedia and therefore is also not in Express.
We are asking Oracle to reconsider and add Locator, and possibly add Java as a post-install option. -
How get scott user database schema in oracle 10g express edition
hi
plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
Iam created the user as scott but but i didn't get the table details
...plz give me the details correctly.You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
Rem Copyright (c) 1990 by Oracle Corporation
Rem NAME
REM UTLSAMPL.SQL
Rem FUNCTION
Rem NOTES
Rem MODIFIED
Rem gdudey 06/28/95 - Modified for desktop seed database
Rem glumpkin 10/21/92 - Renamed from SQLBLD.SQL
Rem blinden 07/27/92 - Added primary and foreign keys to EMP and DEPT
Rem rlim 04/29/91 - change char to varchar2
Rem mmoore 04/08/91 - use unlimited tablespace priv
Rem pritto 04/04/91 - change SYSDATE to 13-JUL-87
Rem Mendels 12/07/90 - bug 30123;add to_date calls so language independent
Rem
rem
rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
rem
SET TERMOUT OFF
SET ECHO OFF
rem CONGDON Invoked in RDBMS at build time. 29-DEC-1988
rem OATES: Created: 16-Feb-83
GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
ALTER USER SCOTT DEFAULT TABLESPACE USERS;
ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
CONNECT SCOTT/TIGER
DROP TABLE DEPT;
CREATE TABLE DEPT
(DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
DNAME VARCHAR2(14) ,
LOC VARCHAR2(13) ) ;
DROP TABLE EMP;
CREATE TABLE EMP
(EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
INSERT INTO DEPT VALUES
(10,'ACCOUNTING','NEW YORK');
INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
INSERT INTO DEPT VALUES
(30,'SALES','CHICAGO');
INSERT INTO DEPT VALUES
(40,'OPERATIONS','BOSTON');
INSERT INTO EMP VALUES
(7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
INSERT INTO EMP VALUES
(7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
INSERT INTO EMP VALUES
(7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
INSERT INTO EMP VALUES
(7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
INSERT INTO EMP VALUES
(7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
INSERT INTO EMP VALUES
(7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
INSERT INTO EMP VALUES
(7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
INSERT INTO EMP VALUES
(7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
INSERT INTO EMP VALUES
(7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
INSERT INTO EMP VALUES
(7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
INSERT INTO EMP VALUES
(7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
INSERT INTO EMP VALUES
(7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
INSERT INTO EMP VALUES
(7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
INSERT INTO EMP VALUES
(7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
DROP TABLE BONUS;
CREATE TABLE BONUS
ENAME VARCHAR2(10) ,
JOB VARCHAR2(9) ,
SAL NUMBER,
COMM NUMBER
DROP TABLE SALGRADE;
CREATE TABLE SALGRADE
( GRADE NUMBER,
LOSAL NUMBER,
HISAL NUMBER );
INSERT INTO SALGRADE VALUES (1,700,1200);
INSERT INTO SALGRADE VALUES (2,1201,1400);
INSERT INTO SALGRADE VALUES (3,1401,2000);
INSERT INTO SALGRADE VALUES (4,2001,3000);
INSERT INTO SALGRADE VALUES (5,3001,9999);
COMMIT;
SET TERMOUT ON
SET ECHO ON -
I am working with the Oracle 10g Express Edition, and I Created a Table with 52 Fields and even successfully inserted data into the table via Java Program. But the problem is when I am displaying the table from the Oracle 10g Express Edition Interface, it is displaying only first 31 Fields and displaying "<div class="fielddata">First 31 columns displayed.</div>". What should i do if I want to display all the 52 columns. Awaiting for the Reply. Thank You..
duplicate post
Columns Display Support in Oracle 10g Express Edition.................. -
Uploading photo in oracle 10g express edition
Hi,
I want to upload photo in my database running on oracle 10g express edition.This process must handle simultaneous uploading and with minimum error. Problem is the site is online and anyone can upload garbage,etc.so i am planning to collect images through email and then photo would be uploaded by some data entry operator. please suggest me some process
Thanks878927 wrote:
How can use these loader tools? and what will be the advantage by going through these tools?please explain.Another Condition is i have to scan the photos before uploading it to databaseThere are instructions on how to use SQL*LOADER in the on-line documentation. I meant to say that you have to decide the best way to load the data. I just listed some examples on possible ways it can be done.
Apex is a database application that can be used to generate web pages based on database tables. It can also load files from clients. You can read about Apex in the Apex forums here on OTN or in the on-linedocumentation -
SQL slow after upgrading to Oracle Database 10g Enterprise Edition Release
Hi all:
We have recently upgraded our database from Oracle9i Enterprise Edition Release 9.2.0.6.0 to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
After that we found that our some sql getting very slow
for example query with 9i showing result in 4 seconds while in 10g showing result in 28 seconds.
Following is the execution plan of my query in Oracle9i
Operation Object PARTITION_START PARTITION_STOP COST
SELECT STATEMENT () 9458
NESTED LOOPS () 9458
SORT (UNIQUE)
INDEX (RANGE SCAN) BL_EQ_PK_N 2
VIEW () CONTAINER_INFO 2
UNION-ALL (PARTITION)
TABLE ACCESS (BY INDEX ROW SERVICE_EVENTS 1
NESTED LOOPS () 11
NESTED LOOPS () 10
NESTED LOOPS (OUTER) 9
NESTED LOOPS () 8
NESTED LOOPS () 7
NESTED LOOPS () 6
NESTED LOOPS () 5
NESTED LOOPS () 4
NESTED LOOPS (OUT 3
TABLE ACCESS (BY EQUIPMENT_USES 2
INDEX (UNIQUE S EQUSE_PK 1
TABLE ACCESS (BY SHIPPING_LINES 1
INDEX (UNIQUE S LINE_PK
INDEX (UNIQUE SCA EQHT_PK
TABLE ACCESS (BY I EQUIPMENT_TYPES 1
INDEX (UNIQUE SCA EQTP_PK
TABLE ACCESS (BY IN EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN EQSZ_PK
TABLE ACCESS (BY IND SHIP_VISITS 2
INDEX (RANGE SCAN) SVISIT_UK 1
TABLE ACCESS (BY INDE SHIPS 1
INDEX (UNIQUE SCAN) SHIP_PK
TABLE ACCESS (BY INDEX CARE_VIR_MAP 1
INDEX (UNIQUE SCAN) VIR_VESVOY
TABLE ACCESS (BY INDEX EQUIPMENT 1
INDEX (RANGE SCAN) EQ_EQUSE_FK
INDEX (RANGE SCAN) SEVENTS_EQUSE_FK_N
NESTED LOOPS () 7
NESTED LOOPS () 6
NESTED LOOPS () 5
NESTED LOOPS () 4
NESTED LOOPS (OUTER) 3
TABLE ACCESS (BY INDE EQUIPMENT_USES 2
INDEX (UNIQUE SCAN) EQUSE_PK 1
TABLE ACCESS (BY INDE SHIPPING_LINES 1
INDEX (UNIQUE SCAN) LINE_PK
INDEX (UNIQUE SCAN) EQHT_PK
TABLE ACCESS (BY INDEX EQUIPMENT_TYPES 1
INDEX (UNIQUE SCAN) EQTP_PK
TABLE ACCESS (BY INDEX R EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN) EQSZ_PK
TABLE ACCESS (BY INDEX RO EQUIPMENT 1
INDEX (RANGE SCAN) EQ_EQUSE_FK and following is my query plan in Oracle 10g
Operation Object PARTITION_START PARTITION_STOP COST
SELECT STATEMENT () 2881202
NESTED LOOPS () 2881202
SORT (UNIQUE) 2
INDEX (RANGE SCAN) BL_EQ_PK_N 2
VIEW () CONTAINER_INFO 2881199
UNION-ALL ()
NESTED LOOPS (OUTER) 2763680
NESTED LOOPS () 2718271
NESTED LOOPS () 2694552
NESTED LOOPS () 2623398
NESTED LOOPS (OUTER) 2623380
NESTED LOOPS () 2393965
NESTED LOOPS () 2393949
NESTED LOOPS () 2164536
NESTED LOOPS () 1706647
NESTED LOOPS () 854120
TABLE ACCESS (FU BL_EQUIPMENT 1515
TABLE ACCESS (BY EQUIPMENT_USES 1
INDEX (UNIQUE S EQUSE_PK 1
TABLE ACCESS (BY EQUIPMENT 1
INDEX (RANGE SCA EQ_EQUSE_FK 1
TABLE ACCESS (BY I EQUIPMENT_TYPES 1
INDEX (UNIQUE SCA EQTP_PK 1
TABLE ACCESS (BY IN EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN EQSZ_PK 1
INDEX (UNIQUE SCAN) EQHT_PK 1
TABLE ACCESS (BY INDE SHIPPING_LINES 1
INDEX (UNIQUE SCAN) LINE_PK 1
INDEX (RANGE SCAN) SEVENTS_TSERV_FK_N 1
TABLE ACCESS (BY INDEX SHIP_VISITS 2
INDEX (RANGE SCAN) SVISIT_UK 2
TABLE ACCESS (BY INDEX R SHIPS 1
INDEX (UNIQUE SCAN) SHIP_PK 1
TABLE ACCESS (BY INDEX RO CARE_VIR_MAP 2
INDEX (UNIQUE SCAN) VIR_VESVOY 1
NESTED LOOPS (OUTER) 117519
NESTED LOOPS () 98158
NESTED LOOPS () 78798
NESTED LOOPS () 78795
NESTED LOOPS () 59432
TABLE ACCESS (FULL) EQUIPMENT_USES 20788
TABLE ACCESS (BY INDE EQUIPMENT_TYPES 1
INDEX (UNIQUE SCAN) EQTP_PK 1
TABLE ACCESS (BY INDEX EQUIPMENT 1
INDEX (RANGE SCAN) EQ_EQUSE_FK 1
INDEX (UNIQUE SCAN) EQHT_PK 1
TABLE ACCESS (BY INDEX R EQUIPMENT_SIZES 1
INDEX (UNIQUE SCAN) EQSZ_PK 1
TABLE ACCESS (BY INDEX RO SHIPPING_LINES 1
INDEX (UNIQUE SCAN) LINE_PK 1can somebody help me regarding this?
Thanks
HassanI would say ..gather stats on 9i/10gfor the required table and indexes , then post the expalin plan.
--Girish -
Oracle 10g Express Edition Installation Error
I have downloaded 10g Express Edition and am trying to install. After clicking on the OracleXE.exe file, I get the following error:
Error applying transforms. Verify that the specified transform paths are valid. C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST
I have verified that the path and file exists. What else should I do?Here is the Ipconfig settings:
ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : jfunk
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : Yes
Ethernet adapter Local Area Connection 11:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft Loopback Adapter
Physical Address. . . . . . . . . : 02-00-4C-4F-4F-50
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.100.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter Local Area Connection 5:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet
Controller (3C905C-TX Compatible) #4
Physical Address. . . . . . . . . : 00-08-74-48-AE-AB
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.5
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 200.105.128.40
200.105.128.41
C:\Documents and Settings\funk>
No luck in changing the Temp environment setting. Here is the latest log.
=== Verbose logging started: 8/22/2007 16:55:24 Build type: SHIP UNICODE 3.01.4000.4039 Calling process: c:\PROGRA~1\COMMON~1\INSTAL~1\Driver\11\INTEL3~1\IDriver.exe ===
MSI (c) (10:B8) [16:55:24:765]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'c:\temp\_is5F\Oracle Database 10g Express Edition.msi' against software restriction policy
MSI (c) (10:B8) [16:55:24:765]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (10:B8) [16:55:24:765]: SOFTWARE RESTRICTION POLICY: c:\temp\_is5F\Oracle Database 10g Express Edition.msi is not digitally signed
MSI (c) (10:B8) [16:55:24:765]: SOFTWARE RESTRICTION POLICY: c:\temp\_is5F\Oracle Database 10g Express Edition.msi is permitted to run at the 'unrestricted' authorization level.
MSI (c) (10:B8) [16:55:24:775]: Cloaking enabled.
MSI (c) (10:B8) [16:55:24:775]: Attempting to enable all disabled priveleges before calling Install on Server
MSI (c) (10:B8) [16:55:24:775]: End dialog not enabled
MSI (c) (10:B8) [16:55:24:775]: Original package ==>
MSI (c) (10:B8) [16:55:24:775]: Package we're running from ==> c:\temp\_is5F\Oracle Database 10g Express Edition.msi
MSI (c) (10:B8) [16:55:24:775]: Transforming table Property.
MSI (c) (10:B8) [16:55:24:775]: APPCOMPAT: looking for appcompat database entry with ProductCode '{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}'.
MSI (c) (10:B8) [16:55:24:775]: APPCOMPAT: no matching ProductCode found in database.
MSI (c) (10:B8) [16:55:24:775]: MSCOREE not loaded loading copy from system32
MSI (c) (10:B8) [16:55:24:785]: Looking for file transform: C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST
MSI (c) (10:B8) [16:55:24:785]: Unable to create a temp copy of transform 'C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST'.
MSI (c) (10:B8) [16:55:24:785]: Note: 1: 2203 2: C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST 3: -2147287037
MSI (c) (10:B8) [16:55:24:785]: Couldn't find cached transform C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST. Looking for it at the source.
MSI (c) (10:B8) [16:55:24:785]: Resolving source.
MSI (c) (10:B8) [16:55:24:785]: Resolving source to launched-from source.
MSI (c) (10:B8) [16:55:24:785]: Setting launched-from source as last-used.
MSI (c) (10:B8) [16:55:24:785]: SOURCEDIR ==> c:\temp\_is5F\
MSI (c) (10:B8) [16:55:24:785]: SOURCEDIR product ==> {F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}
MSI (c) (10:B8) [16:55:24:785]: Looking for file transform: C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST
MSI (c) (10:B8) [16:55:24:785]: Unable to create a temp copy of transform 'C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST'.
MSI (c) (10:B8) [16:55:24:785]: Note: 1: 2203 2: C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST 3: -2147287037
MSI (c) (10:B8) [16:55:24:785]: Couldn't find cached transform C:\WINDOWS\Installer\{F0BC0F9E-C4A8-485C-93ED-424DB9EA3F75}\1033.MST. Looking for it at the source.
MSI (c) (10:B8) [16:55:24:785]: Looking for file transform: c:\temp\_is5F\1033.MST
MSI (c) (10:B8) [16:55:24:795]: Original transform ==> c:\temp\_is5F\1033.MST
MSI (c) (10:B8) [16:55:24:795]: Transform we're running from ==> C:\temp\5d536d5.mst
MSI (c) (10:B8) [16:55:24:795]: Found missing cached transform c:\temp\_is5F\1033.MST. Adding it to re-cache list.
MSI (c) (10:B8) [16:55:24:795]: SOFTWARE RESTRICTION POLICY: Verifying transform --> 'c:\temp\_is5F\1033.MST' against software restriction policy
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: SOFTWARE RESTRICTION POLICY: c:\temp\_is5F\1033.MST is not digitally signed
MSI (c) (10:B8) [16:55:24:795]: SOFTWARE RESTRICTION POLICY: c:\temp\_is5F\1033.MST is permitted to run at the 'unrestricted' authorization level.
MSI (c) (10:B8) [16:55:24:795]: Validating transform 'C:\temp\5d536d5.mst' with validation bits 0
MSI (c) (10:B8) [16:55:24:795]: Transform 'C:\temp\5d536d5.mst' is valid.
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: _Tables 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: _Columns 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: Media 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: File 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: PatchPackage 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: TRANSFORM: 'PatchPackage' table is missing or empty. No pre-transform fixup necessary.
MSI (c) (10:B8) [16:55:24:795]: TRANSFORM: Applying regular transform to database.
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: _Tables 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: _Columns 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: ActionText 3: -2147287038
MSI (c) (10:B8) [16:55:24:795]: Note: 1: 2262 2: AdminExecuteSequence 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2262 2: Condition 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2262 2: AdminUISequence 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2262 2: AdvtExecuteSequence 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2262 2: AdvtUISequence 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2262 2: AppId 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2262 2: AppSearch 3: -2147287038
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2251 2: c:\temp\_is5F\Oracle Database 10g Express Edition.msi 3: Property
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2729
DEBUG: Error 2251: Database: c:\temp\_is5F\Oracle Database 10g Express Edition.msi Transform: Cannot delete row that doesn't exist. Table: Property
1: 2251 2: c:\temp\_is5F\Oracle Database 10g Express Edition.msi 3: Property
Error applying transforms. Verify that the specified transform paths are valid.
c:\temp\_is5F\1033.MST
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 1708
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2729
MSI (c) (10:B8) [16:55:24:805]: Note: 1: 2729
MSI (c) (10:B8) [16:55:24:805]: Product: Oracle Database 10g Express Edition -- Installation failed.
MSI (c) (10:B8) [16:55:24:805]: Attempting to delete file C:\temp\5d536d5.mst
MSI (c) (10:B8) [16:55:24:805]: Unable to delete the file. LastError = 32
=== Verbose logging stopped: 8/22/2007 16:55:24 ===
I am on my last attempt here if there are no other concrete solutions. Guess I will have to wait for 11g to make it to the Windows environment. Any other previous version of 10g that I can try???? -
Import/export in 10g express edition
hi all,
my application was runing in win2000server and 8i oracle. now i want to change to xp with 10g express edition.
i am geting error while importing data of 8i exported file in to 10g ED (as error 12899).it is missing the data while importing.
my data contain arabic charchters.
please help outORA-12899: value too large for column string (actual: string, maximum: string)
It breaks out character sets conversion from arabic to unicode. It needs
more length than arabic.
Can you create tables on Oracle10g XE before importing?
Oracle8i Oracle10g
CHAR(N) CHAR(N char)
VARCHAR2(N) VARCHAR2(N char) -
10g Express Edition; Problem saving updates in Script Editor
I'm running 10g Express Edition on Windows XP Media Center with SP3 with Internet Explorer 7.
I start with 'Go to Database Home Page'.
Then take the path Home>SQL>SQL Scripts>Script Editor;
I've created a Script called HW.
I make some changes to the script
Then I click the 'Save' button.
Then I click the icon for my HW script.
But when I look at my script my updates are not there.
This does not happen all the time.
Sometimes the save seems to work, and sometimes it doesn't.
I've noticed the same thing with Run. Sometimes my changes
will appear in the script that got Run. Sometimes they won't.
Any ideas on what I need to be doing to consistently Save my
updates in Script Editor? fwiw, I like Script Editor for what I need
to do - create scripts, export them as .sql files, etc. But I'm not
opposed to using another tool to do this.
Thanks.SQL> select owner,object_type,status from all_objects where lower(object_name) = 'dbms_xdb';
select owner,object_type,status from all_objects where lower(object_name) = 'dbms_xdb'
ERROR at line 1:
ORA-01219: database not open: queries allowed on fixed tables/views only
So, I have tried the following:
->
SQL> alter database open;
alter database open
ERROR at line 1:
ORA-01507: database not mounted
SQL> alter database mount;
alter database mount
ERROR at line 1:
ORA-00205: error in identifying control file, check alert log for more info
SQL> alter database create standby controlfile as 'ora_control1' reuse;
alter database create standby controlfile as 'ora_control1' reuse
ERROR at line 1:
ORA-01507: database not mounted
I'm quite confused right now. -
Not able to create partitions using Oracle 10g express edition
Hello Everyone,
I downloaded Oracle 10g express edition as the documentation for the same says that it supports partitioning of the table.
But when I try to run a command like
CREATE TABLE sales_range
(salesman_id NUMBER(5),
salesman_name VARCHAR2(30),
sales_amount NUMBER(10),
sales_date DATE)
PARTITION BY RANGE(sales_date)
PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
I get the following error
"ORA-00439: feature not enabled: Partitioning"
Please let me know what is causing the issue/error and how to resolve it.
Thanks.Where did you read that the express edition supports partitioning? I would strongly suspect that there was an error in the documentation-- partitioning is an extra cost option on top of an enterprise edition database. Perhaps you are confusing the personal edition (which does support partitioning) with the express edition?
Justin -
Oracle 10g express edition recovery catalog
whether oracle 10g express edition spoort recovery catalog?
Yes you can; the answer is in the manual.
>
In general, the rules of RMAN compatibility are as follows:
<li>You can create 8.X or 9.X RMAN catalog schema in any Oracle database release 8.1.X (or higher) and Release 10g RMAN catalog schema in any Oracle database release 9.0.1 (or higher).</li>
<li>The recovery catalog schema version must be greater than or equal to the RMAN client version.</li>
<li>Ideally, the versions of the RMAN client and the target database should be the same (although there are other legal combinations, listed in Table B-1).</li>
<li>While backing up a Release 10g database using the 9.X RMAN client, you cannot include a controlfile that was created using compatible=10.0.0 in a datafile backupset. The workaround is to turn controlfile autobackup ON.</li>
>
http://download.oracle.com/docs/cd/B12037_01/server.101/b10770/compat.htm
http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/backrest.htm#i1004902
XE questions are best answered here {forum:id=251}
Regards,
Phiri
Edited by: phiri on 02-Apr-2010 01:36 -
Oracle 10g express Edition Database
We are using oracle 10g express edition with a temporary storage space for a class using SQL. When creating and using the database, the data is being deleted after 1 or 2 days and students are having to start over, creating tables and inserting data. Any suggestions?
suggestions?Backups?
Or, as long as the DDLs and DMLs don't take long, rerunning table create and insert SQLs would probably be much faster than setting up the database(s) in archivelog mode and copying datafile/archivelog files or rman backup files someplace that won't get reimaged every other day.
Maybe you are looking for
-
Error while deploying a PAR file from NWDS into an ECC.
Hi all, I am getting this error while deploying a PAR file from NWDS into an ECC. Operation Failed: Please make sure the server is running or check the log (sap-plugin.log) for more detail. My server is running properly 1 - Where is sap-plugin.log fi
-
[ Edited by Apple Discussions Moderator; please start a new topic about your technical issue. ] I notice in the ad for the new MacBook that it is running OS 10.4.4. Any sense of when this will be released for older Macs? I believe the latest version
-
I don't recommend to buy more credits by bank transfer because I have made 2 times of 10 euros up to now I don't receive any credits.
-
Editing Script Component in VS2013 launches VS2012?
New SSIS developer here. Using VS Premium 2013 RTM (12.0.21005.1 REL) with SSDT 12.0.30919.1 and SQL Server Integration Services. I have a Business Intelligence -> Integration Services project (an SSIS project), and when I create a Script Component i
-
Error in table binding (Select an attribute of type string)
Dear All, I'm doing the <i>TUT_FLIGHTLIST</i>example of the webdynpro. Now i'm struck at the step of Table Binding. <b>System says that error for UI element...select an attribute of type string.</b>. Please suggest. Thanks, Anup.