11g response is very slow
Hi
We have Oracle RAC 11g2 in windows 2008R2 in two nodes and application 6i an 10g
We use DNS and Scan name resolve to three IP address
for the 10g the operation is acceptable but for 6i is very very slow
any idea!
srsatya wrote:
What is the SGA of the DB, I had the same problem, when increased the SGA it was fine. In our case we upgraded DB from 10.2.0.5 to 11gr2, it need min 3gb SGA to quicker response.And why did a larger SGA seemingly resolved your problem? Any ideas?
Do you know that a larger SGA (and thus larger Shared Pool) can actually worsen performance when the system deals with non-bind SQL parsing? Instead of increasing the db buffer cache and increasing potential logical I/O and providing associated performance gains?
Dealing with performance is more than pushing buttons and turning knobs until it is "better"... and then blindly suggested that as a solution for all performance problems.
How about reading Oracle® Database Performance Tuning Guide? And pay special attention to +1.1.2.3 The Symptoms and the Problems+:
>
A common pitfall in performance tuning is to mistake the symptoms of a problem for the actual problem itself. It is important to recognize that many performance statistics indicate the symptoms, and that identifying the symptom is not sufficient data to implement a remedy
Similar Messages
-
Dear OTN Members
we have recently migrated our application from 6i (client/server) to 10g web based applications. I testing migrated forms on 10g but response is very slow means when i tried to traverse through menu (in our main form after successfully entering credentials in login form) they response very slow, after i click on some menu and try to open the form, it opens very slowly (doesnt show up at once). My machine specs are very good, it is server machine (IBM) with 4 gb RAM, application server is 10g, databse is 10g and developer suite is 10g. We have installed application server seperatey i.e. database is installed on seperate machine.
What can be the reason? either something wrong with application server configuration or what? Please suggest me what to do to enhance performance.
Early reply would be highly appreciated.
Regards
Nasir SaeedTry to establish the bottleneck. Is it the database or the mid-tier. Run addmrpt.sql on the database and see if any improvements need to be made. On the mid-tier side there can be several factor hampering performance: network speed, Web Cache, OHS or the OC4J instance for Forms. Have a look at metalink note 363285.1
-
Oracle 11G - Update is very slow on View
I have big trouble with some Update query on Oracle 11G.
I have a set of tables (5) of identical structures and a view that consists in an UNION ALL of the 5 tables.
None of this table contains more than 20 000 rows.
Let's call the view V_INTE_NE. Each of the basic table has a PRIMARY KEY defined on 3 NUMBERS(10,0) -> INTE_REF / NE_REF / INSTANCE.
Now, I get 6 rows in another table and I want to update my view from the data of this small table (let's call it SMALL). This table has the 3 columns INTE_REF / NE_REF / INSTANCE.
When I try to join the two tables :
SELECT * FROM T_INTE_NE T2
WHERE EXISTS ( SELECT 1 FROM SMALL T1 WHERE T2.INTE_REF = T1.INTEREF AND T2.NE_REF = T1.NEREF AND T2.INTE_INST = T1.INSTANCE )
I get the 6 lines in 0.037 seconds
When I try to update the view (I have an INSTEAD OF trigger that does nothing (just return for testing even without modifying anything), I execute the following query :
UPDATE T_INTE_NE T2
SET INTE_STATE = -11 WHERE
EXISTS ( SELECT 1 FROM SMALL T1 WHERE T2.INTE_REF = T1.INTEREF AND T2.NE_REF = T1.NEREF AND T2.INTE_INST = T1.INSTANCE )
The 6 rows are updated (at least TRIGGER is called) in 20 seconds.
However, in the execution plan, I can't see where Oracle takes time to achieve the query :
Plan hash value: 907176690
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | UPDATE STATEMENT | | 6 | 36870 | 153 (1)| 00:00:02 |
| 1 | UPDATE | T_INTE_NE | | | | |
|* 2 | HASH JOIN RIGHT SEMI | | 6 | 36870 | 153 (1)| 00:00:02 |
| 3 | TABLE ACCESS FULL | SMALL | 6 | 234 | 9 (0)| 00:00:01 |
| 4 | VIEW | T_INTE_NE | 6 | 36636 | 143 (0)| 00:00:02 |
| 5 | VIEW | X_V_T_INTE_NE | 6 | 18636 | 143 (0)| 00:00:02 |
| 6 | UNION-ALL | | | | | |
| 7 | TABLE ACCESS FULL| SECNODE1_T_INTE_NE | 1 | 3106 | 60 (0)| 00:00:01 |
| 8 | TABLE ACCESS FULL| SECNODE2_T_INTE_NE | 1 | 3106 | 60 (0)| 00:00:01 |
| 9 | TABLE ACCESS FULL| SECNODE3_T_INTE_NE | 1 | 3106 | 2 (0)| 00:00:01 |
| 10 | TABLE ACCESS FULL| SECNODE4_T_INTE_NE | 1 | 3106 | 2 (0)| 00:00:01 |
| 11 | TABLE ACCESS FULL| SECNODE5_T_INTE_NE | 1 | 3106 | 2 (0)| 00:00:01 |
| 12 | TABLE ACCESS FULL| SYS_T_INTE_NE | 1 | 3106 | 17 (0)| 00:00:01 |
Predicate Information (identified by operation id):
2 - access("T2"."INTE_REF"="T1"."INTEREF" AND "T2"."NE_REF"="T1"."NEREF" AND
"T2"."INTE_INST"="T1"."INSTANCE")
Note
- dynamic sampling used for this statement (level=2)
Statistics
3 user calls
0 physical read total bytes
0 physical write total bytes
0 spare statistic 3
0 commit cleanout failures: cannot pin
0 TBS Extension: bytes extended
0 total number of times SMON posted
0 SMON posted for undo segment recovery
0 SMON posted for dropping temp segment
0 segment prealloc tasks
What could explain the difference ?
I get exactly the same execution plan (when autotrace is ON).
Furthermore, if I try to do the same update on each of the basic tables, I get the rows updated instantaneously.
Is there any reason for avoiding this kind of query ?
Any help would be greatly appreciated :-)
Regards,
PatrickSorry for this, I lost myself in conjonctures and I didn't think I would have to explain the whole case.
So, I wrote a small piece of PL/SQL that reproduces the same issue.
It seems that my issue is not due to the UPDATE but to the use of the IN predicate.
As you can see at the end of the script, I try to join the 2 tables using different technics.
The first query is very fast, the second is very slow.
I need the second one if I want to do any update.
DROP TABLE Part1;
DROP TABLE Part2;
DROP TABLE Part3;
DROP TABLE Part4;
CREATE TABLE Part1 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 1 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part1 PRIMARY KEY( Key1, Key2, Key3 ) );
CREATE TABLE Part2 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 2 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part2 PRIMARY KEY( Key1, Key2, Key3 ) );
CREATE TABLE Part3 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 3 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part3 PRIMARY KEY( Key1, Key2, Key3 ) );
CREATE TABLE Part4 ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), PartId NUMBER(10, 0) DEFAULT( 4 ) NOT NULL, Data1 VARCHAR2(1000), X_Data2 VARCHAR2(2000) NULL, X_Data3 VARCHAR2(2000) NULL, CONSTRAINT PK_Part4 PRIMARY KEY( Key1, Key2, Key3 ) );
CREATE OR REPLACE FUNCTION Decrypt
x_in IN VARCHAR2
) RETURN VARCHAR2
AS
x_out VARCHAR2(2000);
BEGIN
SELECT REVERSE( x_in ) INTO x_out FROM DUAL;
RETURN ( x_out );
END;
CREATE OR REPLACE VIEW AllParts AS
SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part1
UNION ALL
SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part2
UNION ALL
SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part3
UNION ALL
SELECT Key1, Key2, Key3, PartId, Data1, Decrypt( X_Data2 ) AS Data2, Decrypt( X_Data3 ) AS Data3 FROM Part4;
DROP TABLE Small;
CREATE TABLE Small ( Key1 NUMBER(10, 0), Key2 NUMBER(10, 0), Key3 NUMBER(10, 0), Data1 VARCHAR2(1000) );
BEGIN
DECLARE
n_Key NUMBER(10, 0 ) := 0;
BEGIN
WHILE ( n_Key < 50000 )
LOOP
INSERT INTO Part1( Key1, Key2, Key3 )
VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
INSERT INTO Part2( Key1, Key2, Key3 )
VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
INSERT INTO Part3( Key1, Key2, Key3 )
VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
INSERT INTO Part4( Key1, Key2, Key3 )
VALUES( n_Key, FLOOR( n_Key / 10 ), FLOOR( n_Key / 100 ) );
n_Key := n_Key + 1;
END LOOP;
INSERT INTO Small( Key1, Key2, Key3, Data1 ) VALUES ( 1000, 100, 10, 'Test 1000' );
INSERT INTO Small( Key1, Key2, Key3, Data1 ) VALUES ( 3000, 300, 30, 'Test 3000' );
INSERT INTO Small( Key1, Key2, Key3, Data1 ) VALUES ( 5000, 500, 50, 'Test 5000' );
COMMIT;
END;
END;
SELECT T2.*
FROM Small T1, AllParts T2
WHERE T2.Key1 = T1.Key1 AND T2.Key2 = T1.Key2 AND T2.Key3 = T1.Key3;
SELECT T1.*
FROM AllParts T1
WHERE ( T1.Key1, T1.Key2, T1.Key3 ) IN ( SELECT T2.Key1, T2.Key2, T2.Key3 FROM Small T2 ); -
Oracle-11g connection is very slow
Hi Team,
Installed oracle11g with database yesterday. but the connection to database using tnsnames is very slow even from host server, where as sys / as sysdba is normal in hostserver.
And checked other databases(10g) connections in the same host server, normal. Here with I spooled alert log file and parameter list. pls do the needful help.
Aler log file from shut down to startup.
Sat Aug 06 11:28:54 2011
Shutting down instance (immediate)
Stopping background process SMCO
Shutting down instance: further logons disabled
Sat Aug 06 11:28:55 2011
Stopping background process CJQ0
Stopping background process QMNC
Stopping background process MMNL
Stopping background process MMON
License high water mark = 10
ALTER DATABASE CLOSE NORMAL
Sat Aug 06 11:28:58 2011
SMON: disabling tx recovery
SMON: disabling cache recovery
Sat Aug 06 11:28:58 2011
Shutting down archive processes
Archiving is disabled
Sat Aug 06 11:28:58 2011
ARCH shutting down
Sat Aug 06 11:28:58 2011
ARCH shutting down
Sat Aug 06 11:28:58 2011
ARCH shutting down
ARC1: Archival stopped
ARC0: Archival stopped
ARC3: Archival stopped
Sat Aug 06 11:28:58 2011
ARCH shutting down
ARC2: Archival stopped
Thread 1 closed at log sequence 9
Successful close of redo thread 1
Completed: ALTER DATABASE CLOSE NORMAL
ALTER DATABASE DISMOUNT
Completed: ALTER DATABASE DISMOUNT
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Sat Aug 06 11:29:01 2011
Stopping background process VKTM:
Sat Aug 06 11:29:05 2011
Instance shutdown complete
Sat Aug 06 11:32:12 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =118
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production.
Using parameter settings in client-side pfile /oracle/ora11g/apps/dbs/initrakshak.ora on machine abml01
System parameters with non-default values:
processes = 700
sga_max_size = 30G
sga_target = 30G
control_files = "/barch10g_db/ora11g/rakshak_control/rkdatabase/control1/rakshak_control01.ctl"
control_files = "/barch10g_db/ora11g/rakshak_redo/rkdatabase/control2/rakshak_control02.ctl"
control_files = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/control3/rakshak_control03.ctl"
db_block_size = 16384
compatible = "11.2.0"
log_archive_dest = "/barch10g_db/ora11g/rakshak_archive/rkdatabase/rakshak"
db_recovery_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
sec_case_sensitive_logon = FALSE
remote_login_passwordfile= "EXCLUSIVE"
utl_file_dir = "/barch10g_db/ora11g/ldoutput/"
plsql_code_type = "native"
job_queue_processes = 100
cursor_sharing = "FORCE"
audit_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/adump"
audit_trail = "DB"
db_name = "rakshak"
open_cursors = 700
diagnostic_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/"
Sat Aug 06 11:32:33 2011
PMON started with pid=2, OS id=9463
Sat Aug 06 11:32:34 2011
VKTM started with pid=3, OS id=9465 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Sat Aug 06 11:32:34 2011
GEN0 started with pid=4, OS id=9469
Sat Aug 06 11:32:34 2011
DIAG started with pid=5, OS id=9471
Sat Aug 06 11:32:34 2011
DBRM started with pid=6, OS id=9473
Sat Aug 06 11:32:34 2011
PSP0 started with pid=7, OS id=9475
Sat Aug 06 11:32:34 2011
DIA0 started with pid=8, OS id=9477
Sat Aug 06 11:32:34 2011
MMAN started with pid=9, OS id=9479
Sat Aug 06 11:32:34 2011
DBW0 started with pid=10, OS id=9481
Sat Aug 06 11:32:34 2011
DBW1 started with pid=11, OS id=9483
Sat Aug 06 11:32:34 2011
DBW2 started with pid=12, OS id=9485
Sat Aug 06 11:32:34 2011
LGWR started with pid=13, OS id=9487
Sat Aug 06 11:32:34 2011
CKPT started with pid=14, OS id=9489
Sat Aug 06 11:32:34 2011
SMON started with pid=15, OS id=9491
Sat Aug 06 11:32:34 2011
RECO started with pid=16, OS id=9493
Sat Aug 06 11:32:34 2011
MMON started with pid=17, OS id=9495
Sat Aug 06 11:32:34 2011
MMNL started with pid=18, OS id=9497
Sat Aug 06 11:32:34 2011
ORACLE_BASE not set in environment. It is recommended
that ORACLE_BASE be set in the environment
Sat Aug 06 11:34:34 2011
Shutting down instance (immediate)
Shutting down instance: further logons disabled
Stopping background process MMNL
Stopping background process MMON
License high water mark = 1
ALTER DATABASE CLOSE NORMAL
ORA-1507 signalled during: ALTER DATABASE CLOSE NORMAL...
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
ARCH: Archival disabled due to shutdown: 1089
Shutting down archive processes
Archiving is disabled
Archive process shutdown avoided: 0 active
Sat Aug 06 11:34:37 2011
Stopping background process VKTM:
Sat Aug 06 11:34:40 2011
Instance shutdown complete
Sat Aug 06 11:35:55 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =118
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Release 11.2.0.1.0 - 64bit Production.
Using parameter settings in client-side pfile /oracle/ora11g/apps/dbs/initrakshak.ora on machine abml01
System parameters with non-default values:
processes = 700
sga_max_size = 30G
sga_target = 30G
control_files = "/barch10g_db/ora11g/rakshak_control/rkdatabase/control1/rakshak_control01.ctl"
control_files = "/barch10g_db/ora11g/rakshak_redo/rkdatabase/control2/rakshak_control02.ctl"
control_files = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/control3/rakshak_control03.ctl"
db_block_size = 16384
compatible = "11.2.0"
log_archive_dest = "/barch10g_db/ora11g/rakshak_archive/rkdatabase/rakshak"
db_recovery_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/flash_recovery_area"
db_recovery_file_dest_size= 2G
undo_management = "AUTO"
undo_tablespace = "UNDOTBS1"
sec_case_sensitive_logon = FALSE
remote_login_passwordfile= "EXCLUSIVE"
utl_file_dir = "/barch10g_db/ora11g/ldoutput/"
plsql_code_type = "native"
job_queue_processes = 100
cursor_sharing = "FORCE"
audit_file_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/adump"
audit_trail = "DB"
db_name = "rakshak"
open_cursors = 700
diagnostic_dest = "/barch10g_db/ora11g/rakshak_idx1/rkdatabase/"
Sat Aug 06 11:36:16 2011
PMON started with pid=2, OS id=9648
Sat Aug 06 11:36:16 2011
VKTM started with pid=3, OS id=9657 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Sat Aug 06 11:36:16 2011
GEN0 started with pid=4, OS id=9669
Sat Aug 06 11:36:16 2011
DIAG started with pid=5, OS id=9678
Sat Aug 06 11:36:16 2011
DBRM started with pid=6, OS id=9686
Sat Aug 06 11:36:16 2011
PSP0 started with pid=7, OS id=9697
Sat Aug 06 11:36:16 2011
DIA0 started with pid=8, OS id=9704
Sat Aug 06 11:36:16 2011
MMAN started with pid=9, OS id=9711
Sat Aug 06 11:36:16 2011
DBW0 started with pid=10, OS id=9713
Sat Aug 06 11:36:16 2011
DBW1 started with pid=11, OS id=9715
Sat Aug 06 11:36:16 2011
DBW2 started with pid=12, OS id=9717
Sat Aug 06 11:36:16 2011
LGWR started with pid=13, OS id=9719
Sat Aug 06 11:36:16 2011
CKPT started with pid=14, OS id=9721
Sat Aug 06 11:36:16 2011
SMON started with pid=15, OS id=9723
Sat Aug 06 11:36:16 2011
RECO started with pid=16, OS id=9725
Sat Aug 06 11:36:16 2011
MMON started with pid=17, OS id=9727
Sat Aug 06 11:36:16 2011
MMNL started with pid=18, OS id=9729
Sat Aug 06 11:36:16 2011
ORACLE_BASE from environment = /oracle/ora11g/home
Sat Aug 06 11:36:40 2011
alter database mount
Sat Aug 06 11:36:44 2011
Successful mount of redo thread 1, with mount id 3292194824
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: alter database mount
Sat Aug 06 11:36:54 2011
alter database open
LGWR: STARTING ARCH PROCESSES
Sat Aug 06 11:36:54 2011
ARC0 started with pid=20, OS id=9743
Sat Aug 06 11:36:55 2011
ARC0: Archival started
LGWR: STARTING ARCH PROCESSES COMPLETE
ARC0: STARTING ARCH PROCESSES
Sat Aug 06 11:36:55 2011
ARC1 started with pid=21, OS id=9745
Sat Aug 06 11:36:55 2011
ARC2 started with pid=22, OS id=9747
Sat Aug 06 11:36:55 2011
ARC3 started with pid=23, OS id=9749
ARC1: Archival started
ARC2: Archival started
ARC2: Becoming the 'no FAL' ARCH
ARC2: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Thread 1 opened at log sequence 9
Current log# 3 seq# 9 mem# 0: /barch10g_db/ora11g/rakshak_idx1/rkdatabase/redo3/rakshak_redolog3a.log
Current log# 3 seq# 9 mem# 1: /barch10g_db/ora11g/rakshak_idx1/rkdatabase/redo3/rakshak_redolog3b.log
Successful open of redo thread 1
Sat Aug 06 11:36:55 2011
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is WE8ISO8859P1
No Resource Manager plan active
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Sat Aug 06 11:36:55 2011
QMNC started with pid=25, OS id=9753
Completed: alter database open
Sat Aug 06 11:36:56 2011
db_recovery_file_dest_size of 2048 MB is 0.99% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
ARC3: Archival started
ARC0: STARTING ARCH PROCESSES COMPLETE
Sat Aug 06 11:36:58 2011
Starting background process CJQ0
Sat Aug 06 11:36:58 2011
CJQ0 started with pid=24, OS id=9768
Setting Resource Manager plan SCHEDULER[0x2FF9]:DEFAULT_MAINTENANCE_PLAN via scheduler window
Setting Resource Manager plan DEFAULT_MAINTENANCE_PLAN via parameter
Sat Aug 06 11:37:01 2011
Starting background process VKRM
Sat Aug 06 11:37:01 2011
VKRM started with pid=26, OS id=9770
Sat Aug 06 11:41:55 2011
Starting background process SMCO
Sat Aug 06 11:41:55 2011
SMCO started with pid=29, OS id=9920
parameter list
db_name='rakshak'
+#memory_target=30G+
processes = 700
audit_file_dest='/barch10g_db/ora11g/rakshak_idx1/rkdatabase/adump'
audit_trail ='db'
db_block_size=16384
db_recovery_file_dest='/barch10g_db/ora11g/rakshak_idx1/rkdatabase/flash_recovery_area'
db_recovery_file_dest_size=2G
diagnostic_dest='/barch10g_db/ora11g/rakshak_idx1/rkdatabase/'
+#dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)'+
open_cursors=700
job_queue_processes=100
remote_login_passwordfile='EXCLUSIVE'
undo_management='AUTO'
undo_tablespace='UNDOTBS1'
+# You may want to ensure that control files are created on separate physical+
+# devices+
control_files = '/barch10g_db/ora11g/rakshak_control/rkdatabase/control1/rakshak_control01.ctl','/barch10g_db/ora11g/rakshak_redo/rkdatabase/control2/rakshak_control02.ctl','/barch10g_db/ora11g/rakshak_idx1/rkdatabase/control3/rakshak_control03.ctl'
compatible ='11.2.0'
SGA_MAX_SIZE=30G
SGA_TARGET=30G
Utl_file_dir='/barch10g_db/ora11g/ldoutput/'
sec_case_sensitive_logon=FALSE
plsql_code_type=native
cursor_sharing='FORCE'
log_archive_dest='/barch10g_db/ora11g/rakshak_archive/rkdatabase/rakshak'
If any information is needed, pls let me know.
thanks in advance
Regards
Phani KumarPhani wrote:
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.247.27)(PORT=1522)))Why use port 1522?
It is always a good idea to use the standard ports for a network application. There is no logic in obfuscating ports for security purposes. It also makes network management and dealing with quality of service issues for example, much more complex if you do not stick to the registered application ports.
Also note that if you provide a dotted IP address, only that address will be used for binding the tcp port as a listening end point. This means no connections will be accepted on localhost and other IP addresses of that server. Make sure that this is what is technically required.
ifconfig
bond6 Link encap:Ethernet HWaddr 00:26:55:D3:02:B6
Why are you using bonding? How many bonded interfaces are there and now many physical NICs? Bond6 alludes that it is the 7th bonded interface - and at 2 NICs per bonded interface it implies that your server has 14 physical Ethernet interfaces. Which I doubt is true.
RX packets:1309675596 errors:5 dropped:0 overruns:0 frame:3Not good to see any errors. What does ethtool stats show? Also check that the physical interfaces are enabled for full duplex. Some Cisco switches do not negotiate it properly and the NIC could be running half duplex.
Also - using bonding... does not seem right. The 1st and default bonded interface should be +/dev/bond0+ - and not bond6.
Check the server's network configuration (the +ifcfg-*+ files in +/etc/sysconfig/networking-scripts+ directory). Suggest that you get a network engineer (or the like) to assist with reviewing the network setup of that server. -
Why the response is very slow when the DNS enrty of server PC is remov
Hi
Though this subject has been already discussed at many places,im unable to get the clue.Here is my problem.In my office (LAN),server and client are running at different PC.After DNS entry of server PC is removed from DNS server,the page loading and every request & response between client and server is very slow.It takes 2 minutes for each and every request.And coming to the possible solutions,is "configuring the server PC in DNS server" is the only solution?When both the server and client PCs are DNS configured i dont see any issue or slowdown.Any help would be really appreciated
Assuming it is a lookup issue,i have written the following test application.
public class DnsName
public static void main(String[] arg)
String ipaddress = "";
String hostaddress = "";
if(arg.length == 1)
ipaddress = arg[0];
else
System.out.println("!!!!!!Usage : java DnsName <ipaddress>");
System.exit(0);
System.out.println("Time before processing : " + System.currentTimeMillis());
try
hostaddress = (InetAddress.getByName(ipaddress)).getHostName();
catch(UnknownHostException uhe)
System.out.println("Exception occured " + uhe);
System.out.println("Ip address : " + ipaddress);
System.out.println("Host name : " + hostaddress);
System.out.println("Time after processing : " + System.currentTimeMillis());
When it was compiled and run on a linux PC,time difference betwwen process is around 50ms,but when the same application is run in a Windows PC,the time difference is around 4-5 seconds(4000ms).Can anyone tell me what makes the difference in Windows??
[email protected]
www.adventnet.comBecause it does a DNS lookup. And without a server, the interface must wait for a timeout.
-
Why the response is very slow when the DNS enrty of server PC is removed ??
Hi
Though this subject has been already discussed at many places,im unable to get the clue.Here is my problem.In my office (LAN),server and client are running at different PC.After DNS entry of server PC is removed from DNS server,the page loading and every request & response between client and server is very slow.It takes 2 minutes for each and every request.And coming to the possible solutions,is "configuring the server PC in DNS server" is the only solution?When both the server and client PCs are DNS configured i dont see any issue or slowdown.Any help would be really appreciated
Assuming it is a lookup issue,i have written the following test application.
public class DnsName
public static void main(String[] arg)
String ipaddress = "";
String hostaddress = "";
if(arg.length == 1)
ipaddress = arg[0];
else
System.out.println("!!!!!!Usage : java DnsName <ipaddress>");
System.exit(0);
System.out.println("Time before processing : " + System.currentTimeMillis());
try
hostaddress = (InetAddress.getByName(ipaddress)).getHostName();
catch(UnknownHostException uhe)
System.out.println("Exception occured " + uhe);
System.out.println("Ip address : " + ipaddress);
System.out.println("Host name : " + hostaddress);
System.out.println("Time after processing : " + System.currentTimeMillis());
When it was compiled and run on a linux PC,time difference betwwen process is around 50ms,but when the same application is run in a Windows PC,the time difference is around 4-5 seconds(4000ms).Can anyone tell me what makes the difference in Windows??
[email protected]
www.adventnet.comWhen you do getHostName() on an InetAddress, what you're doing is asking the OS to do a reverse lookup. So basically this is a windoze problem, not a java problem (although that probably doesn't help you much) Try searching google to see why a windows reverse lookup might be so slow and go from there.
-
Performance Issue - Online applications response is very slow.
Hi,
We have encountered into major performnace issue for one of our online applications.
Front End : People Soft.
Backend : Oracle 10g (10.2.0.4).
The response of the application is very slow and all the queries (firing as a job from peoplesoft) is dam slow.
When we look around the database, I could see lot of wait events, especially, "Enq:HW - Contention", which was the major wait event when we looked at the AWR report.
Other wait events are, Buffer busy waits, etc.,
Due to that the whole application is very slow and leading to down time.
Please help us to get this resolved at the earliest.Hi,
Have a look in
How To Analyze the Wait Statistic: 'enq: HW - contention' [ID 419348.1]
Also may be of help
'enq HW - contention' For Busy LOB Segment [ID 740075.1]
LOB HWM CONTENTION :Using AWR Reports to Identify the Problem; Confirm and Verify the Fix 837883.1
Bug 6376915 - HW enqueue contention for ASSM LOB segments 6376915.8
We hit the above mentioned bug once related to LOBs. It's fixed in 10.2.0.4 but you need to enable it with an event (it's on the metalink notes) -
Oracle 11g database Connection & Response are very slow
I have an ORACLE 11g R2 on lRed Hat Enterprise Linux Server release 5.3 (Tikanga).
initially it was working fine.
Now a days while attempting to connect into the database from network using @service_name
it takes a lot of time to establish the connection and even it gets connected the query response time is very high.
on the other hand if I connect from the native database machine's terminal without @service_name it works fine & the response time is convincing. But even from the native database machine's terminal with @service_name it is giving me the same pain.
can any body help me how to fix this.
Thanks in advance..
Arkeshthanks for the reply & Query
Alert Log entry do look like this
ORACLE_BASE from environment = /u01/app/oracle
Thu Apr 22 07:29:10 2010
ALTER DATABASE MOUNT
Successful mount of redo thread 1, with mount id 4283520006
Database mounted in Exclusive Mode
Lost write protection disabled
Completed: ALTER DATABASE MOUNT
Thu Apr 22 07:29:15 2010
ALTER DATABASE OPEN
Beginning crash recovery of 1 threads
parallel recovery started with 7 processes
Started redo scan
Completed redo scan
read 15 KB redo, 23 data blocks need recovery
Started redo application at
Thread 1: logseq 449, block 8217
Recovery of Online Redo Log: Thread 1 Group 2 Seq 449 Reading mem 0
Mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
Completed redo application of 0.01MB
Completed crash recovery at
Thread 1: logseq 449, block 8248, scn 10502937
23 data blocks read, 23 data blocks written, 15 redo k-bytes read
Thread 1 advanced to log sequence 450 (thread open)
Thread 1 opened at log sequence 450
Current log# 3 seq# 450 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
Successful open of redo thread 1
MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
SMON: enabling cache recovery
Successfully onlined Undo Tablespace 2.
Verifying file header compatibility for 11g tablespace encryption..
Verifying 11g file header compatibility for tablespace encryption completed
SMON: enabling tx recovery
Database Characterset is WE8MSWIN1252
No Resource Manager plan active
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
Thu Apr 22 07:29:18 2010
QMNC started with pid=27, OS id=3611
Completed: ALTER DATABASE OPEN
Thu Apr 22 07:29:20 2010
db_recovery_file_dest_size of 10240 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Thu Apr 22 07:29:20 2010
Starting background process CJQ0
Thu Apr 22 07:29:20 2010
CJQ0 started with pid=28, OS id=3817
Thu Apr 22 07:34:18 2010
Starting background process SMCO
Thu Apr 22 07:34:18 2010
SMCO started with pid=19, OS id=3861
Thu Apr 22 07:59:23 2010
Thread 1 advanced to log sequence 451 (LGWR switch)
Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
Thu Apr 22 10:09:23 2010
DM00 started with pid=34, OS id=6272, job ULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:09:25 2010
DW00 started with pid=35, OS id=6274, wid=1, job ULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:11:20 2010
Thread 1 cannot allocate new log, sequence 452
Private strand flush not complete
Current log# 1 seq# 451 mem# 0: /u01/app/oracle/oradata/ultimus/redo01.log
Thread 1 advanced to log sequence 452 (LGWR switch)
Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
Thu Apr 22 10:13:28 2010
DM00 started with pid=45, OS id=6395, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:13:29 2010
DW00 started with pid=46, OS id=6397, wid=1, job ULTIMUSISL.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:14:29 2010
Thread 1 cannot allocate new log, sequence 453
Private strand flush not complete
Current log# 2 seq# 452 mem# 0: /u01/app/oracle/oradata/ultimus/redo02.log
Thread 1 advanced to log sequence 453 (LGWR switch)
Current log# 3 seq# 453 mem# 0: /u01/app/oracle/oradata/ultimus/redo03.log
Thu Apr 22 10:15:40 2010
DM00 started with pid=43, OS id=6432, job IULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:15:41 2010
DW00 started with pid=45, OS id=6434, wid=1, job IULTIMUS.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:16:38 2010
DM00 started with pid=45, OS id=6450, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:16:38 2010
DW00 started with pid=46, OS id=6452, wid=1, job ULTIMUSEXT.SYS_EXPORT_SCHEMA_01
Thu Apr 22 10:26:18 2010
Fatal NI connect error 12537, connecting to:
(LOCAL=NO)
VERSION INFORMATION:
TNS for Linux: Version 11.2.0.1.0 - Production
Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
Time: 22-APR-2010 10:26:18
Tracing not turned on.
Tns error struct:
ns main err code: 12537
TNS-12537: TNS:connection closed
ns secondary err code: 12560
nt main err code: 0
nt secondary err code: 0
nt OS err code: 0
opiodr aborting process unknown ospid (6587) as a result of ORA-609 -
Keystroke response time very slow
This problem seems to be getting worse.
It is not application dependent.
I'll start typing and no on screen response. I'll continue to type and it will "catch up."
I do use a wireless keyboard.
Any suggestions appreciated.Hi Norm,
I know it can be annoying to have your Mac's keyboard be unresponsive for intervals such as you describe. I would suggest that you troubleshoot using the steps in this article -
Troubleshooting wireless mouse and keyboard issues
In particular the section labeled Keyboard or mouse intermittently stops responding.
Thanks for using Apple Support Communities.
Best,
Brett L -
Java Webserver - Tomcat / Axis2 - Response time very slow!!
Hi all,
I'm developing a Java Web Server using Axis2 inside Tomcat 7, but i'm having a big problem with the response time for each request made.
The purpose of this application is to fetch data from a database and return it to a client (also developed in Java)
For example: If i make a request from the database for 4000 objects, the database returns the data rather quickly (about 100ms), but then it takes about 30 seconds to generate the soap response, the xml containing the response has about 3mb size. The class in the webservice that represents the information from the database is quite simple, it has a string array, and about 3 Integers and 2 Strings..
Is this normal for the response time? Is there any way to optimize (Tomcat definition, etc)?
Thanks in advance :)Here's a method from the webserver that returns the information from the database:
* The method receives a SQL Query to execute, and return a list with all the objects from the database
public MyObject[] getMyObject(String querySQL) throws SQLException, ConfigurationException, AxisFault {
try {
ArrayList<MyObject> myObjectList = new ArrayList<MyObject>();
//Executes the query on the database
Statement stmt = RdbmsDAOFactory.connection.createStatement();
ResultSet rs = stmt.executeQuery(querySQL.toString());
//Fetching the results
while (rs.next()) {
List<AttributesFromMyObject> attributeList = new ArrayList<AttributesFromMyObject>();
int columnCount = rs.getMetaData().getColumnCount();
for(int i = 1; i <= columnCount; i++){
//This class saves the column name/value for each object from the database
AttributesFromMyObject attribute = new AttributesFromMyObject();
attribute.setName(rs.getMetaData().getColumnName(i));
attribute.setValue(rs.getString(i));
attributeList.add(attribute);
//Creates the object and saves the corresponding attributes list
MyObject r = new MyObject();
r.setAttributeValues((AttributeValue[])attributeList.toArray(new AttributeValue[0]));
//Add each object to the arraylist that will be returned at the end
myObjectList.add(r);
//UNTILL HERE IT TAKES ABOUT 125 ms
return (MyObject[])myObjectList.toArray(new MyObject[0]);
} catch (Exception e) {
throw new AxisFault ("Unknown error: " + e.getMessage() + " - " + e.getStackTrace());
}And here's a method from the client that saves the resuts from the Web Server
* The method sends a query sql to the Web Server and save the results
public void getMyObject(){
//This is from a library that i'm using to generate SQL
Table dbTable = new Table(tableName);
select = new SelectQuery(dbTable);
select.addColumn(dbTable, "*");
select.addCriteria(new InCriteria(new Column(dbTable, "[idObject]"), ids));
//Create request object to the Web Server
GetMyObject getMyObject = new GetMyObject();
getMyObject.setQuerySQL(select.toString());
//FROM HERE
MyObject[] rList = this.webService.getMyObject(getMyObject).get_return(); //Response from the Web Server
//TO HERE -> IT TAKES ABOUT 36 seconds IF I'M GETTING THE 4000 OBJECTS
}And here's a bit of the soap response that i'm getting (from a total of 82600 lines generated):
<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:getMyObjectResponse xmlns:ns="http://xx.xxx.xxx.com" xmlns:ax21="http://xx.xxx.xxx.com/xsd"
xmlns:ax27="http://exception.lang.commons.apache.org/xsd" xmlns:ax26="http://configuration.commons.apache.org/xsd" xmlns:ax23="http://sql.java/xsd">
<ns:return xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax21:MyObject">
<ax21:attributeValues xsi:type="ax21:AttributeValue">
<ax21:name>idMyObject</ax21:name>
<ax21:value>2290</ax21:value>
</ax21:attributeValues>
<ax21:attributeValues xsi:type="ax21:AttributeValue">
<ax21:name>Calldate</ax21:name>
<ax21:value>2003-12-22 00:00:00.000</ax21:value>
</ax21:attributeValues>
<ax21:attributeValues xsi:type="ax21:AttributeValue">
<ax21:name>Call_duration</ax21:name>
<ax21:value>10</ax21:value>
</ax21:attributeValues>
<ax21:attributeValues xsi:type="ax21:AttributeValue">
<ax21:name>Gross_amnt</ax21:name>
<ax21:value>2.1000000000000001</ax21:value>
</ax21:attributeValues>
<ax21:id>0</ax21:id>
<ax21:idSourceEntity>0</ax21:idSourceEntity>
<ax21:idTargetEntity>0</ax21:idTargetEntity>
<ax21:subtype xsi:nil="true" />
<ax21:type xsi:nil="true" />
</ns:return>
</ns:getMyObjectResponse>
</soapenv:Body>
</soapenv:Envelope>Thanks!
Edited by: user9257993 on 19/Abr/2011 2:46 -
Compile of forms on Oracle 11g database Rel1 very slow
I think the following statement is causing the issue :
SELECT COUNT (*)
FROM ALL_OBJECTS
WHERE ( OWNER = 'SYS' AND OBJECT_NAME = 'DBMS_JAVA' AND OBJECT_TYPE = 'PACKAGE' AND ALL_OBJECTS.STATUS = 'VALID' )
OR ( OWNER = 'SYSTEM' AND OBJECT_NAME = 'ORA_DE_REFLECTION' AND OBJECT_TYPE = 'PACKAGE' AND ALL_OBJECTS.STATUS = 'VALID' )
OR ( OWNER = 'SYSTEM' AND OBJECT_NAME = 'oracle/opb/Reflection' AND OBJECT_TYPE = 'JAVA CLASS' AND ALL_OBJECTS.STATUS = 'VALID' )
OR ( OWNER = 'SYSTEM' AND OBJECT_NAME = 'oracle/opb/SchemaClassLoader' AND OBJECT_TYPE = 'JAVA CLASS' AND ALL_OBJECTS.STATUS = 'VALID' )
i see the compiler submitting the above statement.
With sqlplus this statement takes 7secs.
anyone a clue?
kr
chrisYou didn't mention the Forms version, but likely you are experiencing a known issue. Details are discussed in MyOracleSupport Note 1099035.1 A patch is available and outlined in the note.
-
Weblogic 11g on Windows - very slow admin server start
Hello,
It takes upwards of 15 minutes to fully start the admin server on my Windows box. I have read that it's a bug in the Java security random number/crypto api.
There are various work arounds for the Linux environments, but no mention of Windows. I realize that I'm in a small minority of admins running WLS on Windows, but does anybody have experience in setting the Java security stuff so the servers do not take soooooo darn long to startup?
JDMHi ,
I think it would be better to post this question in the Weblogic - General forum for WLS specific troubleshooting tip : WebLogic Server - General
Having said that get the thread dump for WLS server start up using kill -3 <pid> command or using jstack -l <pid> .
Post the question and the thread dumps to the above mentioned forum .
In my case the start up time is less than a minute .
Thanks
Srinath -
Photoshop CS 6 Sluggish, non-responsive sometimes, very slow
Quite often, PS CS6 becomes unresponsive to mouse clicks, i.e., I'll be masking, retouching, painting, etc. and it will just go into a 'pause' mode; I'll have to wait, sometimes a few moments, sometimes several seconds before I can go on with another tool or same tool with further activity. I have 16G ram on new iMac; have quit all other running apps to no avail.
I've dumped prefs, etc.
Any ideas?
Running 10.10 now; same problems with previous versions.Doesn't anybody from Adobe monitor these discussions any more? I see there are several others complaining about this issue, yet it remains unresolved.
I've had to 'downgrade' much of my routine photo repairs to iPhoto in the meantime. Not photoshop, but in a pinch, works fine for many of the simple chores of photo repair/retouching, etc. I've also made much use of On-One plugins too. -
HT201412 When power is connected and charging is on , the mobile response is very slow
I phone 5
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
-
Exchange 2013 CU5 , Exchange Power Shell very very very slow reasponse when using get command.
First my organize has Exchange on 2 site like
site A (internet facing) : 2CAS 2 MB all are Services pack1
site B (DR Site , no user active on this site) : 2CAS 2MB all are Services pack 1
so today I upgrade Exchange 2013 from SP1 to CU5 start on "site B" and I found this issue and the details is....
When I open EMS on any CU5 for query something (like get-mailboxdatabasecopystatus) the response return very slow and some query will not return at all (like get-owavirtualdirectory).
But If I using EMS on SP1. Everything is ok then I try to use EMS on SP1 connect to CU5 and try to query something. the result is
some query command cannot return for any result that are server on siteB (just some query command)
Problem
EMS on CU5 return very slow result.
EMS on SP1 still ok.
Does anyone face this problem before for CU5??? Please help me figure this out. Thank you
reply from Social.technetHi,
Have you used the above cmdlets to check your Exchange server health?
"all other command that I ran on EMS didn't logged on event viewer.", my environment is the same with you. I use Exchange 2013, only errors will be displayed in MSExchange Management. Actually, it is not related to slow EMS response.
Hope it helps.
Best regards,
Amy Wang
TechNet Community Support
Maybe you are looking for
-
Can not install Adobe Muse on Macbook pro 10.7.2
Hello all, I have been experiencing problems which I assume relate to adobe AIR. A few weeks ago I could not install Tweetdeck, but that didnt matter that much. However now I want to start using adobe Muse and I cannot get past the installer. I open
-
Let's just say I want to write a startup class that initilizes a servlet, (just like ServletStartup class). How would I do this without using the URLConnection class? Thanks
-
yup i even googled it and tried the mobile driver device and and that shaninigans, i mean it was so simple the first time i paired it, now im assuming it has to do with it saying that no device id was given. to me which doesnt make sense because with
-
I have an application that runs reports using the RAS SDK in BO Enterprise XIr2. The application uses RAS to retrieve the report from BO XI and manipulates the report be changing the database connection information (ODBC DSN name, user name, and pas
-
Just installed my Logic Express 8 last night and am somewhat okay with how its setup, where the buttons I used in Cubase, Reaper, Pro Tools, etc are and I have a real simple question. I tried to use my computer keyboard to play the software instrumen