Oracle 10g JVM Profiling
Want to profile Oracle 10g Database JVM to figure out performance issues while executing Java Stored Procedures. Need to know the steps to connect a profiling tool like JProfiler to Oracle 10g Database JVM. Also wanted details on Oracle JVM startup command on 10g database to mention the VM parameters to configure Profiling tools.
As a suggestion...
You might be able to find a process id.
As for the VM options try getting properties from System and printing everything in there.
Similar Messages
-
Oracle 10g SQL Profiler Equivalent?
As per the subject, I can monitor sessions via the web gui, but I need to see actual SQL statements that are hitting the 10g server. Is there an Oracle 10g SQL Profiler equivalent?
XE?
You might want to hunker down with some of the docco available at http://www.oracle.com/pls/db102/portal.portal_db?selected=1
In particular, you could look at the 'Reference' manual (not SQL Reference, or any other ... Reference) and browse through the DBA_ and V$ views listed. The Concepts and Administration manuals are interesting as well.
The specific views of interest include, but are not limited to, V$SQLAREA and V$SQLTEXT -
Is it possible to enable Java in oracle 10g express with the oracle jvm?
I've oracle 10g express installed. I would like to create java stored procedures in a schema. But, how do I have the database java-enabled?
It might be possible.
Realize, however, that the Oracle JVM is a component of the Standard Edition One and higher - so to be able to use it you need to license Standard Edition One or higher.
If you are going to violate the license anyway, why not stick with an Edition that contains the JVM. -
Enabling JVM in Oracle 10g Express
I'm trying to enable JVM on my Oracle 10g Express database. However, the script I'm told to run - initjvm.sql - doesn't exist anywhere on my computer. Neither does the folder javavm and I can't find anything that says how to get a hold of them.
Help? :(Hi:
Oracle Express edition (XE) do not include Oracle internal JVM.
AFAIK the decision to not include this feature was to reduce the size of the installer package.
Oracle JVM is included on Oracle Standard Edition One and EE.
Best regards, Marcelo -
Oracle 10g Installation: JVM Crashes in Net Configuration Assistant
Hi,
I'm trying to install Oracle 10g (10.2.0.1) in Windows 2003 server, Installation goes fine, JVM crashes at the time of configuring, "Network Conf Assistant", Can any one help me out here.... Have given the JVM dump for your reference...
Thanks in Advance....
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x626DB080
Function=Java_oracle_net_common_jlsnrctl_executeCommand+0x9150
Library=E:\oracle\product\10.2.0\db_1\BIN\oranjni10.dll
Current Java thread:
at oracle.net.common.NetGetEnv.getDNSDomain(Native Method)
at oracle.net.ca.ConfigureProfile.setDefaultProfileParams(Unknown Source)
at oracle.net.ca.ConfigureProfile.typicalConfigure(Unknown Source)
at oracle.net.ca.NetCA.typicalConfigureServer(Unknown Source)
at oracle.net.ca.NetCA.<init>(Unknown Source)
at oracle.net.ca.NetCA.main(Unknown Source)
Dynamic libraries:
0x00400000 - 0x0040B000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe
0x7C800000 - 0x7C8C0000 E:\WINDOWS\system32\ntdll.dll
0x77E40000 - 0x77F42000 E:\WINDOWS\system32\kernel32.dll
0x77F50000 - 0x77FEC000 E:\WINDOWS\system32\ADVAPI32.dll
0x77C50000 - 0x77CEF000 E:\WINDOWS\system32\RPCRT4.dll
0x77BA0000 - 0x77BFA000 E:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\client\jvm.dll
0x77380000 - 0x77412000 E:\WINDOWS\system32\USER32.dll
0x77C00000 - 0x77C48000 E:\WINDOWS\system32\GDI32.dll
0x76AA0000 - 0x76ACD000 E:\WINDOWS\system32\WINMM.dll
0x71BC0000 - 0x71BC8000 E:\WINDOWS\system32\rdpsnd.dll
0x771F0000 - 0x77201000 E:\WINDOWS\system32\WINSTA.dll
0x71C40000 - 0x71C98000 E:\WINDOWS\system32\NETAPI32.dll
0x76B70000 - 0x76B7B000 E:\WINDOWS\system32\PSAPI.DLL
0x10000000 - 0x10007000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\hpi.dll
0x76F50000 - 0x76F63000 E:\WINDOWS\system32\Secur32.dll
0x00380000 - 0x0038E000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\verify.dll
0x00390000 - 0x003A9000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.dll
0x003C0000 - 0x003CE000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\zip.dll
0x03270000 - 0x03382000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\awt.dll
0x73070000 - 0x73097000 E:\WINDOWS\system32\WINSPOOL.DRV
0x76290000 - 0x762AD000 E:\WINDOWS\system32\IMM32.dll
0x77670000 - 0x777A4000 E:\WINDOWS\system32\ole32.dll
0x03490000 - 0x034E1000 E:\oracle\product\10.2.0\db_1\jdk\jre\bin\fontmanager.dll
0x626D0000 - 0x626E5000 E:\oracle\product\10.2.0\db_1\BIN\oranjni10.dll
0x62740000 - 0x6277D000 E:\oracle\product\10.2.0\db_1\bin\oranl10.dll
0x60960000 - 0x60A6D000 E:\oracle\product\10.2.0\db_1\bin\oran10.dll
0x62670000 - 0x6268B000 E:\oracle\product\10.2.0\db_1\bin\orancrypt10.dll
0x60870000 - 0x60953000 E:\oracle\product\10.2.0\db_1\bin\oracore10.dll
0x60A80000 - 0x60B44000 E:\oracle\product\10.2.0\db_1\bin\oranls10.dll
0x63690000 - 0x636A8000 E:\oracle\product\10.2.0\db_1\bin\oraunls10.dll
0x7C340000 - 0x7C396000 E:\WINDOWS\system32\MSVCR71.dll
0x60EB0000 - 0x60EB7000 E:\oracle\product\10.2.0\db_1\bin\orauts.dll
0x71C00000 - 0x71C17000 E:\WINDOWS\system32\WS2_32.dll
0x71BF0000 - 0x71BF8000 E:\WINDOWS\system32\WS2HELP.dll
0x62920000 - 0x6296C000 E:\oracle\product\10.2.0\db_1\bin\oranro10.dll
0x62530000 - 0x62583000 E:\oracle\product\10.2.0\db_1\bin\oraldapclnt10.dll
0x627F0000 - 0x628F9000 E:\oracle\product\10.2.0\db_1\bin\orannzsbb10.dll
0x60300000 - 0x60857000 E:\oracle\product\10.2.0\db_1\bin\orageneric10.dll
0x63430000 - 0x63457000 E:\oracle\product\10.2.0\db_1\bin\orasnls10.dll
0x60FA0000 - 0x61092000 E:\oracle\product\10.2.0\db_1\bin\oracommon10.dll
0x61C20000 - 0x61E72000 E:\oracle\product\10.2.0\db_1\bin\oraclient10.dll
0x636B0000 - 0x636B6000 E:\oracle\product\10.2.0\db_1\bin\oravsn10.dll
0x60B50000 - 0x60EA8000 E:\oracle\product\10.2.0\db_1\bin\orapls10.dll
0x034F0000 - 0x034F9000 E:\oracle\product\10.2.0\db_1\bin\oraslax10.dll
0x63080000 - 0x63284000 E:\oracle\product\10.2.0\db_1\bin\oraplp10.dll
0x03500000 - 0x0359A000 E:\oracle\product\10.2.0\db_1\bin\orasql10.dll
0x035A0000 - 0x03700000 E:\oracle\product\10.2.0\db_1\bin\oraxml10.dll
0x60020000 - 0x60030000 E:\WINDOWS\system32\MSVCIRT.dll
0x62980000 - 0x62990000 E:\oracle\product\10.2.0\db_1\bin\orantcp10.dll
0x61ED0000 - 0x61F5B000 E:\oracle\product\10.2.0\db_1\bin\orahasgen10.dll
0x62AB0000 - 0x62B1A000 E:\oracle\product\10.2.0\db_1\bin\oraocr10.dll
0x62B20000 - 0x62B60000 E:\oracle\product\10.2.0\db_1\bin\oraocrb10.dll
0x71BB0000 - 0x71BB9000 E:\WINDOWS\system32\WSOCK32.dll
0x62790000 - 0x627A7000 E:\oracle\product\10.2.0\db_1\bin\oranldap10.dll
0x77D00000 - 0x77D8C000 E:\WINDOWS\system32\OLEAUT32.dll
0x626B0000 - 0x626B7000 E:\oracle\product\10.2.0\db_1\bin\oranhost10.dll
0x62660000 - 0x62666000 E:\oracle\product\10.2.0\db_1\bin\orancds10.dll
0x629C0000 - 0x629C8000 E:\oracle\product\10.2.0\db_1\bin\orantns10.dll
0x03860000 - 0x03868000 E:\oracle\product\10.2.0\db_1\BIN\orawsec10.dll
0x635D0000 - 0x635E9000 E:\oracle\product\10.2.0\db_1\BIN\orasrvm10.dll
0x77B90000 - 0x77B98000 E:\WINDOWS\system32\VERSION.dll
0x62590000 - 0x625DE000 E:\oracle\product\10.2.0\db_1\BIN\oraldapjclnt10.dll
0x76C10000 - 0x76C39000 E:\WINDOWS\system32\imagehlp.dll
0x6D580000 - 0x6D628000 E:\WINDOWS\system32\dbghelp.dll
Heap at VM Abort:
Heap
def new generation total 576K, used 567K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 99% used [0x10010000, 0x1008fa20, 0x10090000)
from space 64K, 88% used [0x100a0000, 0x100ae298, 0x100b0000)
to space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000)
tenured generation total 1408K, used 628K [0x104f0000, 0x10650000, 0x14010000)
the space 1408K, 44% used [0x104f0000, 0x1058d398, 0x1058d400, 0x10650000)
compacting perm gen total 5120K, used 4967K [0x14010000, 0x14510000, 0x18010000)
the space 5120K, 97% used [0x14010000, 0x144e9eb0, 0x144ea000, 0x14510000)
Local Time = Sun Oct 16 09:26:38 2005
Elapsed Time = 4
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
# An error report file has been saved as hs_err_pid2820.log.
# Please refer to the file for further information.
Configuration assistant "Oracle Net Configuration Assistant" failed
The "E:\oracle\product\10.2.0\db_1\cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-------------------No Srini,
I opted to create a starter database as part of the installation.
The error occurs "during installation" while trying to do the database configurations.
(I did try once without installing and configuring the Loopback adapter (With and without plugging into the network).
Later I read some of the problems with DHCP and installed/configured the Loopback adapter.
Then tried Installing Oracle 11gR2 (With and without plugging into the network)
But end up getting stuck at the same Net Configuration Assistant failure).
Any advise ?
By the way, thanks for the support.
San. -
How to Use Profiler in ORACLE 10g
Hi all,
Anybody know how to use profiler in oracle 10g and also i couldn't able to install the enterprise manager console.is there any tools available for that.because i need to trace the execution of a stored procedure.waiting the reply.
SathishHi,
>>Anybody know how to use profiler in oracle 10g
What do you mean "profiler". About Resource Limits/Create Profiles ?
>>i couldn't able to install the enterprise manager console.
What OS ?
>>because i need to trace the execution of a stored procedure.waiting the reply.
Debug ? You can use SQL Developer, TOAD, PLSQL Developer for this purpose.
Cheers -
Need Advise and Suggestions-Oracle 10g
Hi,
I have been working on databases as DB developer(mainly PLsql)--Oracle 10g
Recently,i have joined in a particular position where I have been asked to find out areas where
improvement is necessary / or areas where improvement or changes would help very much and also gradually implement all best practises avaialable.
So,could you please help me with these queries
(1)What are the most important areas that i can start with the database which would impact largely the entire database.How can i start with it? any steps or process
(2)I had once taken a report out for the expensive SQLs running.But that dint help much...because those SQLs were used temporarily on and off.
Similarly,what are the other points to be looked on.
(3)Things which can be replaced with the industry standarad better ones fully.
an example would be...like.."following a particular naming format,or coding style,etc
Thanks
RohitHi Rohit,
This is a pretty huge subject. To start, I'd say you need to talk to the business. Talk to the users of the database, cause they are your customers. Get a clear understanding of the most critical business processes. Start with the most critical ones, and get performance profiles. How long do they take to run? What's the customer's perception of the process performance? If it's acceptable, move on to the next one. If it's not acceptable, you'll need to dig deeper. Look at each piece of the process. Where is the most time being spent? Can it be improved? This step will be a combination of process improvement and setting the correct expectation. Often, the user doesn't really know what is realistic in terms of performance. If you have a 2 billion row table that needs to get full table scanned, expecting a response time of a few seconds just simply isn't going to happen. You need to clearly convey that to the customer. On the other hand, at the same time, you should be on the lookout for real improvements. If you can re-write the SQL or add an index, and eliminate the FTS on that 2 billion row table, maybe a response time of a few seconds is actually realistic.
It's all about understanding the system, and understanding the customer's needs, and how they intersect. It will be an iterative process, and will take some time.
As to "best practices", I'm not a fan of them. Understand your system, understand your customer's needs, and understand how Oracle actually works. If you can master that, you'll be unstoppable. Note that many, many people, much smarter people than me, have spent a lifetime trying to master those three points... :-)
Good luck with your new job!
-Mark -
Hi All,
i have tried to set up a system SLES 9 AMD64 for testing Oracle 10g for AMD 64 .
After installing the operating system, I added this package
rpm -Uvh orarun-1.8-109.5.i586.rpm
and enabled the user oracle.
I you login as user oracle, the following error message is displayed :
error while loading shared libraries : librt.so.1 : cannot open shared object files : no such fileSuse support answers to this question : Oracle 10g is certified on SLES9, but the orarun package is only supported for SLES9 i386 ?
This is correct, but did not help me to continue my installation.
Any ideas ?
Best regards
WernerTry: comment the following line in /etc/init.d/oracle and /etc/profile.d/oracle.sh:
#test -d /lib/i686 && export LD_ASSUME_KERNEL=2.2.5
Post your question on [email protected] for faster response :)
You may find http://www.gesinet.it/oracle/oracle10gonsles9amd64.html useful.
-Arun -
Oracle 10g Enterprise Manager Console bug?
I think I have come across a bug in the Oracle 10g Enterprise Manager Console. If I go into my database, then into the schema, select your schema from the list, then tables. Now once your in your tables, find one that you know of and know fairly well, right click it, and select the show dependencies. A small window will open with just that table and its tablespace and user. Select user, database name, profile, then default. If you right click on the "default" and select "show dependencies" a blank blinking window will open and stay stuck in an infinite loop until you kill the application window. I think that this is a cumbersome tablespace issue. Any thoughts?
Hi Ugonic
Sorry both are same, it's spelling mistake it's " WCMMISLINK". Acutally, my database is getting updated but this alert log is getting generated in enterprise manager console of 10g.
The sql statement is
CREATE MATERIALIZED VIEW ADASNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
SELECT * FROM ADA@WCMMISLINK;
CREATE MATERIALIZED VIEW BGTABSNAP REFRESH FAST START WITH SYSDATE NEXT SYSDATE+1 AS
SELECT * FROM BGTAB@WCMMISLINK;
The above query is sheduled to run every day .
and i get the following Alert log in 10g enterprise manager console
Generic Alert log ORA-12012: error on auto execute of job 54
ORA-04052: error occured when looking up remote object WCMM.SYS@WCMMSERVERLINK
ORA-00604: error occured at recursive SQL level 3
ORA-12514: tns no listener
ORA-06512: AT "SYS.DBMS_SNAPSHOT" line 1883
can you guid me why the above error are occuring
Regards
Niranjan -
Hi all,
currently I am facing a situation where I cannot connect to oracle 10g server running on 10.1.0.4 version.
I tried using sql plus and toad (with oracle client 10.1.0.3) but get error during login where I can get a connection.
Error reported by sql plus : Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
SP2-0614: Server version too low for this feature
Is there any chance that the server can restrict the versions of the clients connecting to it?. Is there any way to locate the current supported clients for the oracle server running. ( I have tested with 10.1.0.4 oracle client and it works fine )
Please advisecant login into sql plus but can connect to the database
-
Email in Oracle 10g Express Edition
Hi,
Can i send email with utl_smtp, utlmail or utl_tcp (after jvm installation) in Oracle 10g Express Edition?
ThanksHi,
Example using the utl_smtp :-
PROCEDURE send_mail (p_sender IN VARCHAR2,
p_recipient IN VARCHAR2,
p_message IN VARCHAR2)
as
l_mailhost VARCHAR2(255) := 'aria.us.oracle.com';
l_mail_conn utl_smtp.connection;
BEGIN
l_mail_conn := utl_smtp.open_connection(l_mailhost, 25);
utl_smtp.helo(l_mail_conn, l_mailhost);
utl_smtp.mail(l_mail_conn, p_sender);
utl_smtp.rcpt(l_mail_conn, p_recipient);
utl_smtp.open_data(l_mail_conn );
utl_smtp.write_data(l_mail_conn, p_message);
utl_smtp.close_data(l_mail_conn );
utl_smtp.quit(l_mail_conn);
end;
Thanks
Pavan Kumar N -
How to set the debug port for Eclipse for OracleAS 10g Enterprise Server
Hi All,
I want to debug a java class, which is exposed as webservice. what are the settings I need to do in OracleAS 10g Enterprise Server to debug a java class using a eclipse.
Thanks in advance,
Vidyasagar.Hi, have you double checked that your oc4j is started with Sun's JVM or any other JVM that recognizes the kind of remote debug option as above? You can find the JVM used by oc4j in the ORACL_HOME/opmn/conf/opmn.xml.
To double check that your oc4j is started in debug mode, you can test with another remote debugger. Say, with the jdb in sun's jdk jdb -connect com.sun.jdi.SocketAttach:hostname=yourHost,port=4000 (Personally, I also use Jdeveloper or Jswat to double check.) If you can connect with jdb, then you have to check your Eclipse. Can its remote debugger connect to any java application at all? -
Errors in manual creation of oracle 10g database
I created oracle 10g database manually and i am getting post installation errors.. could you please help out?
I executed @?/sqlplus/admin/pupbld.sql but it still shows
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
i tried to see
SQL> desc product_user_profile;
ERROR:
ORA-04043: object "SYSTEM"."SQLPLUS_PRODUCT_PROFILE" does not exist
not there?? any other scripts to be run ? please guide me.
2. I can not able login sys@sid as sysdba
SQL> select * from v$pwfile_users;
no rows selected
i changed
remote_login_passwordfile string EXCLUSIVE
re-started db but no help...
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01990: error opening password file
I re-created
$ORACLE_HOME/bin/orapwd file=$ORACLE_HOME/dbs/orapwmydb.ora password=xxxx entries=5 force=y
but no help..
Could one please help out... ! great thanks in advance..thanks for prompt reply .. but still one issue remain..
oracle DEVS $ sqlplus sys@sid sysdba
SQL*Plus: Release 10.1.0.4.0 - Production on Thu Jan 7 10:51:44 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-01031: insufficient privileges
but i can able to login as sqlplus sys as sysdba
SQL> select * From v$pwfile_users;
no rows selected
i tired to do
SQL> grant sysdba to sys;
grant sysdba to sys
ERROR at line 1:
ORA-01990: error opening password file
'/u02/app/oracle/product/10.1.0/dbs/orapw'
ORA-27037: unable to obtain file status
Linux Error: 2: No such file or directory
Additional information: 3
there is already one password file with orapwsid.ora.. how this should be solved ? please help. thanks -
Note 830576 - Parameter recommendations for Oracle 10g
hi all DBA experts.
I am not good familiar with Oracle database while i read a Note 830576 - Parameter recommendations for Oracle 10g. in which SAP General Recommendation:
You should delete obsolete initialization parameters from the profile.
To determine which obsolete parameters are currently set, proceed as follows:
SQL> SELECT NAME FROM V$OBSOLETE_PARAMETER WHERE ISSPECIFIED = 'TRUE';
when i execute above command then result is no rows selected
while there are many parameters in above SAP Note which are already obsolete and not set in initSID.ora file.
for exp. the parameter OPTIMIZER_INDEX_COST_ADJ is showing
#### OPTIMIZER MODE
#optimizer_index_cost_adj = 10
as you know that this parameter is very important regarding System Performance.
now please guide me . I have to set these parameter or no need while there is not showing any parameters against obsolete command.
waiting you valuable reply.
Regards,hi both,
thanks for knowledge sharing with me other SDN users,
Dear Orkun,
Ok. At this stage, I can recommend you that apply what they have suggested,
in the message. So, you already did a part of it by configuring
Oracle parameters, already.
SAP support sent me this file (PRD_Parameters)
*** INFORMATION 1 ***
*** INFORMATION 2 ***
*** INFORMATION 3 ***
*** INFORMATION 4 ***
*** INFORMATION 5 ***
*** INFORMATION 6 ***
*** INFORMATION 7 ***
*** INFORMATION 8 ***
*** INFORMATION 9 ***
*** INFORMATION 10 ***
*** INFORMATION 11 ***
_b_tree_bitmap_plans
_fix_control (4728348)
event (10753)
event (38087)
event (10183)
optimizer_index_cost_adj
star_transformation_enabled
event (10027)
event (10028)
event (10411)
event (10629)
event (14532)
_fix_control (5705630)
_fix_control (5765456)
_optimizer_mjc_enabled
_sort_elimination_cost_ratio
event (10091)
event (10142)
event (38068)
event (38085)
event (44951)
parallel_execution_message_size
parallel_threads_per_cpu
query_rewrite_enabled
log_archive_dest_1
log_archive_format
max_dump_file_size
optimizer_features_enable
log_archive_dest
_push_join_union_view
_cursor_features_enabled
_first_spare_parameter
event (10049)
db_writer_processes
parallel_max_servers
db_cache_size
pga_aggregate_target
processes
sessions
dml_locks
job_queue_processes
log_checkpoint_interval
remote_login_passwordfile
sga_max_size
shared_pool_reserved_size
sort_area_retained_size
sort_area_size
statistics_level
workarea_size_policy
they only highlighted these following parameters from above
**** INFORMATION 8 *** DB Patchset: 10.2.0.4.0
**** INFORMATION 9 *** DB Mergefix: 0 (released before 2008-07-11)
FYI... recently, i applied the Oracle Patches 10.2.0.4 in this sequence
MS Windows x86-64 (64-bit)
Patchset_10204_MSWIN-x86-64aa.bin
Patchset_10204_MSWIN-x86-64ab.bin
Patchset_10204_MSWIN-x86-64ac.bin
OPatch
OPatch_10205_Generic_v0.zip
Generic (32-bit / 64-bit)
p8350262_10204_Generic.zip
p7592030_10204_WIN_GENERIC.zip
p9254968_10204_WIN_GENERIC.zip
10204_Patch44_MSWIN-x86-64.zip
p9584028_102040_Generic.zip
p9843740_10204_Generic.zip
and please tell me , still i have to apply highlighted parameters or now no need.
Regards, -
Oracle 10g Paremeter to Auto Roll Back uncommited transanctions
Hi all
In SME Segment - People donot affort having Oracle Dba and at the same time less experienced persons keep making their own tests
Situation goes as under :-
a) Oracle 10g Windows 2003 64 Bit version on Branded HP Server with 8GB Ram having around 100 simultaneous users
b) User A on Machine A fires command say
Table Iledg has inventory data say around 2 Million records
Update iledg set gwt = netwt + corewt where vrdate >= ??? and vrdate <= ??
Records get updates - But user A does either of the following
i) Does not give commit
ii) Preses Ctl + Alt + Del
iii) Switches off the Computer
Problem
All other users get hanged for their Transanctions relating to table Iledg. EDP person is not able identify the culprit i.e User A
We have already tried - that if we kill the session of User A , position becomes OK
Solution wanted for
a) Set some Oracle Parameter which automatically rolls back un committed transnactions for say 5 Minutes
b) Oracle automatically kills those sessions who have un commited transanctions for more than say 5 minutes.
Because in SME Segment - It is very difficult to ask the users to fire some very technical commands to find out the culprit and to kill their sessions. At the same time we can not start the server again and again.
Suresh BansalThanks for the reply.
We were also very sure about Oracle 10g beharviour but it actually does not happen in abnormal disconnections.
We tested this way
a) Table Iledg has inventory data say around 2 Million records
Machine A fires command say
Update iledg set gwt = netwt + corewt where vrdate >= ??? and vrdate <= ??
Oracle Results -> ?? rows updated ->Did not gave commit command ->Intentionally to test it switched off the machine without Exiting from
SQL*Plus
then on Machine B)
Again tried to
Update iledg set gwt = netwt + corewt where vrdate >= ??? and vrdate <= ??
Session of Machine A is not killed by Oracle 10g and is blocking the Transanction of Machine B which is very unfortunate as we thought Oracle 10g must have killed the session of Machine A when he switched off his Machine. When blocking_session of Machine A is killed ->Position becomes absolutely OK and normal.
This can be tested in just 2 minutes at your end.
Kindly suggest some workable remedy to overcome such abnormal client disconnections. Setting Profile idle time is not the workable solution as we create Oracle Connection at the start of VB6 application and that connection goes on thru out applications for all reports and transanctions.
This kind of problem is not faced in last 6 years over the same forms. But now the client network has grown to say 700 Computers and is creating problems intermittently which is diagnosed properly and terminates the Oracle Connections which sometimes creates these kinds of problems.
Suresh Bansal
Maybe you are looking for
-
Connect to Oracle through ODBC - TNS: No Listener Error
Hi All, I've been trying to chase this problem down for over a month now and I have had no luck. When I try to connect to an Oracle server through MS Access I get the TNS: No Listener error. The kicker is when I go to the odbc data source administrat
-
Core Image Question New ATI 9800 in QS 2x1ghz
I just installed a Radeon 9800 Mac Edition (128MB) in my Quicksilver 2002 Dual 1ghz w/ 1.5 GB RAM running Leopard. I downloaded and installed the latest version of ATI Displays (4.5.7). In System Profiler, under Core Image, it says, "Hardware Acceler
-
Hewlett Packard Pavilion DM3 notebook pc - with screen problems!
I hope someone can help with this - the laptop is only 3 months old, and has developed a fault - the bottom half of the screen goes into horizontal lines, and pulsates - really hard to describe - the laptop is still functioning, but for this strange
-
Crashes whenever I try to copy an item from form to form
I crash frequently when I try to copy an item from one form to another. Many times, I will be able to copy 2-3 text boxes from one form to the next. On the 4th....crash. I get a image of a text box with a plus sign next to it when Livecycle locks...
-
How to declare synonym for a package function with a DBLink
Hi, I have a PL/SQL package 'pkg' and a function in the package 'func' at another db using a dblink. How to I create the correct syntax to create the synonym for this package and function. create synonym --- for ---@dblink Thanks.