Oracle Performace Issue
Hi,
I used my notebook with 8GB of memory to upload data into Oracle 11g and then took dump of it and imported onto the prod server which is 32GB memory and 2 Quad Processors.... Now when I run select * from table_name on my laptop which got about 500,000 records it takes 6 seconds but on prod server it takes about 284 seconds...
The only difference between the installation is that my laptop is running OLTP installation and Prod is running on DW configuration... What I dont understand why this is taking so long on prod server and so fast on my laptop...
Can one can point me to right direction?
Thank you in advance..
Regards,
NK
My prod server is in data center and Iam accessing it through the point to point DSL which is 2MB link, and the local is on my notebook.... if the execution time is same then the only thing which i can think of is uploading the data is talking 4 mins or so. Because the link is only 2MB and the time getting the results is spent on sending the data to my computer.
I use Golder6 for querying as its very light weight tool and is quite fast as compared to toad.
Show parameter optimizer on my prod server shows following:
SQL> show parameter optimizer;
NAME TYPE VALUE
optimizer_capture_sql_plan_baselines boolean FALSE
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 11.2.0.1
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
optimizer_use_invisible_indexes boolean FALSE
optimizer_use_pending_statistics boolean FALSE
optimizer_use_sql_plan_baselines boolean TRUE
SQL>
I will past the same from my notebook as I get back home...
The table structure is same on both the machine and have an ID column indexed. I am the only user connecting to the prod server as its a brand new machine with 2 Quad cores (2.4) with 32 GB system memory and Oracle is allowed to use about 24GB of it. The Automatic Memory Management is enabled on the prod server.
Similar Messages
-
Hardware Configuration:
Regarding Oracle Performance Issue.
Configuration 1
================
SunV880 - Sunfire
32 GB RAM
14 numbers of 36GB hard disk
8 CPUs
CPU Speed 750MZ.
Software Configuration:
Oracle 8i
OS version - Solaris 8
Customized our own application - Namex
Configuration 2
================
Intel PIII - 750 MZ
2 GB RAM
2 CPUS
Software configuration
Oracle 8i
OS version linux 6.2
Customized our own application - Namex (multi threaded application)
We installed the oracle application in all hard disks. All tables
are splited in to separate hard disks.
OS installed in 1 hard disk.
namex application installed in 1 hard disk
Oracle installed in 1 hard disk.
All tables are splited in to other hard disks.
We are trying to insert some user databases in oracle table. We
achieved up to 150 records/second in Sun server. But in lower
configuration our application inserts up to 100 records/second.
(configuration 2)
We want improve our inserting database records/per rate
in Sun Server.
How to tune our oracle application parameter values in init.ora
file. Our application tries to insert up to 500 records per second.
But I can't able to achieve this value.
init.ora file
=============
db_name = "namex"
instance_name = namex64
service_names = namex64
control_files = ("/disk1/oracle64/OraHome1/oradata/Namex64/control01.ctl", "/disk1/oracle64/OraHome1/oradata/namex64/control02.ctl", "/disk1/oracle64/OraHome1/oradata/namex64/control03.ctl")
open_cursors = 300
max_enabled_roles = 145
#db_block_buffers = 20480
db_block_buffers = 604800
#shared_pool_size = 419430400
shared_pool_size = 8000000000
#log_buffer = 163840000
log_buffer = 2147467264
#large_pool_size = 614400
java_pool_size = 0
log_checkpoint_interval = 10000
log_checkpoint_timeout = 1800
processes = 1014
# audit_trail = false # if you want auditing
# timed_statistics = false # if you want timed statistics
timed_statistics = true # if you want timed statistics
# max_dump_file_size = 10000 # limit trace file size to 5M each
# Uncommenting the lines below will cause automatic archiving if archiving has
# been enabled using ALTER DATABASE ARCHIVELOG.
# log_archive_start = true
# log_archive_dest_1 = "location=/disk1/oracle64/OraHome1/admin/namex64/arch"
# log_archive_format = arch_%t_%s.arc
#DBCA uses the default database value (30) for max_rollback_segments
#100 rollback segments (or more) may be required in the future
#Uncomment the following entry when additional rollback segments are created and made online
#max_rollback_segments = 500
# If using private rollback segments, place lines of the following
# form in each of your instance-specific init.ora files:
#rollback_segments = ( RBS0, RBS1, RBS2, RBS3, RBS4, RBS5, RBS6, RBS7, RBS8, RBS9, RBS10, RBS11, RBS12, RBS13, RBS14, RBS15, RBS16, RBS17, RBS18, RBS19, RBS20, RBS21, RBS22, RBS23, RBS24, RBS25, RBS26, RBS27, RBS28 )
# Global Naming -- enforce that a dblink has same name as the db it connects to
# global_names = false
# Uncomment the following line if you wish to enable the Oracle Trace product
# to trace server activity. This enables scheduling of server collections
# from the Oracle Enterprise Manager Console.
# Also, if the oracle_trace_collection_name parameter is non-null,
# every session will write to the named collection, as well as enabling you
# to schedule future collections from the console.
# oracle_trace_enable = true
# define directories to store trace and alert files
background_dump_dest = /disk1/oracle64/OraHome1/admin/Namex64/bdump
core_dump_dest = /disk1/oracle64/OraHome1/admin/Namex64/cdump
#Uncomment this parameter to enable resource management for your database.
#The SYSTEM_PLAN is provided by default with the database.
#Change the plan name if you have created your own resource plan.# resource_manager_plan = system_plan
user_dump_dest = /disk1/oracle64/OraHome1/admin/Namex64/udump
db_block_size = 16384
remote_login_passwordfile = exclusive
os_authent_prefix = ""
compatible = "8.0.5"
#sort_area_size = 65536
sort_area_size = 1024000000
sort_area_retained_size = 65536
DB_WRITER_PROCESSES=4
How to improve my performance activities on Oracle server.
Please guide me regarding this issue.
If anyone wants more info, please let me know.
Best regards,
SenthilkumarAre you sure that it is not an application constraint ? i.e. the application can't handle so much data per second ? (application locks, threads )
Have you tried to write a simple test program, which inserts predefined data (which your application inserts) the same data, only changing keys ?
Then comparing the values from the 1st and the 2nd configuration ?
Did you check the way your application is communicating with oracle ? If it is TCP/ip (even on the local machine) then this is your main problem.
And one more thing, do you know if your application is able to run the load (inserts) of data on different threads (i.e. in parallel), because if is not, you won't be able to push the speed higher because your constraint is the speed of a single CPU. Consider running several process, which loads the data.
We had the same problem ot AIX machines with 4 cpus. Monitoring the machine, we found that only 25% (1 cpu) where in use. We had to run 4 processes to push the speed up. Check your system's overal load while running the 'load' (inserts).
log_checkpoint_interval = 10000
Check if this value is appropriate. Maybe you should set it to 0 (infinite). This will disable checkpoints on a 'number of undo record' basis. Checpoints will occure only on log switch.
How much redo files per redo groups do you have ? What is their size ? Are they on different disks ? How much redo data is generated by a single 'record' inserted ?
Hope i helped at least a little. -
Hi Experts,
We have 40 to 50 connectors including SQL server, Oracle,Pco,OLAP etc in SAP MII system.
SAP MII version 12.2 SP6.
We got the Java Heap space on the SAP MII server and due to lack of disk space the server process is shutdown.
#2.0#2015 04 14 09:30:16:473#0-400#Fatal#com.sap.engine.frame.ProcessEnvironment#
com.sap.ASJ.krn_frm.000041#BC-JAS-COR#kernel.sda#C0000A0E68F54AF20000000100000D58#307331950000768373##com.sap.engine.frame.ProcessEnvironment#Guest#0##7F961CADD61211E4A26400001251836F#7f961cadd61211e4a26400001251836f#7f961cadd61211e4a26400001251836f#0#Thread[Managed_Application_Thread_37,5,Managed_Application_Thread]#Plain##
Server process shutting down with exit code [666]; memory allocation error [OutOfMemoryError]#
#2.0#2015 04 14 09:30:16:473#0-400#Fatal#com.sap.engine.frame.ProcessEnvironment#
com.sap.ASJ.krn_frm.000041#BC-JAS-COR#kernel.sda#C0000A0E68F54AF20000000200000D58#307331950000768373##com.sap.engine.frame.ProcessEnvironment#Guest#0##7F961CADD61211E4A26400001251836F#7f961cadd61211e4a26400001251836f#7f961cadd61211e4a26400001251836f#0#Thread[Managed_Application_Thread_37,5,Managed_Application_Thread]#Plain##
Server process shutting down with exit code [666] memory allocation error [OutOfMemoryError]
[EXCEPTION]
java.lang.OutOfMemoryError: Java heap space (failed to allocate 56 bytes)
After clearing the dump and make available disk space all the connectors like SQL server, OLAP,PCo etc working fine. But Oracle connectors are unstable.I can say oracle connectors keep loosing connections. The following errors were seen in logs. After I restart the server , the oracle connector starts working fine.
Unable to create connection to database for GDW
[EXCEPTION]
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
at com.sap.lhcommon.system.CustomClassLoader.findClass(CustomClassLoader.java:232)
at java.lang.ClassLoader.loadClass(ClassLoader.java:367)
at java.lang.ClassLoader.loadClass(ClassLoader.java:308)
at com.sap.xmii.Illuminator.tools.database.JDBCDriverManager.getClassInstance(JDBCDriverManager.java:104)
at com.sap.xmii.Illuminator.tools.database.ConnectionPool.<init>(ConnectionPool.java:62)
at com.sap.xmii.Illuminator.tools.database.ConnectionHolder.addDBConnectionPool(ConnectionHolder.java:121)
at com.sap.xmii.Illuminator.server.Server.createHolder(Server.java:277)
at com.sap.xmii.Illuminator.server.Server.start(Server.java:134)
at com.sap.xmii.Illuminator.server.ServerManager$ServerInitializer.run(ServerManager.java:451)
at com.sap.xmii.Illuminator.server.ServerManager.startServer(ServerManager.java:414)
at com.sap.xmii.Illuminator.server.ServerManager.reload(ServerManager.java:370)
at com.sap.xmii.ejb.ServiceHandlerBean.doServerFunction(ServiceHandlerBean.java:222)
at com.sap.xmii.ejb.ServiceHandlerBean.onMessage(ServiceHandlerBean.java:75)
at sun.reflect.GeneratedMethodAccessor276.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_MessageListenerType.invoke(Interceptors_MessageListenerType.java:111)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:23)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Lock.invoke(Interceptors_Lock.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at com.sap.engine.services.ejb3.runtime.impl.MDBProxyInvocationHandler.invoke(MDBProxyInvocationHandler.java:78)
at $Proxy435.onMessage(Unknown Source)
at com.sap.jms.client.session.JMSSession.deliverMessage(JMSSession.java:1046)
at com.sap.jms.client.session.JMSSession.run(JMSSession.java:894)
at com.sap.jms.resourceadapter.RaServerSession.run(RaServerSession.java:139)
at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:410)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Error occurred while creating a database connection
[EXCEPTION]
com.sap.xmii.Illuminator.system.CommunicationException: Error occurred while creating a database connection
at com.sap.xmii.Illuminator.connectors.IDBC.IDBC.doProcessRequest(IDBC.java:81)
at com.sap.xmii.Illuminator.connectors.AbstractConnector.processRequest(AbstractConnector.java:83)
at com.sap.xmii.Illuminator.server.QueryEngine.run(QueryEngine.java:49)
at com.sap.xmii.Illuminator.services.handlers.IlluminatorService.processRequest(IlluminatorService.java:82)
at com.sap.xmii.Illuminator.services.ServiceManager.run(ServiceManager.java:69)
at com.sap.xmii.servlet.Illuminator.service(Illuminator.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at com.sap.xmii.system.SecurityFilter.doFilter(SecurityFilter.java:186)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.sap.xsrf.filter.XSRFProtectorFilter.doFilter(XSRFProtectorFilter.java:62)
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:441)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
I am not sure of OJDBC jar file version .we have either OJDBC5 or OJDBC6 jar deployed in SAP MII.
The oracle database version that we are connecting in the data server is Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit
My questions are
After the server process shutdown and recovered , While all other connectors working fine why oracle connectors have problems?
Is it due to oracle driver issue? or any other issue related to Netweaver.
Please help.for item #1...If you add the line "gal_enableldapsearch = FALSE" to the "[ENG]" section of the calendar server configuration file, it will only put calendar users in the GAL and not all Internet Directory users.
--Bill -
JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
JDBC-ORACLE CONNECTIVITY ISSUE WITYH OCI8 DRIVER using oracle 11g client..
I am getting below error when i m trying to access oracle db using oracle 11g client. It works with earlier oracle client versions. how do i resolve this. is there any issue with version of ojdbc6.jar that i am using??? I cant use thin driver since its an old application for which i dont have source files.
Apr 6, 2013 1:00:59 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.UnsatisfiedLinkError: no ocijdbc9 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:262)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:346)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:468)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:314)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
at PettyCash.SysDate.getSysSubSys(SysDate.java:232)
at org.apache.jsp.PettyCash.index_jsp._jspService(org.apache.jsp.PettyCash.index_jsp:186)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Code is as follow for reference
import oracle.jdbc.driver.*;
DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
conn = DriverManager.getConnection ("jdbc:oracle:oci8:@" + database,db_user, db_pass);
eNVIRONMENT VARIABLES set are as follows:
classpath
C:\Program Files\apache-tomcat-5.5.12\common\lib\servlet-api.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\classes12.jar;C:\Program Files\apache-tomcat-5.5.12\webapps\ROOT\WEB-INF\lib\ojdbc6.jar;
JAVA_HOME
C:\Program Files\Java\jdk1.5.0_04
PATH
C:\Program Files\Java\jdk1.5.0_04\bin
ORACLE_HOME
D:\Oracle11\product\11.2.0\client_1\BINApr 8, 2013 5:24:06 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at org.apache.jsp.abc.index_jsp._jspService(org.apache.jsp.abc.index_jsp:280)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595) -
HI
some bdy had deleted APPL_TOP/admin ( in Test instance)) .ie admin directory which contains all the files for executing adutilities, how do i recreate this directory please let me knw the ans for this immediately.
I am getting erros like this
Java_top enviornment variable is not set in the environment.
Run Appsora.env or Apps<s_contextname>.env in the environment
bye
JamesDuplicate post (please post only once):
Oracle applications issue
Oracle applications issue -
Oracle vulnerability issue and JavaScript.
I started a discussion in the Muse forum, and also want to ask the question here, regarding the disabling of JavaScript in browsers. That thread is: forums.adobe.com/thread/1140485. My basic question is this: is there a work around, like adding code to HTML editor, as a result of issues associated with disabling of JavaScript in browser. For example, widget and google maps in website are broke when disabling of JavaSript in browser. This is an issue resulting from the Oracle vulnerability issue a few weeks back, where the Department of Homeland Security is recommending the disabling of js in browsers to prevent the rootkit infection on machines. Want is the answer to this issue. I don't mind learning code, if needed, to put in HTML editor. I just need to know what i need to do or learn. Not everybody is going to disable Java or remove it from their machines, but many folks are and have--that is those aware of the issue. Or is the whole issue just a big bogeyman?
Yes, thank you kenneth_rapp. Note another response in Muse forum and my reply to basically this same question, which produced the same answer. You'll note, where my confusion began. See that discussion in muse forum http://forums.adobe.com/message/5017525#5017525http:// provided by member: topelovely. Again, thanks for the response. It caused me to further read and understand the differences.
-
How to resolve Oracle lock issue
Hi All,
What is Oracle lock issue in BW and how to resolve it.
Regards,
RaviHi Ravi,
The object lock issues that we sometimes encounter in SAP BW production support role.
Lets take the below example where the InfoObject(0material) load has failed and the load monitor (T-Code: RSMO) looks like this.
Go through the link below
http://proradian.com/blog/2008/07/sap-bw-production-support-object-lock-issues/
Regards,
Marasa. -
HI
Oracle database issue in reg to
ora-00607 (internal error occured whilemaking changes to a datablock
ora-600(internal error code agruments 4193, 4997, 4526
while database is shutting down.
oracle 10.2.0.1 upgraded to 10.2.0.3
os Linux eS4
please advise to trouble shoot the issue.
PriyankaOk.. I have experience on this issue.. Post your alert log contents (not all )..
I hoping that anybody had come across with issue so that thy can express their views>>>>>>
This is the not right place to put this post.. To get immediate replies, post it on
General Database Discussions
All the best..
Yusuf -
Performace issue in Oracle 10.1.0.4
Hi,
I am having the database with version 10.1.0.4 on solaris environment, I am having the strange problem with open cursors, set the open_cursors paremeter has 1000, but in the snapshot cursors/session showing 1200 and the count is gradually increasing and sometimes found upto 15000. Secondly, parse 2 execute ratio is ~86%.
I am not getting any error related to open_cursors but users are reporting the very slow response of the performance. Application upload bulk logs in the database and use bind variables.
RAM -> 8G
The value of below parameters:
open_cursors=1000
session_cached_cursor=150
cursor_sharing=similar
SGA=3.5GB
Please help to find out the rootcause of the issue and suggestion to resolve this.
Thanks in advance,
Subashselect 'session_cached_cursors' parameter,
lpad(value, 5) value,
decode(value, 0, ' n/a', to_char(100 * used / value, '990') || '%') usage
from ( select max(s.value) used
from v$statname n,
v$sesstat s
where n.name = 'session cursor cache count'
and s.statistic# = n.statistic#
( select value
from v$parameter
where name = 'session_cached_cursors'
union all
select 'open_cursors', lpad(value, 5),
to_char(100 * used / value, '990') || '%'
from ( select max(sum(s.value)) used
from v$statname n,
v$sesstat s
where n.name in ( 'opened cursors current',
'session cursor cache count')
and s.statistic# = n.statistic#
group by s.sid
( select value
from v$parameter
where name = 'open_cursors');
and check ... what session open many cursors
select a.value, s.username, s.sid, s.serial#, s.machine
from gv$sesstat a, gv$statname b, gv$session s
where a.statistic# = b.statistic# and s.sid=a.sid
and b.name = 'session cursor cache count' order by a.value;
Or get information on session open > 1000 cursors ;)
select SADDR,SID,USER_NAME,ADDRESS,HASH_VALUE,SQL_ID,SQL_TEXT from v$open_cursor where sid in (SELECT sid FROM V$OPEN_CURSOR group by sid having count(*)>1000) -
hi all,
am using oracle 11g enterprise edition., i didn't ran any query but in ADDR report it was running some sytem based query(SYS,DBSNMP,SYSMAN etc)
but in previous 10g it was working fine.. can anyone tell me how to stop those query..
this is the query was running most frequently :
select end_time, wait_class#, (time_waited_fg)/(intsize_csec/100), (time_waited)/(intsize_csec/100), 0
from v$waitclassmetric union all
select fg.end_time, -1, fg.value, bg.value, dbtime.value
from v$sysmetric fg, v$sysmetric bg, v$sysmetric dbtime
where bg.metric_name = 'Background CPU Usage Per Sec' and bg.group_id = 2 and fg.metric_name = 'CPU Usage Per Sec' and fg.group_id = 2 and dbtime.metric_name = 'Average Active Sessions' and dbtime.group_id = 2 and bg.end_time = fg.end_time and fg.end_time = dbtime.end_time order by end_time,wait_class#
UPDATE MGMT_JOB_EXECUTION SET STEP_STATUS=:B2 WHERE STEP_ID=:B1Velsjeya wrote:
hi all,
am using oracle 11g enterprise edition., i didn't ran any query but in ADDR report it was running some sytem based query(SYS,DBSNMP,SYSMAN etc)
but in previous 10g it was working fine.. can anyone tell me how to stop those query..
this is the query was running most frequently :
select end_time, wait_class#, (time_waited_fg)/(intsize_csec/100), (time_waited)/(intsize_csec/100), 0
from v$waitclassmetric union all
select fg.end_time, -1, fg.value, bg.value, dbtime.value
from v$sysmetric fg, v$sysmetric bg, v$sysmetric dbtime
where bg.metric_name = 'Background CPU Usage Per Sec' and bg.group_id = 2 and fg.metric_name = 'CPU Usage Per Sec' and fg.group_id = 2 and dbtime.metric_name = 'Average Active Sessions' and dbtime.group_id = 2 and bg.end_time = fg.end_time and fg.end_time = dbtime.end_time order by end_time,wait_class#
UPDATE MGMT_JOB_EXECUTION SET STEP_STATUS=:B2 WHERE STEP_ID=:B1Why are you so concerned about background queries? Do you really think these queries uses high resource and have high elapsed time then you custom queries? The god way to diagnose a performance problem is to identify most resource intensive/time consuming program/module/code rather then running after background queries. Yes sometimes background queries too run slowly in rear cases and then you need to run dbms_stats.gather_dictionary_stats or dbms_stats.gather_fixed_objects_stats (https://blogs.oracle.com/optimizer/entry/fixed_objects_statistics_and_why) -
Oracle Installation Issue on windows 7 64 bit - database 11.2.0.3
Hi ,
I am trying to install 11.2.0.3 database on windows 7 prof 64 bit in lenova lap
The issue is at the last screen the installer just hangs in the prerequists check.
this is the installer log out put last portion
INFO: Verification Result for Node:Laksiri
INFO: Expected Value:50MB (51200.0KB)
INFO: Actual Value:664.5859MB (680536.0KB)
INFO:
INFO: *********************************************
INFO: Swap Size: This is a prerequisite condition to test whether sufficient total swap space is available on the system.
INFO: Severity:IGNORABLE
INFO: OverallStatus:SUCCESSFUL
INFO:
INFO: Verification Result for Node:Laksiri
INFO: Expected Value:2.7944GB (2930184.0KB)
INFO: Actual Value:3.7259GB (3906912.0KB)
INFO:
INFO: *********************************************
INFO: Free Space: Laksiri:C:\Users\IBM_AD~1\AppData\Local\Temp: This is a prerequisite condition to test whether sufficient free space is available in the file system.
INFO: Severity:IGNORABLE
INFO: OverallStatus:SUCCESSFUL
INFO:
INFO: Verification Result for Node:Laksiri
INFO: Expected Value:500MB
INFO: Actual Value:93.9114GB
INFO:
INFO: *********************************************
INFO: Architecture: This is a prerequisite condition to test whether the system has a certified architecture.
INFO: Severity:CRITICAL
INFO: OverallStatus:SUCCESSFUL
INFO:
INFO: Verification Result for Node:Laksiri
INFO: Expected Value:64-bit
INFO: Actual Value:64-bit
INFO:
INFO: *********************************************
INFO: Environment variable: "PATH": This test checks whether the length of the environment variable "PATH" does not exceed the recommended length.
INFO: Severity:CRITICAL
INFO: OverallStatus:SUCCESSFUL
INFO:
INFO: Verification Result for Node:Laksiri
INFO: Expected Value:5076
INFO: Actual Value:561
INFO:
INFO: All forked task are completed at state performChecks
INFO: Completed background operations
INFO: Moved to state <performChecks>
INFO: Waiting for completion of background operations
INFO: Completed background operations
INFO: Validating view at state <performChecks>
INFO: Completed validating view at state <performChecks>
INFO: Validating state <performChecks>
INFO: Using default Validator configured in the Action class oracle.install.ivw.db.action.PrereqAction
INFO: Completed validating state <performChecks>
INFO: Verifying route success
INFO: Get view named [SummaryUI]
and i found in the windows appliction log
Log Name: Application
Source: Application Hang
Date: 4/17/2012 12:01:24 PM
Event ID: 1002
Task Category: (101)
Level: Error
Keywords: Classic
User: N/A
Computer: Laksiri
Description:
The program javaw.exe version 5.0.300.3 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Action Center control panel.
Process ID: 6a8
Start Time: 01cd1c618e421f8e
Termination Time: 6
Application Path: C:\Users\IBM_AD~1\AppData\Local\Temp\OraInstall2012-04-17_11-45-50AM\jdk\jre\bin\javaw.exe
Report Id:
Can some one tell what is the reason?Hi,
As far as I can find on Google, I only see people solving a similar problem, by totally removing all Java installation and then install the latest Java 6 update.
Have a look e.g. here: http://www.java-forums.org/awt-swing/34794-java-application-fails-launch-without-error.html
It is not about installing oracle, but the person does have similar problems
Success!!
FJFranken
Edit: Another link: http://answers.microsoft.com/en-us/windows/forum/windows_7-windows_programs/java-tm-platform-se-binary-is-not-responding/38ea1c33-bd72-46aa-b87c-9172be7c57cc?msgId=1b3c5027-bc10-4425-b55c-038982d24953 -
Hello, everyone.
I am having issues with running a DELETE statement on an Oracle 10g database.
DELETE
FROM tableA
WHERE ID in (1,2,3)
If there is only one ID for the IN clause, it works. But if more than one ID is supplied, I get an "SQL command not properly ended" error message. Here is the query as CF:
DELETE
FROM TRAINING
WHERE userID = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#trim(form.userID)#">
AND TRAINING_ID in <cfqueryparam value="#form.trainingIDs#" cfsqltype="CF_SQL_INTEGER" list="yes">
Anyone work with Oracle that can help me with this? I'm an experienced MS-SQL developer; Oracle is new to me.
Thanks,
^_^Nevermind.. a co-worker just told me that I still have to use parenthesis around the values for the IN clause.
-
64 bit oracle direver issue in SQLBindCol?
I have an issue with SQLBindCol when I connect to oracle though 64 bit 11gr1 oracle odbc driver.
SQLINTEGER nKey;
SQLLEN nInd = 0;
status = SQLBindCol(stmt, 1, SQL_C_SLONG, &nKey, 0, &nInd);
status = SQLFetch(stmt);
after call SQLFetch, I always get Run-Time Check Failure #2 - Stack around the variable 'nKey' was corrupted
I also noticed the return value of nInd is 8, but it should be 4. If I change the SQLINTEGER nKey to __int64 nKey, the error go away.
Why Oracle Odbc Driver required 8 byte for SQL_C_SLONG, and other odbc driver work fine(MSSQL, Sybase)? Is there a bug in Oracle odbc driver, or 64 bit oracle odbc dirver not follow the ODBC specification?
ThanksYou don't need reference on x64 version. You can add reference on x86 version. If you would like to run project from VS then you need x86 version Oracle Client because VS is x86 application.
Both ODAC DLL (x86 and x64) has same signature. If you build project with "any cpu" option then right version ODP.NET is used at the runtime. -
Oracle JInitiator issue with Firefox 3 and IE7 - not working!
Hi,
I'm accessing the oracle apps server through VPN using a Windows Vista system running Firefox 3 and IE 7. I'm able to log on and access the self service pages correctly. But I'm unable to access the form based pages. If I use the JInitiator 1.3.1.21, both browsers crash (though Firefox says missing plugin and mentions this version only). On installing higher versions of the plugin (28, 30), IE 7 keeps giving the message "installing components...oajinit.exe" and there is no more progress.
Could anyone please let me know what could be the issue and how to resolve it.
Thanks in advance!As I don't have access to metalink yet, can you tell me for my configuration what is certified and what browser I should use? I already mentioned that my OS is Vista and I have IE7. I realise that IE6 cannot run on Vista and now Firefox 3 cannot be used. So what JInitiator should I use for IE 7?The currently supported desktops for Release 11i include:
- Win2K / WinXP + IE6 / Firefox 2.x
- WinXP + IE7 / Firefox 2.x
- Mac OS X v10.3.9 + Safari 1.3 and higher
- Mac OS X v10.4.7 + Safari 2.0 and higher
- Vista desktop clients running the native JRE plug-in on IE 7 ***
*** Oracle JInitiator Not Certified for Vista Desktops: Oracle JInitiator 1.3 will not be certified for Vista desktops. Jinitiator 1.3 is based on JDK 1.3. JDK 1.3 is not compatible with Vista. No new updates to JInitiator are planned for Vista.
Firefox 2 Certified on Vista for Oracle E-Business Suite
http://blogs.oracle.com/stevenChan/2008/04/firefox_2_certified_on_vista_f.html
Windows Vista + IE7 Certified with E-Business Suite
http://blogs.oracle.com/stevenChan/2007/11/windows_vista_ie7_certified_wi.html -
Oracle BPM Issue - By lock held by indoubt transaction
Hi ,
I am getting the below issue while processing the work items(Applications) in the Oracle BPM. I am using Oracle BPM 10g R3 (10.3.1.0.0 Build# 100812) in Linux Environment.
An unexpected error occured while trying to execute an automatic task,pending automatic tasks will continue to be executed. Details:\n"An error occured while accessing the database. Detail: SQL statement: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' Caused by :[BEA][Oracle JDBC Driver][Oracle]ORA-01591: lock held by in doubt distributed transaction 9.30.1176766 fuego.transaction.DatabaseException; An error occured while accessing the database. Detail:SQL statment: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' at
If I force COMMIT the Transaction 9.30.1176766 in the dba_2pc_pending, pending_trans$, pending_sessions$ tables, I am able to move forward.
Please help me to resolve this issue.
Thanks In Advance.
BhaskaraHi ,
I am getting the below issue while processing the work items(Applications) in the Oracle BPM. I am using Oracle BPM 10g R3 (10.3.1.0.0 Build# 100812) in Linux Environment.
An unexpected error occured while trying to execute an automatic task,pending automatic tasks will continue to be executed. Details:\n"An error occured while accessing the database. Detail: SQL statement: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' Caused by :[BEA][Oracle JDBC Driver][Oracle]ORA-01591: lock held by in doubt distributed transaction 9.30.1176766 fuego.transaction.DatabaseException; An error occured while accessing the database. Detail:SQL statment: 'SELECT DUETIME, ID, PROCESSID,INSTDID, THREADID, ANCESTORTHREADID, TSTAMP, TYPE, ACTIVITYNAME,ORIGINPROCESSDN, REAL THREADID, NETYPE, PRIORITY, LATER, DATA FROM PTODOITEMS WHERE DUETIME=2011-12-22 11:23:53.0 AND PROCESSID=31 AND ID=94370151 FOR UPDATE' at
If I force COMMIT the Transaction 9.30.1176766 in the dba_2pc_pending, pending_trans$, pending_sessions$ tables, I am able to move forward.
Please help me to resolve this issue.
Thanks In Advance.
Bhaskara
Maybe you are looking for
-
In PS module transaction CJ40 after detail planning back button throws out
In CJ40 primary cost planning we come back to annual view by clicking back button now if i press back button system throws out from transaction CJ40 . rather to come back to element overview screen. Anybody can give me solution for this as the user s
-
Diplay all rows for a single report in OBIEE 11g
Hello All, Do we have any way to display all rows by default for only one report in OBIEE 11g rather than the regular 25 rows and clicking on all the rows. Without changing the configuration on instanceconfig.xml. Please advice. Thanks, VidyaS.
-
Can I use an external hard drive to download and store my iTunes library?
Can I use an external hard drive to download and store my iTunes library?
-
Lightroom 5 Printing under Mac OS 10.8 - crashes
I have been using Adobe Lightroom for several years - no problems. Recently I installed LR 5 on my imac running OS 10.8. Two days ago I was able to print files. Suddenly Lightroom 5 crashed as it exceutes the print script. Have re-installed LR5 ser
-
In the rwb adapter monitoring the JDBC Adapter always grey
Hi all I try to use JDBC Adapter in XI 3.0 sp14. First I deploy the MS SqlServer JDBC by SDM RemoteGui.I can see the deployed JDBC package in \j2ee\cluster\server0\bin\ext\com.sap.aii.af.jmsproviderlib. Then I create a communication Channel using JDB