OEM 10g... with 10g Release 2
Has anyone tried 10g Release2??
When i try to access OEM(Database Control), it gives me an error like:
java.lang.Exception: Exception in sending Request :: null
and the database instance's status is "pending".
I've stacked for 2 days.
Does anyone have the same problem or any idea?
(I already tried recreating Management Repository which didnt work...)
Thank you.
Yoshi
Topic 3) No, this is not correct, because dbconsole needs also an agent. This agent is an integrated part of dbconsole, it is started when dbconsole is started. In Grid Control the agent is a separate process, it has even its own ORACLE_HOME. That's the output I see on one of my machines:
C:\oraprog\emctl status agent
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Agent Version : 10.1.0.4.1
OMS Version : 10.1.0.4.0
Protocol Version : 10.1.0.2.0
Agent Home : C:\oracle\server\127.0.0.1_ORACLE
Agent binaries : C:\oracle\server
Agent Process ID : 212
Agent Process ID : 212
Agent URL : http://127.0.0.1:3938/emd/main
Started at : 2005-10-16 11:49:43
Started by user : SYSTEM
Last Reload : 2005-10-16 11:49:43
Last successful upload : 2005-10-16 11:53:45
Total Megabytes of XML files uploaded so far : 0.31
Number of XML files pending upload : 3
Size of XML files pending upload(MB) : 0.04
Available disk space on upload filesystem : 77.68%
Agent is Running and Ready
What could be wrong, if 'Agent is not running' is returned?
1) It's simply true for whatever reason (but there should be error messages)
2) ORACLE_HOME setting is wrong (PATH variable doesn't start with ORACLE_HOME\bin, where emctl is located). If this is the case, the agent is running, only the output is wrong.
You should examine, if there are errors in the log files. On my machine these are located in
C:\oracle\server\127.0.0.1_ORACLE\sysman\log .
You have to replace C:\oracle\server\127.0.0.1 with your own values.
Good luck
Werner
Similar Messages
-
Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0
Hello,
Maybe you can help me (new on RMAN backup) in doing this.
I have configured a single Oracle 10g database to have backup with RMAN with following steps:
1. $ mkdir $ORACLE_BASE/rman_scripts
2. $ mkdir $ORACLE_BASE/logs
3. $ mkdir $ORACLE_BASE/tracking
4. $ mkdir $ORACLE_BASE/c_backup
5. $ sqlplus sys/<password> as sysdba
6. SQL> alter system set db_recovery_file_dest_size = 50G scope=both;
7. SQL> alter system set db_recovery_file_dest='${ ORACLE_BASE}/flash_recovery_ area' scope=both;
8. SQL> alter system set log_archive_dest_10='location= use_db_recovery_file_dest';
9. SQL> shutdown immediate
10. SQL> startup nomount
11. SQL> alter database archivelog;
12. SQL> alter database open;
13. SQL> alter database enable block change tracking using file '${ORACLE_BASE}/tracking/rman_ change_track.f';
14. $ rman target /
15. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK
TO '/var/opt/oracle/flash_ recovery_area/ORCL/c_backup/% F';
16. RMAN> CONFIGURE CONTROLFILE AUTOBACKUP ON;
17. RMAN> CONFIGURE BACKUP OPTIMIZATION ON;
18. RMAN> CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS;
19. RMAN> exit
I need to configure incremental backup with RMAN on a two node Solaris x86 with Oracle RAC 10g Enterprise Edition Release 10.2.0.3.0 installation.
We also use ASM to store database files, and have Oracle software installed on separate file systems (two Oracle roots for Node1 and Node2).
I have following questions:
1) where to put Flash Recovery Area (FRA)?
I saw recommendations to put FRA on the ASM, is this the best way to do it?
2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
3) Is it possible/recommended to run RMAN from Node1 only?
Below is the script used to run RMAN on the normal Oracle database (without RAC) which I need to change :
=============================================================================================
2.0 Oracle backup script: /opt/app/oracle/rman_scripts/backup.sh
Use this for daily backups, possiblly as a cron job.
Once a week run this: /opt/app/oracle/rman_scripts/backup.sh FULL
All other days of the week: /opt/app/oracle/rman_scripts/backup.sh INCREMENTAL
Note: You may have to change ORACLE_SID, ORACLE_BASE below to match your database.
=============================================================================================
#!/usr/bin/ksh
ORACLE_SID=orcl
ORACLE_BASE=/opt/app/oracle
ORACLE_HOME=${ORACLE_BASE}/product/10.2.0/db_1
PATH=${ORACLE_HOME}/bin:/usr/bin
LOGDIR=${ORACLE_BASE}/logs
LOGFILE=${LOGDIR}/rman.log
if [[ $# < 1 ]]
then
echo "usage: backup.sh FULL|INCREMENTAL"
exit;
fi
BACKUPTYPE=${1}
full='FULL'
incremental='INCREMENTAL'
if [[ $BACKUPTYPE == $full ]]
then
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup database;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
echo ''
fi
if [[ $BACKUPTYPE == $incremental ]]
then
$ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
run {
backup database;
backup incremental level 1 database;
SQL 'alter system archive log current';
backup archivelog all;
delete noprompt obsolete;
exit;
eof
echo ''
fiHi [email protected],
Q1) where to put Flash Recovery Area (FRA)?
A1) With RAC: on the shared storage
I saw recommendations to put FRA on the ASM, is this the best way to do it?
If you want your backups to be available for both nodes you have to use shared storage or tape using an mml library.
So if you want to use the FRA for rman backups and the database is on ASM just make ASM the standard for the FRA as well.
Q2) Can I put FRA on another file system (not on the ASM) which is available only from Node1? This way I can save space on the ASM.
A2) Than you cannot recover in case Node1 is down. Best would be to send your storage admin to a training course so he can manage the clustered raw devices needed for ASM.
Q3) Is it possible/recommended to run RMAN from Node1 only?
A3) No see A2.
Regards,
Tycho -
Hi All,
I am getting Ora-03113 (End-of-Communication) while executing Java Stored procedure. Java Stored Procedure executes Sqlldr on server. Server OS is Linux 86x.
Database is -- Oracle with Infrastructure.
Oracle Database 10g Enterprise Edition Release 10.1.0.3.1 - Prod
PL/SQL Release 10.1.0.3.1 - Production
CORE 10.1.0.3.0 Production
TNS for Linux: Version 10.1.0.3.0 - Production
NLSRTL Version 10.1.0.3.0 - Production
Same java procedure was working properly when database was 10.1.0.2.1. Any suggestion
SKMCheck in Ur programs -Application Tool bar, Whether your have two oracle or not.
You can unintall the OLD version from your PC using the Oracle Unistaller -
Oracle JDev 10g with OAExt for Release 12 now on Metalink
The much awaited Oracle Jdev 10g with OAExt for Release 12 is now available on metalink through patch 5856648. Note : This jdev build will only work with the Oracle Apps Release 12 env and should not be used against a 11.5.10 env.
New features in reference of OAF also given in "Apps Technology Family RCD" (Note:404152.1)
Thanks, Avaneesh -
Re-instantiate Primary Database with 10g Release 1
How do you re-instiate the primary database with 10g Release 1. I am investigating how the failover process works and have successfully failed over to a standby.
I now want to re-instantiate the Primary... I know in Release 2 there is a DGMGRL command to re-instantiate... but there is no such command in Release 1 as far as I can see.See 10.3 Using Flashback Database After a Failover - http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10823/scenarios.htm#1017193 but it requires that you had flashback database enabled BEFORE you failed over. Also, there are a couple of Alerts out there for early versions of 10.1 and this procedure in the event you did a failover where there was data loss. See Note 388516.1 ALERT: Flashing Back a Primary Database into a Physical Standby May Fail and Note 376340.1 ALERT: Reinstating old primary database as a logical standby database after a Data Guard "No Data Loss" Failover for more information.
The Broker did not have that capability in 10.1 so you have to use the manual method. You will have to remove the failed primary from your Broker configuration first, reinstate it and then add it back in.
If you did not have flashback database enabled on the Primary before you did the fail over then you must rebuild the old primary as a new standby with a complete new backup from the new primary.
Larry -
Can I have a 9i OEM with 10g Database for repository?
Guys
I plan to move our OEM from 9i to 10g in a planned manner.
I want to know, as a first step, if the OEM itself can stay at 9i and the repository database can be moved to 10g.
Second: if I move OEM & repository to 10g, can I monitor 9i & 8i DBs?
ThanksI want to know, as a first step, if the OEM itself
can stay at 9i and the repository database can be
moved to 10g.I don't see why you would consider this....If you do a new installation of GC 10g, it will take care of creating the 10g database and creating the repository. So, this step isn't necessary.
Second: if I move OEM & repository to 10g, can I
monitor 9i & 8i DBs?You will be able to monitor 9i dbs and also 8i dbs...However, the features available for monitoring these versions isn't great. I recommend you keep your 9i OEM to monitor them. As you upgrade these target dbs to 10g, you can add them to your new 10g Management server. -
GUIDE TO RUNNING EXTERNAL JOBS ON 10g WITH DBMS_SCHEDULER
NOTE: Users using 11g should use the new method of specifying a credential which eliminates many of the issues mentioned in this note.
This guide covers several common questions and problems encountered when using
dbms_scheduler to run external jobs, either on Windows or on UNIX.
What operating system (OS) user does the job run as ?
External jobs which have a credential (available in 11g) run as the user
specified in the credential. But for jobs without credentials including
all jobs in 10gR1 and 10gR2 there are several cases.
- On UNIX systems, in releases including and after 10.2.0.2 there is a file $ORACLE_HOME/rdbms/admin/externaljob.ora . All external jobs not in the SYS schema and with no credential run as the user and group specified in this file. This should be nobody:nobody by default.
- On UNIX systems, in releases prior to 10.2.0.2 there was no "externaljob.ora" file. In this case all external jobs not in the SYS schema and with no credential run as the owner and group of the $ORACLE_HOME/bin/extjob file which should be setuid and setgid. By default extjob is owned by nobody:nobody except for oracle-xe where it is owned by oracle:oraclegroup and is not setuid/setgid.
- On Windows, external jobs not in the SYS schema and with no credential run as the user that the OracleJobScheduler Windows service runs as. This service must be started before these jobs can run.
- In all releases on both Windows and UNIX systems, external jobs in the SYS schema without a credential run as the oracle user.
What errors are reported in SCHEDULERJOB_RUN_DETAILS views ?
If a job fails, the first place to look for diagnostic information is the SCHEDULERJOB_RUN_DETAILS set of views. In 10gR2 and up the first 200 characters of the standard error stream is included in the additional_info column.
In all releases, the error number returned by the job is converted into a
system error message (e.g. errno.h on UNIX or net helpmsg on Windows) and that
system error message is recorded in the additional info column. If there is no
corresponding message the number is displayed.
In 11g and up the error number returned by the job is additionally recorded in
the error# column. In earlier releases 27369 would always be recorded in the
error# column.
Generic Issues Applicable to UNIX and Windows
- The job action (script or executable) must return 0 or the job run will be marked as failed.
- Always use the full pathname to executables and scripts.
- Do not count on environment variables being set in your job. Make sure that the script or executable that your jobs runs sets all required environment variables including ORACLE_HOME, ORACLE_SID, PATH etc.
- It is not recommended to pass in a complete command line including arguments as the action. Instead it is recommended to pass in only the path to and name of the executable and to pass in arguments as job argument values.
- Scripts with special characters in the execution path or script name may give problems.
- Ensure that the OS user your job runs as has the required privileges/permissions to run your job. See above for how to tell who the job runs as.
- External job actions cannot contain redirection operators e.g. > < >> | && ||
- In general try getting a simple external job working first e.g. /bin/echo or ipconfig.exe on Windows. Also try running the job action directly from the commandline as the OS user that the job will run as.
Windows-specific Issues
- The OracleJobScheduler Windows service must be started before external jobs will run (except for jobs in the SYS schema and jobs with credentials).
- The user that the OracleJobScheduler Windows service runs as must have the "Log on as batch job" Windows privilege.
- A batch file (ending in .bat) cannot be called directly by the Scheduler. Instead cmd.exe must be used and the name of the batch file passed in as an argument. For example
begin
dbms_scheduler.create_job('myjob',
job_action=>'C:\WINDOWS\SYSTEM32\CMD.EXE',
number_of_arguments=>3,
job_type=>'executable', enabled=>false);
dbms_scheduler.set_job_argument_value('myjob',1,'/q');
dbms_scheduler.set_job_argument_value('myjob',2,'/c');
dbms_scheduler.set_job_argument_value('myjob',3,'c:\temp\test.bat');
dbms_scheduler.enable('myjob');
end;
/- In 10gR1 external jobs that wrote to standard output or standard error streams would sometimes return errors. Redirect to files or suppress all output and error messages when using 10gR1 to run external jobs.
UNIX-specific Issues
- When running scripts, make sure that the executable bit is set.
- When running scripts directly, make sure that the first line of the script in a valid shebang line - starting with "#!" and containing the interpreter for the script.
- In release 10.2.0.1, jobs creating a large amount of standard error text may hang when running (this was fixed in the first 10.2.0.2 patchset). If you are seeing this issue, redirect standard error to a file in your job. This issue has been seen when running the expdp utility which may produce large amounts of standard error text.
- the user that the job runs as (see above section) must have execute access on $ORACLE_HOME/bin and all parent directories. If this is not the case the job may be reported as failed or hang in a running state. For example if your $ORACLE_HOME is /opt/oracle/db then you would have to make sure that
chmod a+rx /opt
chmod a+rx /opt/oracle
chmod a+rx /opt/oracle/db
chmod a+rx /opt/oracle/db/bin
- On oracle-xe, the primary group of your oracle user (if it exists) must be dba before you install oracle-xe for external jobs to work. If you have an oracle user from a regular Oracle installation it may have the primary group set to oinstall.
- On oracle-xe, the extjobo executable is missing so external jobs in the SYS schema will not work properly. This can be fixed by copying the extjob executable to extjobo in the same directory ($ORACLE_HOME/bin).
- Check that correct permissions are set for external job files - extjob and externaljob.ora (see below)
Correct permissions for extjob and externaljob.ora on UNIX
There is some confusion as to what correct permissions are for external job related files.
In 10gR1 and 10.2.0.1 :
- rdbms/admin/externaljob.ora should not exist
- bin/extjob should be setuid and setgid 6550 (r-sr-s---). It should be owned by the user that jobs should run as and by the group that jobs should run as.
- bin/extjobo should have normal 755 (rwxr-xr-x) permissions and be owned by oracle:oraclegroup
In 10.2.0.2 and higher
- rdbms/admin/externaljob.ora file must must be owned by root:oraclegroup and be writable only by the owner i.e. 644 (rw-r--r--) It must contain at least two lines: one specifying the run-user and one specifying the run-group.
- bin/extjob file must be also owned by root:oraclegroup but must be setuid i.e. 4750 (-rwsr-x---)
- bin/extjobo should have normal 755 (rwxr-xr-x) permissions and be owned by oracle:oraclegroup
In 11g and higher
Same as 10.2.0.2 but additionally bin/jssu should exist with root setuid
permissions i.e. owned by root:oraclegroup with 4750 (-rwsr-x---)
Internal Error numbers for UNIX on 10.2.0.2 or 10.1.0.6 or higher
If you are not using a credential and are using version 10.2.0.2 or higher or 10.1.0.6 or higher you may come across an internal error number. Here are the meanings for the internal error numbers.
274661 - can't get owner of or permissions of externaljob.ora file
274662 - not running as root or externaljob.ora file is writable by group or other or externaljob.ora file not owned by root (can't switch user)
274663 - setting the group or effective group failed
274664 - setting the user or effective user failed
274665 - a user or group id was not changed successfully
274666 - cannot access or open externaljob.ora file
274667 - invalid run_user specified in externaljob.ora file
274668 - invalid run_group specified in externaljob.ora file
274669 - error parsing externaljob.ora file
274670 - extjobo is running as root user or groupHi Ravi,
Can you help me...
Hi All,
I planned to create a job to do rman backup daily at 04:00 AM.
1. I created a program as follows
BEGIN
DBMS_SCHEDULER.CREATE_PROGRAM(
program_name => 'rman_backup_prg',
program_action => '/u02/rmanback/rman.sh',
program_type => 'EXECUTABLE',
comments => 'RMAN BACKUP');
END;
my rman script is
#!/usr/bin/ksh
export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
export PATH=$PATH:/u01/app/oracle/product/10.2.0/db_1/bin
/u01/app/oracle/product/10.2.0/db_1/bin/exp rman/cat@catdb file=/u02/rmanback/rm
an_220108.dmp log=/u02/rmanback/rman_220108.log owner=rman statistics=none comp
ress=n buffer=400000
compress *.dmp
exit
2. I created a schedule as follows
BEGIN
DBMS_SCHEDULER.CREATE_SCHEDULE(
schedule_name => 'rman_backup_schedule',
start_date => SYSTIMESTAMP,
end_date => '31-DEC-16 05.00.00 AM',
repeat_interval => 'FREQ=DAILY; BYHOUR=4',
comments => 'Every day at 4 am');
END;
3. I created ajob as follows.
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => 'rman_backup_job',
program_name => 'rman_backup_prg',
schedule_name => 'rman_backup_schedule',
enabled=> true,
auto_drop=> false
END;
While I am running the job I am getting the following error anybody help me.
ORA-27369: job of type EXECUTABLE failed with exit code: Not owner
ORA-06512: at "SYS.DBMS_ISCHED", line 150
ORA-06512: at "SYS.DBMS_SCHEDULER", line 441
ORA-06512: at line 2
If I removed "compress *.dmp" line in rman script it is working fine.
/* additional Info from dba_scheduler_job_run_details as follows */
ORA-27369: job of type EXECUTABLE failed with exit code: Not owner
STANDARD_ERROR="
Export: Release 10.2.0.3.0 - Production on Tue Jan 22 14:30:08 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Release 10.2.0.3.0 - Production
Export"
Regards,
Kiran -
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 Enterprise Manager 10g Database Control Release 10.2.0.3.0
Oracle Enterprise Manager 10g Database Control Release 10.2.0.3.0 is one hour behiend on AIX 5.3.
I have installed the new timezone version 4 already by oracle DST path database is good OEM main page is showing one hour behiend.
I have done every possible effort last thing may be i have to update java home i have 1.4 IBM java on the server.
Please help me in this. Thanks.See the Metalink Note *Impact Document for Daylight Saving Time Shift for Enterprise Manager Grid Control [ID 417939.1]* Appendix B - FAQ - point 18
What is the impact of not patching the JDK on the OMS for 10g Grid Control?
If you do not patch the JDK on the OMS page refreshed times and possibly other times displayed in the console will be incorrect (they will be off by 1 hour) during an affected period.
Oracle strongly recommends that you do patch the OMS JDK but we are not aware of any data corruption in the repository nor of any impact on critical EM functionalities (such as severities, notifications and jobs) when the JDK is not patched. -
Oracle 10g with JRUN 4.0
Hi,
I am new to this side... & Secondly i am not a Java expert .... I am a Oracle DBA....
We are using Oracle 10g with JRUN 4.0 ...... In Oracle i define all the paramters properly... I thing some how we are unable to configure our JRUN 4.0 successfully... due to this we are facing a "Connection Pooling" problem in JRUN .... Everytime we need to restart our JRUN... to release the connections..
What are ways to handled the connection pooling in JRUN .... & what are necessary setting w e have to do in "jrun-resources.xml " and "jrun.xml " to handled connection pooling.
Regard
Manihttp://livedocs.macromedia.com/jrun/4/JRun_Administrators_Guide/resources2.htm
this might help -
Oracle Enterprise Manager 10g Grid Control Release 5
Hi All,
Has anyone here already using Oracle Enterprise Manager 10g Grid Control Release 5? Currently we are using Release 2 of Oracle Enterprise Manager as a package upon installation of Oracle 10g. Curious about Release 5 I want to try it out in our Dev Environment. But before making any changes. I would like to ask guidance from you.
Upon installation does it needs Operating System Patches, Packages etc.? Currently we are using AIX 5L Based Systems (64-Bit) and 10g for Database. Is this a complete installation or Just an upgrade?
Regards,
DexterWe are using 10.2.0.5 on windows.
10.2.0.5 is just an upgrade
How to install and upgrade on AIX?
http://www.oracle.com/technology/software/products/oem/htdocs/Grid_Control_10.2.0.5.0_AIX5L_readme.html
quick installation quide.
http://download.oracle.com/docs/cd/B19306_01/install.102/b28033.pdf
Hope that will help you.
Anil Malkai -
Which 9i Client with 10g on Linux
Hi -
try to get SUSE Linux server 8.0 going with 10g standalone.
JDK is 1.4.2_01.
I have installed Oracle9i client and DB release 9.2.0.1 to get OCI connectivity.
The app server starts fine, JSP comes up ok but the moment I try to get an OCI connection it aborts.
This is the error:
Library=/home/oracle9i/Oracle9iDB/lib/libclntsh.so
Current Java Thread:
at oracle.jdbc.oci8.OCIDBAccess.make_c_state.....
I have downloaded the 9.2.0.1 JDBC dirver again but still the same...
Any help appreciated
Tks
AndreHi - This is the full log file dump
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x4F4344A6
Function=kpuhhalo+0x26
Library=/home/oracle9i/Oracle9iDB/lib/libclntsh.so
Current Java thread:
at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:458)
- locked <0x44790228> (a oracle.jdbc.oci8.OCIDBAccess)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:374)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:515)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:345)
at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:181)
at com.evermind.sql.DriverManagerConnectionPoolDataSource.getPooledConnection(DriverManagerConnectionPoolDataSource.java:36)
at com.evermind.sql.OrionPooledDataSource.getPooledConnection(OrionPooledDataSource.java:543)
at com.evermind.sql.PooledConnectionUsage.getPooledConnection(PooledConnectionUsage.java:22)
at com.evermind.sql.OrionPooledDataSource.getConnection(OrionPooledDataSource.java:323)
at com.evermind.sql.OrionCMTConnection.setConnection(OrionCMTConnection.java:188)
at com.evermind.sql.OrionCMTConnection.intercept(OrionCMTConnection.java:138)
at com.evermind.sql.OrionCMTConnection.setAutoCommit(OrionCMTConnection.java:476)
at com.evermind.sql.FilterConnection.setAutoCommit(FilterConnection.java:61)
at Util_Connect.DataBase.getPoolConnection(DataBase.java:32)
- locked <0x49132008> (a java.lang.Class)
at Util_Connect.DataBase.getPoolConnection(DataBase.java:16)
- locked <0x49132008> (a java.lang.Class)
at SystemImpact.getConnection(SystemImpact.java:219)
at SystemImpact.service(SystemImpact.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:356)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:614)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:784)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
Dynamic libraries:
08048000-0804e000 r-xp 00000000 03:03 105430 /usr/java/j2sdk1.4.2_01/bin/java
0804e000-0804f000 rw-p 00005000 03:03 105430 /usr/java/j2sdk1.4.2_01/bin/java
40000000-40015000 r-xp 00000000 03:03 9433 /lib/ld-2.2.5.so
40015000-40016000 rw-p 00014000 03:03 9433 /lib/ld-2.2.5.so
40017000-4001f000 r-xp 00000000 03:03 104801 /usr/java/j2sdk1.4.2_01/jre/lib/i386/native_threads/libhpi.so
4001f000-40020000 rw-p 00007000 03:03 104801 /usr/java/j2sdk1.4.2_01/jre/lib/i386/native_threads/libhpi.so
40020000-40021000 r--s 00000000 03:03 111578 /home/oracle9i/jdev905/j2ee/home/applib/Util_Connect.jar
40021000-4002f000 r-xp 00000000 03:03 9455 /lib/libpthread.so.0
4002f000-40037000 rw-p 0000d000 03:03 9455 /lib/libpthread.so.0
40037000-40039000 r-xp 00000000 03:03 9443 /lib/libdl.so.2
40039000-4003b000 rw-p 00001000 03:03 9443 /lib/libdl.so.2
4003b000-40158000 r-xp 00000000 03:03 9439 /lib/libc.so.6
40158000-4015f000 rw-p 0011c000 03:03 9439 /lib/libc.so.6
40164000-4055e000 r-xp 00000000 03:03 104807 /usr/java/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so
4055e000-4057a000 rw-p 003f9000 03:03 104807 /usr/java/j2sdk1.4.2_01/jre/lib/i386/client/libjvm.so
4058c000-4059e000 r-xp 00000000 03:03 9446 /lib/libnsl.so.1
4059e000-405a0000 rw-p 00011000 03:03 9446 /lib/libnsl.so.1
405a2000-405c3000 r-xp 00000000 03:03 9444 /lib/libm.so.6
405c3000-405c5000 rw-p 00020000 03:03 9444 /lib/libm.so.6
405c5000-405c9000 rw-s 00000000 03:03 65409 /tmp/hsperfdata_oracle9i/1835
405c9000-405d9000 r-xp 00000000 03:03 104812 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libverify.so
405d9000-405db000 rw-p 0000f000 03:03 104812 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libverify.so
405db000-405fb000 r-xp 00000000 03:03 104813 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libjava.so
405fb000-405fd000 rw-p 0001f000 03:03 104813 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libjava.so
405fd000-40611000 r-xp 00000000 03:03 104815 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libzip.so
40611000-40614000 rw-p 00013000 03:03 104815 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libzip.so
40614000-41fac000 r--s 00000000 03:03 110214 /usr/java/j2sdk1.4.2_01/jre/lib/rt.jar
41ff6000-4200c000 r--s 00000000 03:03 104842 /usr/java/j2sdk1.4.2_01/jre/lib/sunrsasign.jar
4200c000-420e7000 r--s 00000000 03:03 110215 /usr/java/j2sdk1.4.2_01/jre/lib/jsse.jar
420e7000-420f8000 r--s 00000000 03:03 104843 /usr/java/j2sdk1.4.2_01/jre/lib/jce.jar
420f8000-42651000 r--s 00000000 03:03 110216 /usr/java/j2sdk1.4.2_01/jre/lib/charsets.jar
446f9000-446fc000 r--s 00000000 03:03 104839 /usr/java/j2sdk1.4.2_01/jre/lib/ext/dnsns.jar
446fc000-44700000 r--s 00000000 03:03 101780 /home/oracle9i/jdev905/j2ee/home/lib/ejb.jar
4c780000-4c7ab000 r--p 00000000 03:03 17293 /usr/lib/locale/en_US/LC_CTYPE
4c7ab000-4c7c2000 r-xp 00000000 03:03 140792 /home/oracle9i/Oracle9iClient/lib/libocijdbc9.so
4c7c2000-4c7c3000 rw-p 00016000 03:03 140792 /home/oracle9i/Oracle9iClient/lib/libocijdbc9.so
4c7c3000-4c7c4000 r-xp 00000000 03:03 140700 /home/oracle9i/Oracle9iClient/lib/libwtc9.so
4c7c4000-4c7c6000 rw-p 00000000 03:03 140700 /home/oracle9i/Oracle9iClient/lib/libwtc9.so
4cd15000-4cd31000 r--s 00000000 03:03 104838 /usr/java/j2sdk1.4.2_01/jre/lib/ext/sunjce_provider.jar
4cd31000-4cd3e000 r--s 00000000 03:03 104841 /usr/java/j2sdk1.4.2_01/jre/lib/ext/ldapsec.jar
4cd3e000-4cdfa000 r--s 00000000 03:03 110217 /usr/java/j2sdk1.4.2_01/jre/lib/ext/localedata.jar
4cdfa000-4d364000 r--s 00000000 03:03 101805 /home/oracle9i/jdev905/j2ee/home/oc4j.jar
4d364000-4d372000 r--s 00000000 03:03 101801 /home/oracle9i/jdev905/j2ee/home/lib/servlet.jar
4d372000-4d413000 r--s 00000000 03:03 101800 /home/oracle9i/jdev905/j2ee/home/lib/ojsp.jar
4d413000-4d42c000 r--s 00000000 03:03 101794 /home/oracle9i/jdev905/j2ee/home/lib/jndi.jar
4d42c000-4d42e000 r--s 00000000 03:03 101788 /home/oracle9i/jdev905/j2ee/home/lib/jdbc.jar
4d42e000-4d569000 r--s 00000000 03:03 101681 /home/oracle9i/jdev905/j2ee/home/iiop.jar
4d569000-4d573000 r--s 00000000 03:03 101682 /home/oracle9i/jdev905/j2ee/home/iiop_gen_bin.jar
4d573000-4d57a000 r--s 00000000 03:03 101790 /home/oracle9i/jdev905/j2ee/home/lib/jms.jar
4d57a000-4d57d000 r--s 00000000 03:03 101798 /home/oracle9i/jdev905/j2ee/home/lib/jta.jar
4d57d000-4d5d4000 r--s 00000000 03:03 101792 /home/oracle9i/jdev905/j2ee/home/lib/jmxri.jar
4d5d4000-4d5e4000 r-xp 00000000 03:03 104818 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libnet.so
4d5e4000-4d5e5000 rw-p 0000f000 03:03 104818 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libnet.so
4d5e5000-4d5e9000 r--s 00000000 03:03 101784 /home/oracle9i/jdev905/j2ee/home/lib/javax77.jar
4d5e9000-4d5ee000 r--s 00000000 03:03 101777 /home/oracle9i/jdev905/j2ee/home/lib/connector.jar
4d5ee000-4d5ef000 r--s 00000000 03:03 104201 /home/oracle9i/jdev905/lib/xsqlserializers.jar
4d5ef000-4d5f8000 r-xp 00000000 03:03 9450 /lib/libnss_files.so.2
4d5f8000-4d5f9000 rw-p 00008000 03:03 9450 /lib/libnss_files.so.2
4d5f9000-4d601000 r--s 00000000 03:03 101785 /home/oracle9i/jdev905/j2ee/home/lib/javax88.jar
4d601000-4d66e000 r--s 00000000 03:03 104194 /home/oracle9i/jdev905/lib/dms.jar
4d66e000-4d67d000 r--s 00000000 03:03 101778 /home/oracle9i/jdev905/j2ee/home/lib/cos.jar
4d67d000-4d6fb000 r--s 00000000 03:03 101796 /home/oracle9i/jdev905/j2ee/home/lib/jsse.jar
4d6fb000-4d6fd000 r--s 00000000 03:03 101795 /home/oracle9i/jdev905/j2ee/home/lib/jnet.jar
4d6fd000-4d700000 r--s 00000000 03:03 101787 /home/oracle9i/jdev905/j2ee/home/lib/jcert.jar
4d700000-4d70c000 r--s 00000000 03:03 101776 /home/oracle9i/jdev905/j2ee/home/lib/activation.jar
4d70c000-4d751000 r--s 00000000 03:03 101799 /home/oracle9i/jdev905/j2ee/home/lib/mail.jar
4d751000-4d857000 r--s 00000000 03:03 101868 /home/oracle9i/jdev905/javavm/lib/jasper.zip
4d857000-4d8ff000 r--s 00000000 03:03 104200 /home/oracle9i/jdev905/lib/xmlparserv2.jar
4d8ff000-4d906000 r--s 00000000 03:03 101786 /home/oracle9i/jdev905/j2ee/home/lib/jaxp.jar
4d906000-4d920000 r--s 00000000 03:03 101782 /home/oracle9i/jdev905/j2ee/home/lib/jaas.jar
4d920000-4d961000 r--s 00000000 03:03 101684 /home/oracle9i/jdev905/j2ee/home/jazn.jar
4d961000-4d9ee000 r--s 00000000 03:03 101763 /home/oracle9i/jdev905/j2ee/home/jazncore.jar
4d9ee000-4db0e000 r--s 00000000 03:03 101872 /home/oracle9i/jdev905/jdbc/lib/classes12dms.jar
4db0e000-4dcce000 r--s 00000000 03:03 101873 /home/oracle9i/jdev905/jdbc/lib/nls_charset12.jar
4dcce000-4dd17000 r--s 00000000 03:03 104240 /home/oracle9i/jdev905/soap/lib/soap.jar
4dd17000-4dd3f000 r--s 00000000 03:03 104268 /home/oracle9i/jdev905/webservices/lib/wsserver.jar
4dd3f000-4dd63000 r--s 00000000 03:03 104266 /home/oracle9i/jdev905/webservices/lib/wsdl.jar
4dd63000-4de18000 r--s 00000000 03:03 104235 /home/oracle9i/jdev905/rdbms/jlib/aqapi.jar
4de18000-4de80000 r--s 00000000 03:03 101789 /home/oracle9i/jdev905/j2ee/home/lib/jem.jar
4de80000-4deb9000 r--s 00000000 03:03 101781 /home/oracle9i/jdev905/j2ee/home/lib/http_client.jar
4deb9000-4dec6000 r--s 00000000 03:03 104165 /home/oracle9i/jdev905/jlib/jssl-1_1.jar
4dec6000-4dfd9000 r--s 00000000 03:03 104167 /home/oracle9i/jdev905/jlib/ldapjclnt9.jar
4dfd9000-4dfde000 r--s 00000000 03:03 104160 /home/oracle9i/jdev905/jlib/javax-ssl-1_1.jar
4dfde000-4e052000 r--s 00000000 03:03 104247 /home/oracle9i/jdev905/sqlj/lib/runtime12ee.jar
4e052000-4e438000 r--s 00000000 03:03 104249 /home/oracle9i/jdev905/sqlj/lib/translator.jar
4e438000-4e46b000 r--s 00000000 03:03 101779 /home/oracle9i/jdev905/j2ee/home/lib/crimson.jar
4e46b000-4e472000 r--s 00000000 03:03 111582 /home/oracle9i/jdev905/j2ee/home/applib/WizPPMED.jar
4e472000-4e49b000 r--s 00000000 03:03 111583 /home/oracle9i/jdev905/j2ee/home/applib/wizprepaid.jar
4e49b000-4e49e000 r--s 00000000 03:03 111579 /home/oracle9i/jdev905/j2ee/home/applib/Util_XML.jar
4e49e000-4e518000 r--s 00000000 03:03 111581 /home/oracle9i/jdev905/j2ee/home/applib/WizIsis.jar
4e518000-4e577000 r--s 00000000 03:03 111572 /home/oracle9i/jdev905/j2ee/home/applib/ejbjar.jar
4e577000-4e698000 r--s 00000000 03:03 111576 /home/oracle9i/jdev905/j2ee/home/applib/ojdbc14.jar
4e698000-4e6ef000 r--s 00000000 03:03 111574 /home/oracle9i/jdev905/j2ee/home/applib/log4j-1.2.8.jar
4e6ef000-4e756000 r--s 00000000 03:03 111575 /home/oracle9i/jdev905/j2ee/home/applib/MtnIsisJar.jar
4e756000-4e758000 r--s 00000000 03:03 111577 /home/oracle9i/jdev905/j2ee/home/applib/Util_Class.jar
4e758000-4e75c000 r--s 00000000 03:03 111580 /home/oracle9i/jdev905/j2ee/home/applib/WizardNis.jar
4e75c000-4e796000 r--s 00000000 03:03 101387 /home/oracle9i/jdev905/BC4J/lib/bc4j_jclient_common.jar
4e796000-4e912000 r--s 00000000 03:03 101393 /home/oracle9i/jdev905/BC4J/lib/bc4jmt.jar
4e912000-4e952000 r--s 00000000 03:03 101395 /home/oracle9i/jdev905/BC4J/lib/collections.jar
4e952000-4e99c000 r--s 00000000 03:03 101391 /home/oracle9i/jdev905/BC4J/lib/bc4jhtml.jar
4e99c000-4e9ac000 r--s 00000000 03:03 101394 /home/oracle9i/jdev905/BC4J/lib/bc4jmtejb.jar
4e9ac000-4e9be000 r--s 00000000 03:03 101390 /home/oracle9i/jdev905/BC4J/lib/bc4jdomorcl.jar
4e9be000-4e9df000 r--s 00000000 03:03 101396 /home/oracle9i/jdev905/BC4J/lib/datatags.jar
4e9df000-4e9e5000 r--s 00000000 03:03 101389 /home/oracle9i/jdev905/BC4J/lib/bc4jctejb.jar
4e9e5000-4e9f9000 r--s 00000000 03:03 101392 /home/oracle9i/jdev905/BC4J/lib/bc4jimdomains.jar
4e9f9000-4eabf000 r--s 00000000 03:03 101386 /home/oracle9i/jdev905/BC4J/lib/adfm.jar
4eabf000-4eb7e000 r--s 00000000 03:03 101388 /home/oracle9i/jdev905/BC4J/lib/bc4jct.jar
4eb7e000-4eb84000 r--s 00000000 03:03 104168 /home/oracle9i/jdev905/jlib/ojmisc.jar
4eb84000-4eb96000 r--s 00000000 03:03 104230 /home/oracle9i/jdev905/ord/jlib/ordim.jar
4eb96000-4ebab000 r--s 00000000 03:03 104228 /home/oracle9i/jdev905/ord/jlib/ordhttp.jar
4ebab000-4ebb9000 r--s 00000000 03:03 104172 /home/oracle9i/jdev905/jlib/share.jar
4ebb9000-4ebc1000 r--s 00000000 03:03 104170 /home/oracle9i/jdev905/jlib/regexp.jar
4ebc1000-4ebd7000 r--s 00000000 03:03 104162 /home/oracle9i/jdev905/jlib/jdev-cm.jar
4ebd7000-4ec9d000 r--s 00000000 03:03 104195 /home/oracle9i/jdev905/lib/dsv2.jar
4ec9d000-4ed0d000 r--s 00000000 03:03 104237 /home/oracle9i/jdev905/rdbms/jlib/xsu12.jar
4ed0d000-4ed3c000 r--s 00000000 03:03 101771 /home/oracle9i/jdev905/j2ee/home/jsp/lib/taglib/jaxen-full.jar
4ed3c000-4edad000 r--s 00000000 03:03 101772 /home/oracle9i/jdev905/j2ee/home/jsp/lib/taglib/ojsputil.jar
4edad000-4ee08000 r--s 00000000 03:03 101774 /home/oracle9i/jdev905/j2ee/home/jsp/lib/taglib/standard.jar
4ee08000-4ee0e000 r--s 00000000 03:03 101773 /home/oracle9i/jdev905/j2ee/home/jsp/lib/taglib/saxpath.jar
4ee0e000-4ee34000 r--s 00000000 03:03 104198 /home/oracle9i/jdev905/lib/oraclexsql.jar
4ee34000-4f0ba000 r--s 00000000 03:03 104155 /home/oracle9i/jdev905/jlib/bigraphbean.jar
4f0ba000-4f169000 r--s 00000000 03:03 104154 /home/oracle9i/jdev905/jlib/bigraphbean-nls.zip
4f169000-4f2ad000 r--s 00000000 03:03 104164 /home/oracle9i/jdev905/jlib/jewt4.jar
4f2ad000-4f2e9000 r--s 00000000 03:03 104163 /home/oracle9i/jdev905/jlib/jewt4-nls.jar
4f2e9000-4f2ea000 r--s 00000000 03:03 101568 /home/oracle9i/jdev905/j2ee/home/default-web-app/WEB-INF/lib/looptags.jar
4f2ea000-4f2ee000 r-xp 00000000 03:03 104829 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libioser12.so
4f2ee000-4f2ef000 rw-p 00003000 03:03 104829 /usr/java/j2sdk1.4.2_01/jre/lib/i386/libioser12.so
4f2f3000-4f2f6000 r-xp 00000000 03:03 9448 /lib/libnss_dns.so.2
4f2f6000-4f2f7000 rw-p 00002000 03:03 9448 /lib/libnss_dns.so.2
4f2f7000-4f304000 r-xp 00000000 03:03 9456 /lib/libresolv.so.2
4f304000-4f306000 rw-p 0000c000 03:03 9456 /lib/libresolv.so.2
4f308000-4fbc2000 r-xp 00000000 03:03 139864 /home/oracle9i/Oracle9iDB/lib/libclntsh.so.9.0
4fbc2000-4fbfc000 rw-p 008b9000 03:03 139864 /home/oracle9i/Oracle9iDB/lib/libclntsh.so.9.0
Heap at VM Abort:
Heap
def new generation total 576K, used 505K [0x44700000, 0x447a0000, 0x44be0000)
eden space 512K, 93% used [0x44700000, 0x44777620, 0x44780000)
from space 64K, 42% used [0x44790000, 0x44796e10, 0x447a0000)
to space 64K, 0% used [0x44780000, 0x44780000, 0x44790000)
tenured generation total 4016K, used 2481K [0x44be0000, 0x44fcc000, 0x48700000)
the space 4016K, 61% used [0x44be0000, 0x44e4c7c8, 0x44e4c800, 0x44fcc000)
compacting perm gen total 11264K, used 11126K [0x48700000, 0x49200000, 0x4c700000)
the space 11264K, 98% used [0x48700000, 0x491dda60, 0x491ddc00, 0x49200000)
Local Time = Fri Sep 26 11:48:15 2003
Elapsed Time = 11
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode) -
Two problems in BSBM benchmark of Oracle 10g with Jena Adaptor 2.0
Hi, all.
I'm proceeding BSBM benchmark for Oracle 10g with Jena Adaptor 2.0.
I'm using the codes that were introduced in Jena Adaptor 2.0 guide document, and I've applied Jena patches to Oracle 10g (10.2.0).
But, two problems are occured in benchmark process.
The first problem is
that 250k dataset(consisted of 250030 triples) loading time elapses over several hours, (See below code snippet.)
and the other is
that exceptions are occured in some sparql query execution.
I used below queries which have no error in query syntax.
I confirmed that through other benchmark tests.
In case of oracle benchmark test, quey1 is ok. but, query2 makes exception.
Please, look about the Exception message below.
What should I do for getting much better benchmark result?
I appreciate any help or any hint.
Best regards ~
### Query 1 ###
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?product ?label
WHERE {
?product rdfs:label ?label .
?product a <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/ProductType18> .
?product bsbm:productFeature <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/ProductFeature833> .
?product bsbm:productFeature <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/ProductFeature61> .
?product bsbm:productPropertyNumeric1 ?value1 .
FILTER (?value1 > 136)
ORDER BY ?label
LIMIT 10
### Query 2 ###
PREFIX bsbm-inst: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/>
PREFIX bsbm: <http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>
SELECT ?label ?comment ?producer ?productFeature ?propertyTextual1 ?propertyTextual2 ?
propertyTextual3
?propertyNumeric1 ?propertyNumeric2 ?propertyTextual4 ?propertyTextual5 ?propertyNumeric4
WHERE {
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
rdfs:label ?label .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
rdfs:comment ?comment .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:producer ?p .
?p rdfs:label ?producer .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
dc:publisher ?p .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productFeature ?f .
?f rdfs:label ?productFeature .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual1 ?propertyTextual1 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual2 ?propertyTextual2 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyTextual3 ?propertyTextual3 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyNumeric1 ?propertyNumeric1 .
<http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536>
bsbm:productPropertyNumeric2 ?propertyNumeric2 .
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual4 ?
propertyTextual4 }
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyTextual5 ?
propertyTextual5 }
OPTIONAL { <http://www4.wiwiss.fu-
berlin.de/bizer/bsbm/v01/instances/dataFromProducer11/Product536> bsbm:productPropertyNumeric4 ?
propertyNumeric4 }
### Exception Message (in query 2 execution) ###
Exception in thread "main" java.sql.SQLException: ORA-00936: missing expression
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe
(T4CPreparedStatement.java:799)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1038)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe
(T4CPreparedStatement.java:839)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1133)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal
(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery
(OraclePreparedStatement.java:3329)
at oracle.spatial.rdf.client.jena.Oracle.executeQuery(Oracle.java:255)
at oracle.spatial.rdf.client.jena.OracleSemQueryPlan.executeBindings
(OracleSemQueryPlan.java:302)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH$StagePattern.<init>
(QueryIterBlockTriplesQH.java:89)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterBlockTriplesQH.nextStage
(QueryIterBlockTriplesQH.java:55)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:92)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.makeNextStage
(QueryIterRepeatApply.java:85)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterRepeatApply.hasNextBinding
(QueryIterRepeatApply.java:54)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding
(QueryIterConvert.java:47)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding
(QueryIteratorWrapper.java:29)
at com.hp.hpl.jena.sparql.engine.iterator.QueryIteratorBase.hasNext
(QueryIteratorBase.java:69)
at com.hp.hpl.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:62)
at benchmark.repository.oracle.OracleQuerying.getSelectQueryResult
(OracleQuerying.java:148)
at benchmark.repository.oracle.OracleQuerying.doSparqlQuery(OracleQuerying.java:101)
at benchmark.repository.oracle.OracleQuerying.queryingData(OracleQuerying.java:90)
at benchmark.repository.oracle.OracleQuerying.querying(OracleQuerying.java:49)
at benchmark.repository.oracle.OracleQuerying.<init>(OracleQuerying.java:44)
at benchmark.Benchmark.runTest(Benchmark.java:113)
at benchmark.Benchmark.main(Benchmark.java:56)
### Loading Code Snippet ###
String jdbcURL = "jdbc:oracle:thin:@" + Constants.HOST + ":1521:orcl";
OracleDataSource ds = new OracleDataSource();
ds.setURL(jdbcURL);
ds.setUser(Constants.ORACLE_USER);
ds.setPassword(Constants.ORACLE_PASSWORD);
OracleConnection conn = (OracleConnection) ds.getConnection();
oracle = new Oracle(conn);
modelOracleSem = ModelOracleSem.createOracleSemModel(oracle, modelName);
graphOracleSem = modelOracleSem.getGraph();
graphOracleSem.createTables();
graphOracleSem.clearRepository();
for (int i = 0; i < fileList.length; i++) {
file = fileList;
if (file.isDirectory())
continue;
inputFilePath = file.getAbsolutePath();
InputStream in = null;
try {
in = FileManager.get().open(inputFilePath);
if (in == null) {
throw new IllegalArgumentException("File: " + inputFilePath + " not found");
modelOracleSem.read(in, "", "N-TRIPLE");
modelOracleSem.commit();
} finally {
if (in != null)
in.close();Hi,
The data loading was slow because incremental loading API was used. Please take a look at OracleBulkUpdateHandler. There is an addInBatch API that you can use.
Now regarding queries, Jena Adaptor v2.0 was primarily designed for Oracle Database 11g Release 1.
Recently, a new version of Jena Adaptor has been released and it's optimized for Oracle Database 11g
Release 2.
Is it possible to run your BSBM benchmark tests against Oracle Database 11g Release 2 using the latest
Jena Adaptor (http://forums.oracle.com/forums/ann.jspa?annID=1179) ?
Thanks,
Zhe Wu -
Data moving between Oracle 10g with CLOB fields
Hi all,
I have a trouble in migrate data between Oracle 10g with different platform. The worst thing is that I don't have a DBA account for the DB importing data. I think I can't use IMP or IMPDP in this way. So I seek help from sql developer, but it seems having another problem with CLOB data moving.
Re: EA2 : SQL Developer 1.5 : export data CLOB columns
in the thread, I found someone wrote this:
- SQL Developer v1.5 EA2 - exports first 4000 chars (which is anyway too small for me, because my CLOBs are larger - if they were smaller, I would have made them VARCHAR2s instead!).
I would like to ask:
1, What SQL Developer v1.5 EA2 is? Is it the Data Modeling one?
2, How to export table data with CLOB with SQL Developer v1.5 EA2? Since 4000 chars is enough for me to use.
OR any other method to export CLOB but not IMP / IMPDP ?
Now I am using the spool of sqlplus to export CLOB.
Many thanks,1. The EAs are Early Adapters, betas, so you should expect the same behaviour from the latest 1.5.4 production release.
2. Exports can be done with the Database Export tool, through the table's context menu in the navigator tree or the result grid's context menu.
Have fun,
K. -
Java.lang error while Integrating R12 EBS with 10g AS
hi
I am integrating Oracle E-Business Suite Release 12 with 10g AS following metalink document 376811.1
While applying patch 5983637 (refer 'Pre-Install Task 4' in metalink doc) I got the error
java.lang.ArrayIndexOutOfBoundsException:0
Before applying I brought down 10gAS middletier services & Infra tier opmn services. Only Infra tier listener & database are up.Is this right?
Kindly help
Thanks
JILDid you ever get an answer to this... I am facing this problem right now
Kathy
Maybe you are looking for
-
Issue after downloading excel file: SYLK format
Hi experts, I have downloaded an excel file through 'GUI_DOWNLOAD'. When I open the file, I get a pop up message which says: "Excel has detected that mg.xls is a SYLK file, but cannot load it. Either the file has error, or it is not a SYLK file forma
-
Hidden Characters Displaying Wrong
So ever since I started using CS4 my InDesign will sometimes show my hidden characters improperly. There doesn't seem to be any consistency in when it happen. The only common thing I can think of is that it sometime happens after I open an Illustrato
-
MRNB- Revaluation with Logistics Invoice Verification Vendor wise
Dear Experts, As per SAP standard MRNB transaction is vailable for Revaluation of Purchase Order Price changes. My requirement as below: We are manitaining Purchasing Info Records compulsory. when purchasing rate changes, we are changing Info Records
-
Timestamp coming in report with evaluate function
Hi All, I have one date prompt where i have defined the presentation variable pvar_strt_dt. Now i am running report which captures the value of pvar_strt_dt but i m getting following error as follows State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY
-
Urgent Reset Question--??? --Help???
I know if I reset my Ipod to correct a Problem I will lose all my Music. My Question is will all my library of songs reload, or will I have to re-buy all my music? Thanks for your help! Dell Windows XP Pro