As a number of Oracle Connections created - Performance Issue
Hello,
We are using Oracle 9i as a backend and VB 6.0 as Frontend. For one client one connection will be opened in the Database Server, if 200 clients open the application then 200 connections will be opened in the Database Server, due to that performance issue is raising.
We are doing: If the frontend application is not in use for 10-minutes then the connection is closed and at the same time front-end application is also terminated or if the Client terminates the application the connection is closed in the Server.
Eventhought if 200-Clients connect the Server only 4 to 5 Clients send a request to the Server for retriving or for saving the data.
I want to Open a fixed number of connections in the DataBase Server eg., around 10-connections, and i want to use this 10 connections for 200 clients.
At First 10 Connections are opened and 10 Clients are using this 10 connections, among 10 Clients 1 released the database connection after finishing the Job and if 11'th Client opens then this released connection as to be used without opening a new connection, in the same way if some of the connections from 9 get free and if any other clients open application then this connections which are free as to be used for opening the application or else for doing any transaction. So, that the number of connection to be create can be redused.
Please give me the suggestion how to make use the released connection for doing the transaction or else for opening the application.
Thanking U with Regards,
Sravan,
Hyderabad.
As Satish mentioned, Shared Server can be a good solution, but it would also be worth telling us , how did you quantify this thing that due to the number of connections, you have a performance issue? 200 is not that big number I guess. What's the o/s , exact database version and the system details with database details? Also if you have statspack report, post that too over here.
HTH
Aman....
Similar Messages
-
Number of oracle connection increase
We added more web servers IIS Servers which connects to Oracle Database. Each Server has predefined connection pool. As result of this I see Oracle connections number almost doubled. Here is my question. Could this also impact Database performance somehow down in road. Like memory or CPU utilization. Most of new session sitting idle.
Oracle Database 9.2Each connection to database will have a server process (shadow process) running for it on DB server if using dedicated connection method.
These server process will take about 1M memory initially, could grow depends on what's running. So make sure you have enough memory to accommodate them and check your DB parameter
processes and sessions, they govern how many concurrent connections can be opened to database. -
Oracle 11g Migration performance issue
Hello,
There a performance issue with Migration from Oracle 10g(10.2.0.5) to Oracle 11g(11.2.0.2).
Its very simple statement hanging for more than a day and later found that query plan is very very bad. Example of the query is given below:
INSERT INTO TABLE_XYZ
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
While looking at cost in Explain plan :
on 10g --> 62567
0n 11g --> 9879652356776
Strange thing is that
Scenario 1: if I issue just query as shown below, will display rows immediately :
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
Scenario 2: If I create a table as shown below, will work correctly.
CREATE TABLE TABLE_XYZ AS
SELECT F1,F2,F3
FROM TABLE_AB, TABLE_BC
WHERE F1=F4;
What could be the issue here with INSERT INTO <TAB> SELECT <COL> FROM <TAB1>?Table:
CREATE TABLE AVN_WRK_F_RENEWAL_TRANS_T
"PKSRCSYSTEMID" NUMBER(4,0) NOT NULL ENABLE,
"PKCOMPANYCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKBRANCHCODE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKLINEOFBUSINESS" NUMBER(4,0) NOT NULL ENABLE,
"PKPRODUCINGOFFICELIST" VARCHAR2(2 CHAR) NOT NULL ENABLE,
"PKPRODUCINGOFFICE" VARCHAR2(8 CHAR) NOT NULL ENABLE,
"PKEXPIRYYR" NUMBER(4,0) NOT NULL ENABLE,
"PKEXPIRYMTH" NUMBER(2,0) NOT NULL ENABLE,
"CURRENTEXPIRYCOUNT" NUMBER,
"CURRENTRENEWEDCOUNT" NUMBER,
"PREVIOUSEXPIRYCOUNT" NUMBER,
"PREVIOUSRENEWEDCOUNT" NUMBER
SEGMENT CREATION IMMEDIATE PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE
INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
TABLESPACE "XYZ" ;
Explain Plan(With Insert Statement and Query):_
INSERT STATEMENT, GOAL = ALL_ROWS Cost=9110025395866 Cardinality=78120 Bytes=11952360
LOAD TABLE CONVENTIONAL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS
NESTED LOOPS OUTER Cost=9110025395866 Cardinality=78120 Bytes=11952360
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=115 Cardinality=78120 Bytes=2499840
VIEW PUSHED PREDICATE Object owner=ODS Cost=116615788 Cardinality=1 Bytes=121
SORT GROUP BY Cost=116615788 Cardinality=3594 Bytes=406122
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=116615787 Cardinality=20168 Bytes=2278984
SORT GROUP BY Cost=116615787 Cardinality=20168 Bytes=4073936
NESTED LOOPS OUTER Cost=116614896 Cardinality=20168 Bytes=4073936
VIEW Object owner=SYS Cost=5722 Cardinality=20168 Bytes=2157976
NESTED LOOPS Cost=5722 Cardinality=20168 Bytes=2097472
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW PUSHED PREDICATE Object owner=ODS Cost=4 Cardinality=1 Bytes=20
FILTER
SORT AGGREGATE Cardinality=1 Bytes=21
TABLE ACCESS BY GLOBAL INDEX ROWID Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=4 Cardinality=1 Bytes=21
INDEX RANGE SCAN Object owner=ODS Object name=PK_AVN_F_TRANSACTIONS Cost=3 Cardinality=1
VIEW PUSHED PREDICATE Object owner=ODS Cost=5782 Cardinality=1 Bytes=95
SORT GROUP BY Cost=5782 Cardinality=2485 Bytes=216195
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=5781 Cardinality=2485 Bytes=216195
SORT GROUP BY Cost=5781 Cardinality=2485 Bytes=278320
HASH JOIN Cost=5780 Cardinality=2485 Bytes=278320
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=925 Cardinality=1199 Bytes=73139
SORT GROUP BY Cost=925 Cardinality=1199 Bytes=100716
HASH JOIN Cost=924 Cardinality=1199 Bytes=100716
NESTED LOOPS
NESTED LOOPS Cost=181 Cardinality=1199 Bytes=80333
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=159 Cardinality=1199 Bytes=39567
INDEX RANGE SCAN Object owner=ODS Object name=IX_INWPOLDTLS_SYSCOMPANYBRANCH Cost=7 Cardinality=1199
INDEX UNIQUE SCAN Object owner=ODS Object name=PK_AVN_D_MASTERPOLICYDETAILS Cost=0 Cardinality=1
TABLE ACCESS BY INDEX ROWID Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=1 Cardinality=1 Bytes=34
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=288498 Bytes=4904466
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=4854 Cardinality=75507 Bytes=3850857
SORT GROUP BY Cost=4854 Cardinality=75507 Bytes=2340717
VIEW Object owner=ODS Cost=4207 Cardinality=75507 Bytes=2340717
SORT GROUP BY Cost=4207 Cardinality=75507 Bytes=1585647
PARTITION HASH ALL Cost=3713 Cardinality=75936 Bytes=1594656
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3713 Cardinality=75936 Bytes=1594656
Explain Plan(Only Query):_
SELECT STATEMENT, GOAL = ALL_ROWS Cost=62783 Cardinality=89964 Bytes=17632944
HASH JOIN OUTER Cost=62783 Cardinality=89964 Bytes=17632944
TABLE ACCESS FULL Object owner=ODS Object name=AVN_WRK_F_RENEWAL_TRANS_1ST Cost=138 Cardinality=89964 Bytes=2878848
VIEW Object owner=ODS Cost=60556 Cardinality=227882 Bytes=37372648
HASH GROUP BY Cost=60556 Cardinality=227882 Bytes=26434312
VIEW Object owner=SYS Object name=VW_DAG_1 Cost=54600 Cardinality=227882 Bytes=26434312
HASH GROUP BY Cost=54600 Cardinality=227882 Bytes=36005356
HASH JOIN OUTER Cost=46664 Cardinality=227882 Bytes=36005356
VIEW Object owner=SYS Cost=18270 Cardinality=227882 Bytes=16635386
HASH JOIN Cost=18270 Cardinality=227882 Bytes=32587126
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=13445038
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522
VIEW Object owner=ODS Cost=26427 Cardinality=227882 Bytes=19369970
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=18686324
VIEW Object owner=SYS Object name=VW_DAG_0 Cost=26427 Cardinality=227882 Bytes=18686324
HASH GROUP BY Cost=26427 Cardinality=227882 Bytes=25294902
HASH JOIN Cost=20687 Cardinality=227882 Bytes=25294902
VIEW Object owner=SYS Object name=VW_GBC_15 Cost=12826 Cardinality=34667 Bytes=2080020
HASH GROUP BY Cost=12826 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=12147 Cardinality=34667 Bytes=2912028
HASH JOIN Cost=10076 Cardinality=34667 Bytes=2322689
TABLE ACCESS FULL Object owner=ODS Object name=AVN_D_MASTERPOLICYDETAILS Cost=137 Cardinality=34667 Bytes=1178678
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYDETAILS Cost=9934 Cardinality=820724 Bytes=27083892
TABLE ACCESS FULL Object owner=ODS Object name=INWARDSPOLICYLOBMAPPING Cost=741 Cardinality=866377 Bytes=14728409
VIEW Object owner=SYS Object name=VW_GBF_16 Cost=7059 Cardinality=227882 Bytes=11621982
HASH GROUP BY Cost=7059 Cardinality=227882 Bytes=6836460
VIEW Object owner=ODS Cost=5195 Cardinality=227882 Bytes=6836460
HASH GROUP BY Cost=5195 Cardinality=227882 Bytes=4785522
PARTITION HASH ALL Cost=3717 Cardinality=227882 Bytes=4785522
TABLE ACCESS FULL Object owner=ODS Object name=AVN_F_TRANSACTIONS Cost=3717 Cardinality=227882 Bytes=4785522 -
Oracle BPEL 11G performance issue
Hi
We are facing performance issues in executing our composite process in Oracle SOA 11g .
We have installed an admin server and 2 managed servers in cluster in same box. The machine utilization reached almost 95% when i started the admin server and 2 managed server (min n max size of heap given as 1GB each in start up). So i shut down one managed server and increased the JVM size of other to 2 GB and found that the heap size reaches 1.5 GB on start up (observed the heap size using Jconsole)
The machine capacity is windows server with 4 GB RAM.
Our process requries multiple records to be processed which are retrieved using Database query.
We have created 2 composites
the first composite has 2 BPEL process. the First BPEL 1 executes the DB query and retrieves the result and based on result retrieved we invoke the second BPEL2
which does around 4 DB calls and passed the result to the next composite. The final BPEL process 3 has multiple select and update query involving DB intensive process.
When we retrieve 500 records from the BPEL 1 and process , half way through we face out of memory exception. So we are using throttling but even then while executing the process of BPEL3 we are facing out of memory excetion.
Can you let me know how to find the memory space taken from heap by each BPEL process during it execution. Where in console can i get the memory used details so that i can find which BPEL sis consuming more memory and we can work on optimising.
Actually we are expecting around 1Lakh and above messages per day and need to check on how this process can handle and also how to increase or determine the capacity of the windows box.
any immediate help is highly appreciated
thanksAlways raise a case with Oracle Support for such issues.
Regards,
Anuj -
RedHat AS4 and Oracle 10R2 upgrade - performance issue
Hi all,
As part of our database upgrade project (from Oracle 10.2.0.1 to 10.2.0.3), we decided to upgrade our OS as well (RedHat AS4 from Update 2 to Update 4, 64-bit). We are in testing phase now and having some serious performance issues.
These below are steps that we have performed:
1. Ran db load testing plus Application Regression testing in order to get a baseline
2. Upgraded RH AS4 from Update 2 to Update 4
3. Ran db load testing plus Application Regression testing
4. Database load testing (including massive parallel processes, like 'insert into ...', 'create indexes ...parallel',etc ...) showed significant slowdown compared to our 'baseline' test (Update 2): 70-80%. The database is still Oracle 10.2.0.1, only RH was updated at this point
5. We upgraded Oracle 10.2.0.1 to 10.2.0.3, latest CPU , etc ...(Update 4 on OS side) still same slowdown in performances ...
6. Our Application Regression Testing has showed performance degradation also but not in same extent as db load test (10-20 % on different application modules)
7. We also did one more thing : went back and upgraded Oracle with Update 2 (some 'workarounds' were required but that's another story). Performances were OK. So it seems our problem is not (directly) related to Oracle version.
Now we are going to install Update 6 (the latest update for AS4) and see how it goes.
If anybody have any experience or idea about this case and want to share it with us, it would be highly appreciated.
Thanks in advance,
Milan N.Just a quick update for those who follow this thread ...
Everything worked fine with 'Update 6' kernel (both Oracle 10.2.0.1 and 10.2.0.3). We have also applied all available security packages.
Milan N. -
Oracle Forms6i Query Performance issue - Urgent
Hi All,
I'm using oracle forms6i and Oracle DB 9i.
I'm facing the performance issue in query forms.
In detail block form taking long time to load the data.
Form contains 2 non data blocks
1.HDR - 3 input parameters
2.DETAILS - Grid - Details
HDR input fields
1.Company Code
2.Company ACccount No
3.Customer Name
Details Grid is displayed the details.
Here there are 2 tables involved
1.Table1 - 1 crore records
2.Table2 - 4 crore records
In form procedure one cursor bulid and fetch is done directly and assign the values to form block fields.
Below i've pasted the query
SELECT
t1.entry_dt,
t2.authoriser_code,
t1.company_code,
t1.company_ac_no
initcap(t1.customer_name) cust_name,
t2.agreement_no
t1.customer_id
FROM
table1 t1,
table2 t2
WHERE
(t2.trans_no = t1.trans_no or t2.temp_trans_no = t1.trans_no)
AND t1.company_code = nvl(:hdr.l_company_code,t1.company_code)
AND t1.company_ac_no = nvl(:hdr.l_company_ac_no,t1.company_ac_no)
AND lower(t1.customer_name) LIKE lower(nvl('%'||:hdr.l_customer_name||'%' ,t1.customer_name))
GROUP BY
t2.authoriser_code,
t1.company_code,
t1.company_ac_no,
t1.customer_name,
t2.agreement_no,
t1.customer_id;
Where Clause Analysis
1.Condition 1 OR operator (In table2 two different columbs are compared with one column in table)
2.Like Operator
3.All the columns has index but not used properly always full table scan
4.NVL chk
5.If i run the qry in backend means coming little fast,front end very slow
Input Parameter - Query retrival data - limit
Only compnay code means record count will be 50 - 500 records -
Only compnay code and comp ac number means record count will be 1-5
Only compnay code,omp ac number and customer name means record count will be 1 - 5 records
I have tried following ways
1.Split the query using UNIOIN (OR clause seaparted) - Nested loops COST 850 , Nested loops COST 750 - index by row id - cost is 160 ,index by row id - cost is 152 full table access.................................
2.Dynamic SQL build - 'DBMS_SQL.DEFINE COLUMN .....
3.Given onlu one input parameter - Nested loops COST 780 , Nested loops COST 780 - index by row id - cost is 148 ,index by row id - cost is 152 full table access.................................
Still im facing the same issue.
Please help me out on this.
Thanks and Regards,
Oracle1001Sudhakar P wrote:
the below query its take more than one minute while updating the records through pro*c.
Execute 562238 161.03 174.15 7 3932677 2274833 562238Hi Sudhakar,
If the database is capable of executing 562,238 update statements in one minute, then that's pretty good, don't you think.
Your real problem is in the application code which probably looks something like this in pseudocode:
for i in (some set containing 562,238 rows)
loop
<your update statement with all the bind variables>
end loop;If you transform your code to do a single update statement, you'll gain a lot of seconds.
Regards,
Rob. -
10.2 Oracle sapdata layout - performance issues?
Can someone provide the pros cons of /oracle layout for ERP 6.0 production system?
Is it better to build several additional sapdatas.
Initially SAP loads data into sapdata 1 through sapdata4.....
Has anyone seen any possible performance issues only using sapdata1-4 especially with a 3 TB DB running 10.2.04?
Any advice is appriciated...
Thanks
Mikie BHello Mikie,
> Initially SAP loads data into sapdata 1 through sapdata4....
What do you mean with this?
> Is it better to build several additional sapdatas.
This depends on your storage. Normally if you have a high-range SAN storage it shouldn't matter. I have seen special cases where some disk ranks were overloaded .. but normally you should not think about that. If you don't have SAN and your load needs to be spread .. this is something different.
> Has anyone seen any possible performance issues only using sapdata1-4 especially with a 3 TB DB running 10.2.04?
Our main logistic system is round about 3.6 TB and stored in eleven sapdata directories .. but this partitioning has nothing todo with performance issues ... the reason for that is some limitation on OS level.
Regards
Stefan
P.S.:
> Can someone provide the pros cons of /oracle layout for ERP 6.0 production system?
If i extend or create a new tablespace i am wondering every time .. why sap is creating a sub directory for every data file by default .. absolutely freaky. -
Oracle SOA 11g Performance Issue
Hi,
We have set up Oracle SOA Suite on AIX environment. Java which we are using is IBM Jdk 1.6. Recently we are hit with performance issue. Frequently we are getting out of memory exception and we need to restart the server and sometimes physically reboot the machine, because out of 16 GB of RAM 4GB we have given as heap space to Admin Server, 7 GB to SOA Server but it is taking more than 7 GB as heap space. On stopping or killing both the services memory is not getting released
SOA Suite Version : 11.1.1.3
Instance Node: Single Node
I collected the logs and tried to analyze in Thread Dump Analyzer and i could see objects(Reserved) is taking 100% of the CPU Utilization.
We are getting the following error highlighed in the analyzer. There are about 200+ threads got stuck.
"HTTPThreadGroup-42" prio=10 tid=0x6382ba28 nid=0x20bf4 waiting on condition [0x6904f000..0x6904fb94]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:772)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1087)
at java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:291)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:443)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:475)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
at java.lang.Thread.run(Thread.java:595)
"HTTPThreadGroup-41" prio=10 tid=0x6ae3cce0 nid=0x20bf0 waiting on condition [0x68d8f000..0x68d8fc14]
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:146)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireNanos(AbstractQueuedSynchronizer.java:772)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireNanos(AbstractQueuedSynchronizer.java:1087)
at java.util.concurrent.SynchronousQueue$Node.waitForPut(SynchronousQueue.java:291)
at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:443)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:475)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:674)
at java.lang.Thread.run(Thread.java:595)
Has anyone faced same issue? We are badly hit with this performance issue in UAT
Please concider this on high priority and someone please help us
Regards,
SundarAlways raise a case with Oracle Support for such issues.
Regards,
Anuj -
Number of Workitem Containers and Performance Issues
Hi All,
Is there a major performance issue based on the number of workflow containers.
I know its recommended that the containers should be single line rather multiline and to keep the number of containers less
Did anyone face some performance issue with many containers and any idea on what is the minimum number to keeping performance into consideration.
Thanks,
Charan.Performance does not come in for Workflow container but it is also a good practise to make the number of Workflow container less. Generally if you consider a sophesticated Workflow Expert who is only into developing will have the minimum of Workflow container. But if that same expert has experience in Support Project where he has to analyse Wflow developed by other expert then it is always handful to maintain all the meaningful information in the Workflow container. I will recommend to use minimum of Workflow container element but this should not sacrifice the information Container element.
Thanks
Arghadip -
Oracle Retail 13 - Performance issues when open, save, approving worksheets
Hi Guys,
Recently we started facing performance issues when we started working with Oracle Retail 13 worksheets from within the java GUI at clients desktops.
We run Oracle Retail 13.1 powered by Oracle Database 11g R1 and AS 10g in latest release.
Issues:
- Opening, saving, approving worksheets with approx 9 thousands of items takes up to 15 minutes.
- Time for smaller worksheets is also around 10 minutes just to open a worksheet
- Also just to open multiple worksheets takes "ages" up to 10-15 minuts
Questions:
- Is it expected performance for such worksheets?
- What is your experience with Oracle Retail 13 in terms of performance while working with worksheets - how much time does it normally take to open edit save a worksheet?
- What are the average expected times for such operations?
Any feedback and hints would be much appreciated.
Cheers!!Hi,
I guess you mean Order/Buyer worksheets?
This is not normal, should be quicker, matter of seconds to at most a minute.
Database side tuning is where I would look for clues.
And the obvious question: remember any changes to anything that may have caused the issue? Are the table and index statistics freshly gathered?
Best regards, Erik Ykema -
"oracle database 11g performance issues"
Hai everybody,
In oracle 11g 11.2.0.1.0 we are developing business application using java, Our developers said Database performance is very poor it takes more time to retrieve values from database, they check froantend and middleware that has no problem, if the query returns less values or rows it takes little more time. How can i solve this problem? please help me
Regards Benkhai,
sorry for the delay my @$ORACLE_HOME/rdbms/admin/ashrpt.sql output shown below
ASH Report For ORCL/orcl
DB Name DB Id Instance Inst Num Release RAC Host
ORCL 1295420332 orcl 1 11.2.0.1.0 NO node6.node6-
CPUs SGA Size Buffer Cache Shared Pool ASH Buffer Size
2 1,561M (100%) 480M (30.7%) 432M (27.7%) 4.0M (0.3%)
Analysis Begin Time: 04-Oct-12 16:44:16
Analysis End Time: 04-Oct-12 16:59:33
Elapsed Time: 15.3 (mins)
Begin Data Source: V$ACTIVE_SESSION_HISTORY
End Data Source: V$ACTIVE_SESSION_HISTORY
Sample Count: 3
Average Active Sessions: 0.00
Avg. Active Session per CPU: 0.00
Report Target: None specified
Top User Events DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
Avg Active
Event Event Class % Event Sessions
null event Other 33.33 0.00
Top Background Events DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
Avg Active
Event Event Class % Activity Sessions
CPU + Wait for CPU CPU 33.33 0.00
os thread startup Concurrency 33.33 0.00
Top Event P1/P2/P3 Values DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Service/Module DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
Service Module % Activity Action % Action
SYS$BACKGROUND UNNAMED 66.67 UNNAMED 66.67
SYS$USERS UNNAMED 33.33 UNNAMED 33.33
Top Client IDs DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top SQL Command Types DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Phases of Execution DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
Avg Active
Phase of Execution % Activity Sessions
SQL Execution 33.33 0.00
Top SQL with Top Events DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top SQL with Top Row Sources DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top SQL using literals DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Parsing Module/Action DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top PL/SQL Procedures DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Java Workload DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Call Types DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Sessions DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
-> '# Samples Active' shows the number of ASH samples in which the session
was found waiting for that particular event. The percentage shown
in this column is calculated with respect to wall clock time
and not total database activity.
-> 'XIDs' shows the number of distinct transaction IDs sampled in ASH
when the session was waiting for that particular event
-> For sessions running Parallel Queries, this section will NOT aggregate
the PQ slave activity into the session issuing the PQ. Refer to
the 'Top Sessions running PQs' section for such statistics.
Sid, Serial# % Activity Event % Event
User Program # Samples Active XIDs
10, 1 33.33 CPU + Wait for CPU 33.33
SYS [email protected] (ARC2) 1/917 [ 0%] 0
19, 148 33.33 null event 33.33
SYS [email protected] (J000) 1/917 [ 0%] 0
139, 3 33.33 os thread startup 33.33
SYS [email protected] (CJQ0) 1/917 [ 0%] 0
Top Blocking Sessions DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Sessions running PQs DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top DB Objects DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top DB Files DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Top Latches DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
No data exists for this section of the report.
Activity Over Time DB/Inst: ORCL/orcl (Oct 04 16:44 to 16:59)
-> Analysis period is divided into smaller time slots
-> Top 3 events are reported in each of those slots
-> 'Slot Count' shows the number of ASH samples in that slot
-> 'Event Count' shows the number of ASH samples waiting for
that event in that slot
-> '% Event' is 'Event Count' over all ASH samples in the analysis period
Slot Event
Slot Time (Duration) Count Event Count % Event
16:48:00 (2.0 min) 1 CPU + Wait for CPU 1 33.33
16:50:00 (2.0 min) 2 null event 1 33.33
os thread startup 1 33.33
End of Report
Regards Benk -
Non-Oracle connection through HS issue
Greetings!
I have created a HS to a MySQL server and from SQL> this works fine as a dblink
create database link "dvb_mysqllink"
connect to "sord_ro"
identified by "<pwd>"
using 'mysqlSORDdev_cmdb';
SQL> select 'foo' from dual@dvb_mysqllink;
'FOO'
foo
What do I do to use this HS from OWB?
1) In "Design Center" I select Databases->Non-Oracle->ODBC->"new" (via right click)
2) I name the Module "MYSQL_HS"
3) I edit (and rename) the resulting Location to MYSQL_HS_LOCATION and use:
4) Type: HOST:PORT:SERVICE
5) USER NAME: (username on Mysql same as dblink above)
6) Password: (password on Mysql same as dblink above)
7) Host (the database that holds the HS listener, same server the dblink is created in)
8) Port 1521
9) Service Name: "mysqlSORDdev_cmdb" (the same DNS/TNSLISTENER value used in the dblink)
when I hit test connection I get:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Generic Connectivity Using ODBC][MySQL][ODBC 3.51 Driver]Access denied for user 'SORD_RO'@'DSS0W023' (using password: YES) (SQL State: S1000; SQL Code: 1045)
ORA-02063: preceding 2 lines from OWB_961
I know the user/name password are correct as they're the same I use when creating the dblink via SQL....
Should I not use ODBC? Did I bump my head somewhere?
Any help here would be great.
Thanks in advance,
Dave-You have to do the following steps:
1) In "Design Center", select Databases->Non-Oracle->ODBC->"new" (via right click)
2) Name the Module
3) Type Database Link
4) From Location: select the location of the database you have configured the databse link.
5) Database Link: if all is correct, you can select here the "dvb_mysqllink" databse link.
6) Test the connection.
I did those steps and it works, but i have a problem. When i want to import some tables, i can see the tables in the import wizard, but it don't import anything. The wizard is closed with no messages. Help, please!! -
Oracle DB Restart Performance Issues
Hi ,
When we try to restart the database we are not able to restart So we changed the following values
db_cache_size
java_pool_size
large_pool_size
optimizer_mode From Choose to First_rows
pga_aggregate_target
sga_max_size
shared_pool_size.
Database Got restarted . But Now Database is up and running. Issue is that SQL Statements/Stored Procedures are running for Long time.
Do we need to fine tune these parameters again. Please advice
Database Version : Oracle 9i
Database Size 10GB
Transactions: 5,000/Day
Cheersuser627752 wrote:
When we try to restart the database we are not able to restart Before changing anything, the first question would be : why ? error message ? ...
...So we changed the following values
db_cache_size
java_pool_size
large_pool_size
optimizer_mode From Choose to First_rows
pga_aggregate_target
sga_max_size
shared_pool_size.Amazing. Why have you decided to change all those in one shot ? Base on what ?
>
... Issue is that SQL Statements/Stored Procedures are running for Long time.Right now, you are not able to figure out what change make your database slow, nothing surprising in fact.
Rollback all your changes and try again one by one, based on facts (statspack).
But first of all, reply to the first question above.
Nicolas. -
Oracle Forms 6i performance issue
Hi All,
I have one query form.
Im using cursor in form and fetch the data directly and assign to the form block values.
There are two table involved here.
Table1 has 1 crore record.
Table2 has 4 crore record.
The query fetch the data 50-500 records.
In backend the select query is fast.
In front end ,it is taking time to load the data in grid.
How can i fetch the data quickly in front end.
Please help me out on this.
Regards,
Oracle1001You can read documentation about this block property:
1.Query Array Size
2. Number of Records Buffered
3. Query All Records -
AS + Oracle DB 10g performance issue
Hi,
My company is currently exploring Oracle Portal and Discoverer. I have a question and would really appreciate if anyone can help me.
I install the AS infrastructure and the database in the same machine. Currently when I log in to the portal for the first time of the day, it is always very slow. If I install the IAS and database in separate machines, will this give a significant improvement in the response time for my portal? What are the implications of installing this in 2 machines instead of 1?
Thanks :)Two things -
With Portal and Discoverer, your AS setup probably includes both mid-tier and Infrastructure installations. (is this a BI & F type mid-tier?) The Infrastructure commonly installs its own database for Metadata repositories etc. So this machine has 2 x AS instances and 2 x Database server, correct? An awful lot for a single machine, I'd guess.
Do you restart the machine first thing each day? The first time a web app loads it has a startup latency. Monday morning, sort of. There is a lot of components involved and they all need to load up some stuff in memory to be able to do some work. This takes time (disk-> mem is very very slow, for one thing).
2 machines means more complex setup and hopefully a 'quicker' solution.
Depending on requirements, you may want one machine for customer/your own database, one machine for AS database and one for AS mid-tier.... What kind of platform are you planning on (hardware + os)?
Maybe you are looking for
-
Error while uploading data to ztable from excel file
Hi, I have a requirement where i have to upload data from excel file to ztable.I have used the fm 'ALSM_EXCEL_TO_INTERNAL_TABLE' for reading the excel file.After reading the excel file i have used INSERT zrb_hdr from table t_zrb_hdr for updating the
-
Myofferpal is taking over my games. How can I get rid of it?
myofferpal is taking over my games - particularly Hotties For Sale. It hijacks the site each time I try to play. Can you tell me how to block it or how to get rid of it please? I found this domain linked to it. http://return.domainnamesales.com/retur
-
Problem while uploading 10,000 items via import workbench in PROD
Hi All, we are using advance product catalog R12.1.3 (PIM). When we are trying to upload 10,000 items via import workbench , We are facing an error not even one record imported .please see the below log file. Please help us regarding this issue . The
-
Sapscript Syntax to write a RFID Tag on a label with Printronix SL5000r
Hello everybody, does anyone know the syntax in SAPscript, to write data on a RFID Label with the label printer SL5000r from Printronix. I know you need the command "RFWTAG". But do you also need a special font? It would be great, if someone could po
-
Mini Server won't shut down/won't start up until power is pulled
I am running OS X 10.9.1 on a Mac Mini Server 2.6 GHz Intel Core I7 / 16 GB ram. I have been having issues shutting down my Mac. I start the shut down process but it gets to a gray screen/beach ball and will sit there forever until you hold the power