Oracle Lite Performance Testing
Hi All,
Is there a way to sync more than one client from the same PC/Laptop to simulate a concurrent sync for performance testing purposes? Greg Rekuonas did mention, some script available by Oracle Support for the same. Oracle (on raising an SR) unfortunately says that they cannot make that available to customers.
I have found a way out, but it involves changing one of olite's dll's and was wondering if anyone else knew a better solution.(Other than finding 50-100 different laptop's/handhelds and make them all synchronize one by one).
Cheers,
Vikrant
Hi Greg,
Thanks for the reply. I will try and re-raise it with them, though they have closed my SR with a "Not Entitled" status.
In case anyone is interested I finally, got the trick done by using the following:-
1) Open ocapi.dll in your $MOBILE_HOME/bin folder. (Right where the msync_java.dll is there)
2) Open the above file in a text editor like EditPlus(Note this is a binary file)
3) Search for the string OracleLiteSync.
4) Change the string to something else(Do not add any characters, just change any one alphabet).
5) Save this file as ocapi.dll in a different directory.
I wrote a standard java program, to programatically trigger a synchronization. To, handle concurrent synchronizations, I create multiple copies of ocapi.dll with different strings for OracleLiteSync.
Each of my simulation "Clients"(Basically Java Threads) were invoked with a different path each pointing to a different ocapi.dll. This seemed to work, and the "Mutex" error went away.
The exaplanation is that basically OracleLite uses the Kernel32 API CreateMutexA to create a mutex to ensure that two synchroninzations cannot happen on the same machine. The mutex name is OracleLiteSync and the code is in ocapi.dll.
By changing the mutex name and using a different version of ocapi.dll (Oracle Lite uses JNI which reads DLL from the PATH environment variable) you can fool Oracle Lite into doing different synchronizations.
This did give me some errors when it tried to apply the downloaded changes simultaneously in different ODB's, but allowed me to load the mobile server concurrently with syncrhonization sessions.
Cheers,
Vikrant
Similar Messages
-
I'm using Oracle Lite 10.3.0.1
I have a database of 16 Még.
When I synchronize with the force refresh option it take one hour for synchronization.
Is it normal ?The time that it takes to do a sync, especially a new build/force refresh is mainly governed by a number of factors
1) the performance of your snapshot queries for the publication items. For force refreshes, therese are executed directly rather then using the out queue tables
2) the comms speed
3) the storage media the database is being created on
you can normally get some clue to where the bottleneck is by looking at the sync progress bars on the client
for a force refresh/new build, the composing and sending bars should fill up quite quickly
if the recieving bar takes a long time to complete then the problem is the snapshot performance or comms method (for 16 meg, my guess would be that is is the snapshots). run consperf on the publication items or you may get an idea by looking at the processing stats from the MGP process
If the recieving is not too bad, but the processing phase is the long one, then i would guess that
a) you are using a windows mobile device
b) the database is being created on a storage card
c) the storage card is very slow
slow storage cards are a major problem for small devices, but are the default on installation of oracle lite. Try editing the odbc file in orace to point to main storage for both database locations (or take out the SD card and delete the odbc file) and then try a sync. If this is significantly faster (seen a difference between 5 minutes using main storage vs 2 hours for SD card), then the card is the problem -
Oracle database Performance testing
What are the procedure to dp Oracle performance Testing???
Is there any tools to do Oracle database Performance or load testing??insa wrote:
OS- windows
DB-Oracle11gr2
Just i want check if 100 of users using my Application at a time what will be the performance of my database??Database performance is dependent on a number of factors - where application design, application code and data model, are critical components.
And these components need to be designed, written, and implemented with performance and scalability as primary requirements. From design issues like using 3NF correctly, to coding issues like using bind variables correctly.
You cannot simply slap design and code together, run that against the database, and then tune database performance. That is not the correct approach. Oracle database technology performs very well. It is the application that does not perform. It is the design that does not perform. It is the architecture that does not perform.
When I see the comment that someone wants to test database performance, I see someone not understanding what determines performance - and incorrectly thinking that the database is a black box, and that this black box's performance can be tuned and set, irrespective of the data model, application code and architecture used. -
Performance Testing Oracle Retail Demand Forecasting application
Hi All
Has anyone performance tested Oracle Retail Demand Forecasting application ( RDF ) using LoadRunner? If yes can you please give me the protocol used and steps followed for scripting ?
ThanksHussein Sawwan wrote:
What is your application release?Our Application Release is 12.1.3
How do you get the error?The error occurs during playback in which I am getting a "You are trying to access a page that is no longer active" error. In addition, it states "- The referring page may have come from a previous session. Please select Home to proceed."
Can you post an example of "most of the correlation that is being referenced throughout the internet seemed to contain NCA functions"?
This was the link I was referring to http://martinspier.co.uk/how-to-script-oracle-11i-apps-on-loadrunner. I don't have the current knowledge in the differences between 11i at the intricate level but it seemed like when I accessed our 11i environment, the login portion is also http/https protocol. From what I noticed though that some of the oracle forms (i.e. payments module) have been converted to Webforms. So I was thinking from a login testing standpoint, the use of this tutorial would still be applicable. However, I just checked the Test Starter Kit Information Center (Note 239746.1) that Steven Chan provided and have downloaded their sample login script for 12.0.4. It seemed that they used the same multi NCA, WEB protocol but login information captured seemed to be capturing http requests only.
Thanks in advance Hussein and for anyone else who can chime in on this task. Any information would be greatly appreciated as I understand am new to not only Loadrunner but Oracle Financial Applications as well.
Regards,
Nikolai -
Object performance,need detail of Oracle's internal performance testing
hi Geoff,
from your previous answer:
From an Oracle's comprehensive internal performance testing,
object implementation of an application consistently matches
those of relational implementation.
For some operations, using objects performed better. can you tell more about the result of the testing ?
we need to get the comparison between the two implementation,
in order to know in which case should use object implementation
and in which case should not.
thanks
RayRay,
Before I name some cases that objects perform better, I still
want to emphasize that your application object model comes
first. Here are the cases:
1. If you have nested objects (e.g., customer with address
attribute), querying the nested objects would work faster than
relational access.
2. If you have containment objects (e.g., customer with VARRAY
of phone numbers), querying these contained objects would also
work faster than relational.
What is your application? What does your object model look like?
The more specific your question is, the better I can answer it.
Regards,
Geoff
hi Geoff,
from your previous answer:
From an Oracle's comprehensive internal performance testing,
object implementation of an application consistently matches
those of relational implementation.
For some operations, using objects performed better. can you tell more about the result of the testing ?
we need to get the comparison between the two implementation,
in order to know in which case should use object implementation
and in which case should not.
thanks
Ray -
Load/performance test on oracle
hi guys,
we are using oracle10g. can u please tell me the steps involved in doing a performance/load test on the database in detail.
regards,
123kidOracle ebook:
Oracle® Database Performance Tuning Guide
10g Release 2 (10.2)
Part Number B14211-01
and particularly in paragraph
2.6 Workload Testing, Modeling, and Implementation
give a detailed description.....
Greetings...
Sim -
Bad Performance with Oracle Lite 4.0.1
I have a table in Oracle Lite with 17000 records and 110 fields. A SELECT on this table needs 1 minute to finish. The same table and query only needs 1 second on Oracle 8i Server. MSDE also needs 1 second. All the relevant fields are indexed. Are there any parameters in Oracle Lite that we can tweak? Is there something else I'm forgetting?
Hi Shivek,
An excellent solution for this is provided in the metalink Note:455905.1.
Let me know if you have more questions.
Thanks
Vishnu -
hi all,
I'm been asked to produce some data about
efficiency of Oracle lite replication.
Does anyone have some resource on the matter,
or suggestion on how to build a
workbench?
Thanks for your help,
d.rizzi ([email protected])
nullHi Kamleshwar,
I don't think that Oracle has documented it anywhere (even other products also do not have such document). Please estimate your requirements (from performance perspective) and contact Oracle Support to get formal confirmation about whether Oracle B2B is capable of giving that much throughput. You may contact Oracle B2B IDC team as well.
We had performed a performance test (automated with mixed load) on Oracle B2B around 8 months before and we could easily get 5-6 MPS however Oracle B2B can be tuned to produce more throughput but that is for certain cases only.
Ramesh has given very useful tips to tune Oracle B2B -
http://www.b2bgurus.com/2007/10/oracle-as-b2b-performance-best.html
Regards,
Anuj -
Oracle Lite vs. MobiLink DB synchronisation
Hi all
I have the task to analyse several synchronisation solutions on the
market. The analysis will play an important part in the decision for
which solution a quite big company will go for when building mobile
applications.
Up to know I manly focused on Oracle Lite and MobiLink.
I am sure that some of you guys did the same analysis. May you can give
me some good and important facts I have to take into consideration in
the analysis.
thx for any useful hints.
cheers,
Michel
Message was edited by:
Michel77Michel,
Having an Oracle enterprise database is an important first step. It'd be harder to choose Oracle Lite over MobiLink if you also had to be convinced to switch to Oracle in the backend.
A second important comparison IMO is the client database and application development tools (prior to analyzing the synchronization technologies themselves). Both products only support their own client databases (MobiLink and SQL Anywhere/UltraLite or OLite Mobile Server and client database). I'd start by evaluating the client database in each case to ensure it matches with your requirements. Items to consider are:
- Target platform support
- Datatype requirements
- Footprint requirements
- Logic requirements
- Driver support
- other items important to you
I think another important item to review before evaluating the synchronization process itself is the tools involved for building and deploying your application. If the site that will build and deploy the application is already familiar with many Oracle tools such as App Server, OC4J, etc. they may find Oracle Lite a much more familiar environment to work within, which could be a sufficient benefit in time to develop and deploy the application.
In comparing synchronization, I think you'll find both tools have the same basic features. You might consider a few of these items to compare the technologies:
1) Performance - this might be hard to measure without planning and developing a few test scripts. For a full sync, the upload, apply, download phases in MobiLink are synchronous; each one relying on the completion of the prior to move on in the synchronization process. Oracle Lite's methodology is asynchronous. Your client modifications are uploaded/downloaded from a queue, which in turn works to apply and compose changes from and into the Oracle. This means your client is not forced to wait for upload transactions to commit to Oracle before it can continue with downloading its changes. On a small scale (numbers of users, small amount of data, infrequent transactions to Oracle), the difference in this methodoloy will not display much in terms of performance impact. If you plan to scale up or out, or are working with a very busy Oracle database, you'll find Oracle Lite's methodology will scale better.
2) Remote administration: It's worth checking into the functionality each product provides to remotely administer the client database. Consider basic use case scenarios now and in the future that might require remote administration and compare the tools each provides to accomplish.
3) Integration with Oracle: Mapping the differences for Oracle specific features (sequences, etc) is often important.
4) Consider how the two products handle an interruption of a user synchronization, which can be especially important if you are synchronizing large sets of data.
5) Check how to manage conflicts and errors in each product and see how that works for your particular use cases. The nuances and application of this is different for each product.
This should help you get started. I'll post some additional thoughts if they come to me.
HTH
Gabe -
Install on vista with Oracle Lite Multiuser Service - SERVICE_START_PENDIN
Hi all,
I'm trying to install app server 10.1.3 on Vista, but on Configuration assistant screen, it stops at BPEL process manager configuration manager ,
error in oraInstall.err:
C:\Users\victoria\AppData\Local\Temp>echo updating ODBC.ini
updating ODBC.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>echo updating ODBCINST.ini
updating ODBCINST.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>echo updating POLITE.ini
updating POLITE.ini
C:\Users\victoria\AppData\Local\Temp>echo off
C:\Users\victoria\AppData\Local\Temp>exit
Oracle JAAS [Mon May 18 08:36:05 GMT 2009] admin password is changed successfully
opmnctl: starting opmn and all managed processes...
OliteService reports the following status:
The service is installed.
OliteService reports the following status:
The service start pending.
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_START_PENDING
Acceptable Control Code : (0x0)
installaction.log:
BUILD SUCCESSFUL
Total time: 3 minutes 35 seconds
C:\product\10.1.3.1\OracleAS_1\bpel\samples>ENDLOCAL
BUILD SUCCESSFUL
Total time: 4 minutes 43 seconds
Exit: 0
TASK: oracle.tip.install.tasks.UpdateConfigFiles
Updating configuration files ...
Exit: 0
TASK: oracle.tip.install.tasks.RegisterOlite
Registering Olite ...
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OB_HOME=C:\product\10.1.3.1\OracleAS_1\bpel
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_LIB=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set OLITE_BIN=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set PATH=C:\product\10.1.3.1\OracleAS_1\jdk\bin;C:\product\10.1.3.1\OracleAS_1\ant\bin;C:\oracle\product\10.2.0\db_1\bin;C:\app\product\11.1.0\db_1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\product\10.1.3.1\OracleAS_1\MOBILE\sdk\bin;C:\product\10.1.3.1\OracleAS_1\jdk\jre\bin\server
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>set CLASSPATH=C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olite40.jar;C:\product\10.1.3.1\OracleAS_1\MOBILE\Sdk\bin\OLITE40.JAR;
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /stop
OliteService reports the following status:
The service stop is pending.
OliteService reports the following status:
The service is stopped.
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_STOPPED
Acceptable Control Code : (0x0)
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /remove
OliteService reports the following status:
The service is removed.
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /install
OliteService reports the following status:
The service is installed.
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\olsv2040.exe /start
OliteService reports the following status:
The service start pending.
OliteService reports the following status:
The service is running...
port = 1531
wdir = C:\Windows\system32
The current status of Oracle Lite Multiuser Service:
Current State : SERVICE_RUNNING
Acceptable Control Code : (0x1) SERVICE_ACCEPT_STOP
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>mkdir "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite"
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>del /f "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb"
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>"C:\product\10.1.3.1\OracleAS_1\bpel\..\Mobile\Sdk\BIN\createdb.exe" orabpel "C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb" manager
Database C:\PRODUCT\10.1.3.1\ORACLEAS_1\BPEL\SYSTEM\DATABASE\OLITE\ORABPEL.odb created (VolID = 1736).
C:\product\10.1.3.1\OracleAS_1\bpel\install\bin>exit 0
Could Not Find C:\product\10.1.3.1\OracleAS_1\bpel\system\database\olite\orabpel.odb
Oracle Lite CREATEDB Version 10.2.0.2.0.
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Exit: 0
TASK: oracle.tip.install.tasks.DeployApps
Deploy applications and adapters
Port value is 6003
Buildfile: bpminstall.xml
init-midtier:
Trying to override old definition of datatype echoproperties
common_update_server.xml:
Adding shared library apache.junit ...
Adding shared library oracle.db.lite ...
Adding shared library apache.commons 10.1.3 ...
Adding shared library apache.jdom ...
Adding shared library apache.slide ...
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://victoria-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_admin_client_script_sl.txt
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
update_server.xml:
restart.container:
Stopping home container ...
opmnctl: stopping opmn managed processes...
================================================================================
opmn id=victoria-PC:6200
no processes or applications matched this request
Restarting home container ...
opmnctl: starting opmn managed processes...
================================================================================
opmn id=victoria-PC:6200
0 of 1 processes started.
ias-instance id=oapp1013.victoria-PC
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ias-component/process-type/process-set:
default_group/home/default_group/
Error
--> Process (index=1,uid=503452990,pid=3000)
failed to start a managed process after the maximum retry limit
Log:
C:\product\10.1.3.1\OracleAS_1\opmn\logs\\default_group~home~default_group~1.log
init-midtier:
Setting up the dehydration store [olite]...
dehydrationStore:
Configuring data sources for olite dehydration store ...
Deploying ORABPEL Applications...
deploy-applications:
Deploying Oracle BPEL Process Manager ...
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Copying 1 file to C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib
Updating jar: C:\product\10.1.3.1\OracleAS_1\bpel\system\services\lib\orabpel.ear
Running batch script by:
java admin_client.jar deployer:oc4j:opmn://my-PC:6003/home -script C:\product\10.1.3.1\OracleAS_1\bpel\system\services\install\ant-tasks/bpel_deployapps.txt
Failed at "Could not get DeploymentManager".
This is typically the result of an invalid deployer URI format being supplied, the target server not being in a started state or incorrect authentication details being supplied.
More information is available by enabling logging -- please see the Oracle Containers for J2EE Configuration and Administration Guide for details.
Please advise what's wrong?
thanks
andrewThe following procedure describes the steps required to deploy the DbAdapter.rar file using admin_client.jar:
1. Copy the following libraries from server.xml in an OC4J_SOA container to a server.xml file for a new
container:
oracle.bpel.common
apache.junit
oracle.db.lite
apache.commons
apache.jdom
apache.slide
For example, for oracle.bpel.common, copy the following extract from one server.xml to another and
do the same for all other libraries:
<shared-library name="oracle.bpel.common" version="10.1.3">
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/classes"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-common.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-thirdparty.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bpm-infra.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wdk.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/connector15.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-exts.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/orabpel-ant.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/ant_1.6.5.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bipres.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/bicmn.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/uix2.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/jewt4.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/regexp.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/share.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jdk/lib/tools.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/jlib/ldapjclnt10.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/schema"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/config"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/bpm-services.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/wfapi.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/fndctx.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/phaos.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/system/services/lib/pushapi.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/lib/oracle_http_client.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_api_v3.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/wasp.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/uddiclient_core.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/saaj.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxm.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/builtin_serialization.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/core_services_client.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/bpel/registry/lib/jaxrpc.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rl.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/rulesdk.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/webdavrc.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rules/lib/jr_dav.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/webservices/lib/wsif.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/oraesb.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/bpm-ide-common.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5/rdbms/jlib/xdb.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/ide.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/javatools.jar"/>
<code-source path="D:\product\10.1.3.1\OracleAS_5\integration\esb/lib/xmleditor.jar"/>
<import-shared-library name="oracle.dms"/>
<import-shared-library name="oracle.jdbc"/>
<import-shared-library name="oracle.xml"/>
<import-shared-library name="oracle.jwsdl"/>
<import-shared-library name="soap"/>
<import-shared-library name="oracle.ws.client"/>
<import-shared-library name="oracle.toplink"/>
<import-shared-library name="apache.junit"/>
<import-shared-library name="oracle.db.lite"/>
<import-shared-library name="apache.commons.logging"/>
<import-shared-library name="oracle.cache"/>
<import-shared-library name="apache.commons"/>
<import-shared-library name="apache.slide"/>
<import-shared-library name="apache.jdom"/>
</shared-library>
2. Restart the container to make sure that server.xml was updated correctly.
3. From the configtools.log file find the opmn port number, for example:
deployer:oc4j:opmn://dimak.au.oracle.com:6012/home
dimak.au.oracle.com - is the machine name and
6012 - port number
4. Launch a new command prompt
and set path and classpath, for example:
set PATH=$ORACLE_HOME\jdk\bin;%PATH%
set classpath=.
where in the classpath there is only one entry - the dot, which stands for the current directory.
5. change directory to the following:
$ORACLE_HOME\j2ee\home
and run the following command (written all on one line) to deploy the DbAdapter:
java -jar admin_client.jar deployer:oc4j:opmn://dimak.au.oracle.com:6012/test oc4jadmin
manager1 -deploy -file $ORACLE_HOME\integration\esb\lib\DBAdapter.rar -deploymentName
DbAdapter2 -parent default
where
* dimak.au.oracle.com should be substituted with your machine name
* 6012 should be substituted with your port which you found in step 3
* test is the name of the container you want to deploy the adapter to
* manager1 should be substituted with your oc4jadmin password
* $ORACLE_HOME\integration\esb\lib\DBAdapter.rar is the location of the DBAdapter.rar file
* deploymentName DbAdapter2 - should be different from DbAdapter, as that name is already used in the OC4J_SOA container. -
Log file sync top event during performance test -av 36ms
Hi,
During the performance test for our product before deployment into product i see "log file sync" on top with Avg wait (ms) being 36 which i feel is too high.
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
log file sync 208,327 7,406 36 46.6 Commit
direct path write 646,833 3,604 6 22.7 User I/O
DB CPU 1,599 10.1
direct path read temp 1,321,596 619 0 3.9 User I/O
log buffer space 4,161 558 134 3.5 ConfiguratAlthough testers are not complaining about the performance of the appplication , we ,DBAs, are expected to be proactive about the any bad signals from DB.
I am not able to figure out why "log file sync" is having such slow response.
Below is the snapshot from the load profile.
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 108127 16-May-13 20:15:22 105 6.5
End Snap: 108140 16-May-13 23:30:29 156 8.9
Elapsed: 195.11 (mins)
DB Time: 265.09 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache: 1,168M 1,136M Std Block Size: 8K
Shared Pool Size: 1,120M 1,168M Log Buffer: 16,640K
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 1.4 0.1 0.02 0.01
DB CPU(s): 0.1 0.0 0.00 0.00
Redo size: 607,512.1 33,092.1
Logical reads: 3,900.4 212.5
Block changes: 1,381.4 75.3
Physical reads: 134.5 7.3
Physical writes: 134.0 7.3
User calls: 145.5 7.9
Parses: 24.6 1.3
Hard parses: 7.9 0.4
W/A MB processed: 915,418.7 49,864.2
Logons: 0.1 0.0
Executes: 85.2 4.6
Rollbacks: 0.0 0.0
Transactions: 18.4Some of the top background wait events:
^LBackground Wait Events DB/Inst: Snaps: 108127-108140
-> ordered by wait time desc, waits desc (idle events last)
-> Only events with Total Wait Time (s) >= .001 are shown
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Avg
%Time Total Wait wait Waits % bg
Event Waits -outs Time (s) (ms) /txn time
log file parallel write 208,563 0 2,528 12 1.0 66.4
db file parallel write 4,264 0 785 184 0.0 20.6
Backup: sbtbackup 1 0 516 516177 0.0 13.6
control file parallel writ 4,436 0 97 22 0.0 2.6
log file sequential read 6,922 0 95 14 0.0 2.5
Log archive I/O 6,820 0 48 7 0.0 1.3
os thread startup 432 0 26 60 0.0 .7
Backup: sbtclose2 1 0 10 10094 0.0 .3
db file sequential read 2,585 0 8 3 0.0 .2
db file single write 560 0 3 6 0.0 .1
log file sync 28 0 1 53 0.0 .0
control file sequential re 36,326 0 1 0 0.2 .0
log file switch completion 4 0 1 207 0.0 .0
buffer busy waits 5 0 1 116 0.0 .0
LGWR wait for redo copy 924 0 1 1 0.0 .0
log file single write 56 0 1 9 0.0 .0
Backup: sbtinfo2 1 0 1 500 0.0 .0During a previous perf test , things didnt look this bad for "log file sync. Few sections from the comparision report(awrddprt.sql)
{code}
Workload Comparison
~~~~~~~~~~~~~~~~~~~ 1st Per Sec 2nd Per Sec %Diff 1st Per Txn 2nd Per Txn %Diff
DB time: 0.78 1.36 74.36 0.02 0.07 250.00
CPU time: 0.18 0.14 -22.22 0.00 0.01 100.00
Redo size: 573,678.11 607,512.05 5.90 15,101.84 33,092.08 119.13
Logical reads: 4,374.04 3,900.38 -10.83 115.14 212.46 84.52
Block changes: 1,593.38 1,381.41 -13.30 41.95 75.25 79.38
Physical reads: 76.44 134.54 76.01 2.01 7.33 264.68
Physical writes: 110.43 134.00 21.34 2.91 7.30 150.86
User calls: 197.62 145.46 -26.39 5.20 7.92 52.31
Parses: 7.28 24.55 237.23 0.19 1.34 605.26
Hard parses: 0.00 7.88 100.00 0.00 0.43 100.00
Sorts: 3.88 4.90 26.29 0.10 0.27 170.00
Logons: 0.09 0.08 -11.11 0.00 0.00 0.00
Executes: 126.69 85.19 -32.76 3.34 4.64 38.92
Transactions: 37.99 18.36 -51.67
First Second Diff
1st 2nd
Event Wait Class Waits Time(s) Avg Time(ms) %DB time Event Wait Class Waits Time(s) Avg Time
(ms) %DB time
SQL*Net more data from client Network 2,133,486 1,270.7 0.6 61.24 log file sync Commit 208,355 7,407.6
35.6 46.57
CPU time N/A 487.1 N/A 23.48 direct path write User I/O 646,849 3,604.7
5.6 22.66
log file sync Commit 99,459 129.5 1.3 6.24 log file parallel write System I/O 208,564 2,528.4
12.1 15.90
log file parallel write System I/O 100,732 126.6 1.3 6.10 CPU time N/A 1,599.3
N/A 10.06
SQL*Net more data to client Network 451,810 103.1 0.2 4.97 db file parallel write System I/O 4,264 784.7 1
84.0 4.93
-direct path write User I/O 121,044 52.5 0.4 2.53 -SQL*Net more data from client Network 7,407,435 279.7
0.0 1.76
-db file parallel write System I/O 986 22.8 23.1 1.10 -SQL*Net more data to client Network 2,714,916 64.6
0.0 0.41
{code}
*To sum it sup:
1. Why is the IO response getting such an hit during the new perf test? Please suggest*
2. Does the number of DB writer impact "log file sync" wait event? We have only one DB writer as the number of cpu on the host is only 4
{code}
select *from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for HPUX: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
{code}
Please let me know if you would like to see any other stats.
Edited by: Kunwar on May 18, 2013 2:20 PM1. A snapshot interval of 3 hours always generates meaningless results
Below are some details from the 1 hour interval AWR report.
Platform CPUs Cores Sockets Memory(GB)
HP-UX IA (64-bit) 4 4 3 31.95
Snap Id Snap Time Sessions Curs/Sess
Begin Snap: 108129 16-May-13 20:45:32 140 8.0
End Snap: 108133 16-May-13 21:45:53 150 8.8
Elapsed: 60.35 (mins)
DB Time: 140.49 (mins)
Cache Sizes Begin End
~~~~~~~~~~~ ---------- ----------
Buffer Cache: 1,168M 1,168M Std Block Size: 8K
Shared Pool Size: 1,120M 1,120M Log Buffer: 16,640K
Load Profile Per Second Per Transaction Per Exec Per Call
~~~~~~~~~~~~ --------------- --------------- ---------- ----------
DB Time(s): 2.3 0.1 0.03 0.01
DB CPU(s): 0.1 0.0 0.00 0.00
Redo size: 719,553.5 34,374.6
Logical reads: 4,017.4 191.9
Block changes: 1,521.1 72.7
Physical reads: 136.9 6.5
Physical writes: 158.3 7.6
User calls: 167.0 8.0
Parses: 25.8 1.2
Hard parses: 8.9 0.4
W/A MB processed: 406,220.0 19,406.0
Logons: 0.1 0.0
Executes: 88.4 4.2
Rollbacks: 0.0 0.0
Transactions: 20.9
Top 5 Timed Foreground Events
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Avg
wait % DB
Event Waits Time(s) (ms) time Wait Class
log file sync 73,761 6,740 91 80.0 Commit
log buffer space 3,581 541 151 6.4 Configurat
DB CPU 348 4.1
direct path write 238,962 241 1 2.9 User I/O
direct path read temp 487,874 174 0 2.1 User I/O
Background Wait Events DB/Inst: Snaps: 108129-108133
-> ordered by wait time desc, waits desc (idle events last)
-> Only events with Total Wait Time (s) >= .001 are shown
-> %Timeouts: value of 0 indicates value was < .5%. Value of null is truly 0
Avg
%Time Total Wait wait Waits % bg
Event Waits -outs Time (s) (ms) /txn time
log file parallel write 61,049 0 1,891 31 0.8 87.8
db file parallel write 1,590 0 251 158 0.0 11.6
control file parallel writ 1,372 0 56 41 0.0 2.6
log file sequential read 2,473 0 50 20 0.0 2.3
Log archive I/O 2,436 0 20 8 0.0 .9
os thread startup 135 0 8 60 0.0 .4
db file sequential read 668 0 4 6 0.0 .2
db file single write 200 0 2 9 0.0 .1
log file sync 8 0 1 152 0.0 .1
log file single write 20 0 0 21 0.0 .0
control file sequential re 11,218 0 0 0 0.1 .0
buffer busy waits 2 0 0 161 0.0 .0
direct path write 6 0 0 37 0.0 .0
LGWR wait for redo copy 380 0 0 0 0.0 .0
log buffer space 1 0 0 89 0.0 .0
latch: cache buffers lru c 3 0 0 1 0.0 .0 2 The log file sync is a result of commit --> you are committing too often, maybe even every individual record.
Thanks for explanation. +Actually my question is WHY is it so slow (avg wait of 91ms)+3 Your IO subsystem hosting the online redo log files can be a limiting factor.
We don't know anything about your online redo log configuration
Below is my redo log configuration.
GROUP# STATUS TYPE MEMBER IS_
1 ONLINE /oradata/fs01/PERFDB1/redo_1a.log NO
1 ONLINE /oradata/fs02/PERFDB1/redo_1b.log NO
2 ONLINE /oradata/fs01/PERFDB1/redo_2a.log NO
2 ONLINE /oradata/fs02/PERFDB1/redo_2b.log NO
3 ONLINE /oradata/fs01/PERFDB1/redo_3a.log NO
3 ONLINE /oradata/fs02/PERFDB1/redo_3b.log NO
6 rows selected.
04:13:14 perf_monitor@PERFDB1> col FIRST_CHANGE# for 999999999999999999
04:13:26 perf_monitor@PERFDB1> select *from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIME
1 1 40689 524288000 2 YES INACTIVE 13026185905545 18-MAY-13 01:00
2 1 40690 524288000 2 YES INACTIVE 13026185931010 18-MAY-13 03:32
3 1 40691 524288000 2 NO CURRENT 13026185933550 18-MAY-13 04:00Edited by: Kunwar on May 18, 2013 2:46 PM -
Hiya
We have been doing Load Performance Testing using testing tool QALoad on our Forms 10g application. After about 56 virtual users(sessions) have logged-in into our application, if a new user tries to log-in into our application, the Forms crashes. As soon as we encounter the FRM-92101 error, no more new forms session are able to start.
The Load Testing software start up each process very quickly, about every 10 seconds.
The very first form that appears is the login form of our application. So before the login screen appears, we get FRM-92101 error message.
However, those users who have already logged-in into our application, they are able to carry on their tasks.
We are using Application Server 10g 10.1.2.0.2. I have checked the status on Application Server through Oracle Enterprise Manager Console. The OC4J Instance is up and running. Also, server's configuration is pretty good. It is running on 2 CPUs (AMD Opteron 3GHz) and has 32GB of memory. The memory used by those 56 sessions is less than 3GB.
The Applicatin Server is running on a Microsoft Windows Server 2003 64bit Enterprise Edition.
Any help will be much appreciated.
Cheers
MayurHi Shekhawat
In Windows Registry go to
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems
In the right hand side panel, you will find String Value as Windows. Now double click on it (Windows). In the pop up window you will see a string similar to the following one:
%SystemRoot%\system32\csrss.exe ObjectDirectory=\Windows SharedSection=1024,20480,768 Windows=On SubSystemType=Windows ServerDll=basesrv,1 ServerDll=winsrv:UserServerDllInitialization,3 ServerDll=winsrv:ConServerDllInitialization,2 ProfileControl=Off MaxRequestThreads=16
Now if you read it carefully in the above string, you will find this parameter
SharedSection=1024,20480,768
Here SharedSection specifies the system and desktop heaps using the following format:
SharedSection=xxxx,yyyy,zzzz
The default values are 1024,3072,512
All the values are in Kilobytes (KB)
xxxx = System-wide Heapsize. There is no need to modify this value.
yyyy = IO Desktop Heapsize. This is the heap for memory objects in the IO Desktop.
zzzz = Non-IO Desktop Heapsize. This is the heap for memory objects in the Non-IO Desktop.
On our server the values were as follows :
1024,20480,768
We changed the size of Non-IO desktop heapsize from 768 to 5112. With 5112 KB we managed to test our application for upto 495 virtual users.
Cheers
Mayur -
Password Probs - Oracle 8 Navigator & Oracle Lite Designer
I have read the thread entitled "Oracle Lite Designer -
password?", but none of the suggestions have worked.
Whether I try to run Oracle 8 Navigator or Oracle Lite Design,
at some point I get an alert box that prompts "Please provide
a database password?"
I have looked through numerous sources and find nothing on
this. Everything I try (that seems logical) for a password
fails.
Can anyone shed any light on this?
I have the following installed:
Windows 98
Oracle 8i Lite v4.0.0.1.0
Java 2 SDK, Standard Edition v1.2.2 for Windows 98/95/NT
Java HotSpot Performance Engine v1.0.1 for Window 98/95/NT
My PATH and CLASSPATH are set as follows in AUTOEXEC.BAT:
set CLASSPATH=C:\orawin95\LITE\CLASSES\OLITE40.JAR
PATH C:\jdk1.2.2\bin;C:\jdk1.2.2\jre\bin\hotspot;
C:\orawin95\bin;%PATH%
nullAndrew (guest) wrote:
: When I startup the Oracle Lite Designer app, it prompts me for
a
: password. It doesn't accept any valid user password or
encrypted
: password I supply. It works this way for both the default
polite
: database and any new one I try to create. Anybody run into
this
: issue or have a solution?
: Also what an example of the syntax for a jdbc connection in
Lite
: Designer? When I enter something in that is obviously wrong it
: doesn't give me any indication of what happened.
: -Andrew
Hello,
I ran into that problem, too. My solution was to uninstall all
Sun Java parts (JDK and JRE) and reinstall JDK1.2.2
("jdk1_2_2-win.exe")from scratch. My CLASSPATH includes only the
standard classes you can find after a normal OLite4-Installation
(see OLite4 installation notes or send my an email). And check
your environment variables for references to old Java parts.
Now Lite Designer runs with POLITE.odb and my own databases and
yes - it is slow, but it is Java, so this should explain
everything.
What I do not know is where that password dialog came from.
Sometimes it reappears, but not in my own databases.
I hope that this will help you.
Bye
Martin Hanff.
null -
I looks to me like Oracle Lite doesn't support the UTF8 character set for storing data. Is this correct?
I have an Oracle 8.1.7 database using UTF8 to store English, Thai, Chinese and Philippino data, and I want to synchronise that with Oracle Lite on Windows 2000 clients. The sync seems to work ok, but any non-english characters are lost in a characterset conversion (display as "?").
Regards
SteveI'm a bit confused by your reply. Can Oracle Lite store data in a unicode characterset such as UTF8? It looks to me like the "UTF-8 support" is limited to the drivers, so that it can load and extract utf-8 data, but not store it. From section 2.2.1 of the release notes:
"Oracle Lite Database is NOT a NLS component. In order to reduce the kernel size, it is built for each language which supports native character sets for Windows. Which means, each language has each kernel. Here are the character sets supported by this release:
- Chinese: MS936 CodePage (Simplified Chinese GBK, ZHS)
- Taiwanese: MS950 CodePage (Traditional Chinese BIG5, ZHT)
- Japanese: MS932 CodePage (Japanese Shift-JIS, JA)
- Korean: MS949 CodePage (Korean, Ko)
The database kernel for each language in this list only supports its corresponding character set. Other multibyte character sets are not supported."
Also the documentation on the DBCharEncoding parameter you mention suggests that it only affects the UTF translation for java programs. Section A.2.3:
"... Specifies the UTF translation performed by Oracle Lite. If set to NATIVE, no UTF translation is performed. If set to UTF8, UTF translation is performed. If this parameter is not specified, the default is UTF8. This applies to Java programs only."
I've tried playing with these parameters, as well as changing the NLS_LANG parameter on the client, and for the mobile server, for the Oracle Lite home, all to no avail. I'm still losing the non-english data during synchronisation and it does look like it's being lost in a character set conversion rather than just being garbled, as each Thai characters is being replaced by the correct number of "?"s. As an example the Thai string "บริษัท บราเดอร์ คอมเมอร์เชี่ยล (ประเทศไทย) จำกัด" on the 8.1.7 database sever appears as "?????? ???????? ?????????????? (?????????) ?????" on the oracle lite database.
Am I missing something here? If I can get this data syncronising correctly then Oracle Lite looks like it will support all our requirments so any assistance would be greatly appreciated. (Should I post this to the globilization forum or does that focus only on Oracle's enterprise editions?)
BTW, thanks for the info on the sorting. Obviously the characterset issue is more a fundamental problem at this stage, but if we can fix this then it's good to know about the sorting abilities. -
Update statement in Oracle Lite
Hi
I'm having a problem when I do an Update on the database.
if I set a column which is a primary key in the table with the same value I get a foreign key error.
Ex: update company set company_id = 1 where company_id = 1;
in Oracle 8i there is no problem ,but when I run it in 8i Lite a get the foreign key error.
I appreciate any helpIs it necessary to update the entire record in Oracle Lite, or should it be possible to update select columns only when performing an update query?
Thanks,
Allen
Maybe you are looking for
-
Sd card in cd slot now lost inside
Accidently put sd card in cd slot. I think it slid down inside toward sd slot and can't get it out.
-
Hi, I have a sql which contains an order by clause (order by field1, field2), the query runs fine in SQL*Plus. I tried to create a Group Left report in Reports 10g. When I run the report, it disregards the order by clause. The report works fine if I
-
Validation in POST-TEXT item trigger
Hi Does POST-TEXT -ITEM trigger fire in ENTER-QUERY mode? If not suggest me solution for following scenario: I have supplier field in master block. When Form is in -ENER-QUERY mode, i want to validate the user input in the supplier field before user
-
FCC-13-21xx - New Signal Booster Regulations
Hello, I wanted to start a new discussion area to cover the Feb 20th 2013 FCC ruling on signal boosters. Please share any concerns, comments or general opinions on the issue. More info: http://wireless.fcc.gov/signal-boosters/faq.html Official Ruling
-
Bridge HOME missing from Favorites
Because of an email from Adobe referring to the Studio area of Bridge Home, I discovered that the Home icon is missing from my Bridge. Not only that, but the checkbox that activates it is NOT in the preferences panel. I'm using Bridge 2.1.1.9 on a Ma