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?
JDM
Hi ,
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
Similar Messages
-
Weblogic 11g on windows server 2008 - run WLST
how to configure weblogic 11g on windows server 2008 to run a simple WLST script
I managed to get so far on Windows to run a WLST script. Most examples are in Unix
I am in Dos, and ran our set environment variables.
Run java weblogic.WLST
To use WLST in interactive mode:java weblogic.WLST
I get as far as wls:/offline> connect('weblogic','weblogic','localhost:7001')
This works,
So now I am trying to figure out how to display the server state of the server, most examples are for unix.
Would any one have one that shows the server state, number of connections, and the number of active threads or stuck.
Just a a pointer would help me.
CheersYou can refer this
http://weblogic-wonders.com/weblogic/2010/11/13/wlst-script-to-monitor-throughput-and-heapsize-of-weblogic-server/ -
Weblogic 11g on Windows 2008 64 bit
It appears that Weblogic 11g for windows only comes in 32 bit and can run ok on 64 bit. I have 24 Gb of memory on the server and my question is will forms and reports user sessions be able to access all the memory? Or since Weblogic is 32 bit, will any forms and reports sessions be restricted to the first 3Gb of memory?
Edited by: user1065650 on Apr 3, 2012 2:21 PMHi
Weblogic 11g does come both for 32 Bit and 64 Bit for both Windows and Unix OS. Its just that for 64 Bit OS, for Windows, you need to download WLS Generic Installer (.jar extension) and follow the steps.
See this link and another post in this link for more details:
required weblogic 10.3.5 instllable for windows server 2008(64bit)
If you download and run .exe installer, yes it is 32 Bit. But for 64 bit machines, download .jar installer.
Thanks
Ravi Jegga -
5800Xm very slow when is starting
Hello folks,
Anybody can help me, suddenly my phone began to be very slow when is starting, take 5 minute to start the main screen.
notice that I take out the microsd card, inmediately run and star the well.
What cain i do?
Solved!
Go to Solution.You can thank me by clicking the green star
If you want to thank someone, just click on the blue star at the bottom of their post -
Error in Starting soa Managed server on WEBLOGIC 11g..Windows 7
Hi All,
I have an exception coming up while starting the soa_server1 managed soa server in Weblogic Domain.
I have started the Admin server but while starting the soa managed server we are getting the following error :
<Jul 26, 2010 9:29:04 PM PDT> <Critical> <EmbeddedLDAP> <BEA-000000> <java.io.Fi
leNotFoundException: D:\Oracle\Middleware\user_projects\domains\SOA_Domain\serve
rs\AdminServer\data\ldap\replicadata\soa_server1.status (The process cannot acce
ss the file because it is being used by another process)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
at com.octetstring.vde.replication.Replicator.increment(Replicator.java:
88)
at com.octetstring.vde.replication.Replicator.run(Replicator.java:301)
at com.octetstring.vde.replication.Replication.run(Replication.java:339)
>
Pointers on this error would help us.
Regards,
RamnathLets us try to start your environment by using a WLST script.
Before you try starting the servers by using the script, could you first check your weblogic console,
to see if the server soa_server1 is running or not (click on environment, servers) maybe the enterprise manager is out of sync.
The following steps are necessary the run the script:
First edit the nodemanager.properties (which is located in the directory <middleware-home>/wlserver_10.3/common/nodemanager).
Find the entry StartScriptEnabled and set this property to true.
Open a command shell and navigate to the directory <middleware-home>/wlserver_10.3/server/bin and run the file setWLSEnv.cmd
(this sets your environment variables, so that we can run a WLST script).
Copy the following script into a file named for example StartScript.py and adjust variables as needed
beahome = '<middleware-home>';
linux = false;
adminusername = 'weblogic';
adminpassword = 'transfer-solutions';
domainname = 'base_domain';
pathseparator = '/';
if not linux:
print 'SETTING WINDOWS PATH SEPARATOR';
pathseparator = '\\';
domainlocation = beahome + pathseparator + 'user_projects' + pathseparator + 'domains' + pathseparator + domainname;
nodemanagerhomelocation = beahome + pathseparator + 'wlserver_10.3' + pathseparator + 'common' + pathseparator + 'nodemanager';
print 'START NODE MANAGER';
startNodeManager(verbose='true', NodeManagerHome=nodemanagerhomelocation, ListenPort='5556', ListenAddress='localhost');
print 'CONNECT TO NODE MANAGER';
nmConnect(adminusername, adminpassword, 'localhost', '5556', domainname, domainlocation, 'ssl');
print 'START ADMIN SERVER';
nmStart('AdminServer');
nmServerStatus('AdminServer');
print 'CONNECT TO ADMIN SERVER';
connect(adminusername, adminpassword);
print 'START SOA SERVER';
start('soa_server1','Server');
nmServerStatus('soa_server1');Run this script as follows, but first stop the servers already running
java weblogic.WLST <directory>/StartScript.py -
Weblogic 11g Admin server start up script giving me these 3 lines
I donot know what these 3 lines are coming every time when i start the server.
can any body explain me what are these 3 lines
[WARN ][osal ] Could not enumerate processes (1) error=-1073738819
[WARN ][osal ] Could not add counter (null)\ for query
[WARN ][osal ] Failed to init virtual size counterC:\Oracle\Middleware\user_projects\domains\Testdomain\bin>startWebLogic.cmd
JAVA Memory arguments: -Xms512m -Xmx512m
WLS Start Mode=Development
CLASSPATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpa
th\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_oepe1033\profiles\default\sys_man
ifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\patch_ocp353\profiles\defa
ult\sys_manifest_classpath\weblogic_patch.jar;C:\Oracle\MIDDLE~1\JROCKI~1.0-6\li
b\tools.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\Oracle\M
IDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\modules\features\w
eblogic.server.modules_10.3.3.0.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\web
services.jar;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;C:\Oracle\MID
DLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\com
mon\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;
C:\Program Files\Java\jdk1.6.0_12\lib\dt.jar;C:\Program Files\Java\jdk1.6.0_12\l
ib\tools.jar
PATH=C:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;C:\Oracle\MIDDLE~1
\patch_oepe1033\profiles\default\native;C:\Oracle\MIDDLE~1\patch_ocp353\profiles
\default\native;C:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;C:\Oracle\MID
DLE~1\WLSERV~1.3\server\bin;C:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;C:\Oracle\
MIDDLE~1\JROCKI~1.0-6\jre\bin;C:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin;C:\oraclexe\ap
p\oracle\product\10.2.0\server\bin;C:\Program Files\Common Files\Microsoft Share
d\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Progra
m Files\CyberLink\Power2Go\;C:\Program Files\Java\jdk1.6.0_12\bin;C:\Program Fil
es\Common Files\Microsoft Shared\Windows Live;C:\Oracle\MIDDLE~1\WLSERV~1.3\serv
er\native\win\32\oci920_8
* To start WebLogic Server, use a username and *
* password assigned to an admin-level user. For *
* server administration, use the WebLogic Server *
* console at http:\\hostname:port\console *
starting weblogic with Java version:
[WARN ][osal ] Could not enumerate processes (1) error=-1073738819
[WARN ][osal ] Could not add counter (null)\ for query
[WARN ][osal ] Failed to init virtual size counter.
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Oracle JRockit(R) (build R28.0.0-679-130297-1.6.0_17-20100312-2123-windows-ia32,
compiled mode)
Starting WLS with line:
C:\Oracle\MIDDLE~1\JROCKI~1.0-6\bin\java -jrockit -Xms512m -Xmx512m -Dweblogic
.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\WLSERV~1.3\server\li
b\weblogic.policy -Xverify:none -da -Dplatform.home=C:\Oracle\MIDDLE~1\WLSERV~
1.3 -Dwls.home=C:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=C:\Oracle\MI
DDLE~1\WLSERV~1.3\server -Dweblogic.management.discover=true -Dwlw.iterativeD
ev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=C:\Oracle\M
IDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDL
E~1\patch_oepe1033\profiles\default\sysext_manifest_classpath;C:\Oracle\MIDDLE~1
\patch_ocp353\profiles\default\sysext_manifest_classpath weblogic.Server
[WARN ][osal ] Could not enumerate processes (1) error=-1073738819
[WARN ][osal ] Could not add counter (null)\ for query
[WARN ][osal ] Failed to init virtual size counter.
<May 5, 2010 11:14:22 AM CDT> <Info> <WebLogicServer> <BEA-000377> <Starting Web
Logic Server with Oracle JRockit(R) Version R28.0.0-679-130297-1.6.0_17-20100312
-2123-windows-ia32 from Oracle Corporation>
<May 5, 2010 11:14:23 AM CDT> <Info> <Management> <BEA-141107> <Version: WebLogi
c Server 10.3.3.0 Fri Apr 9 00:05:28 PDT 2010 1321401 >
<May 5, 2010 11:14:26 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to STARTING>
<May 5, 2010 11:14:26 AM CDT> <Info> <WorkManager> <BEA-002900> <Initializing se
lf-tuning thread pool>
<May 5, 2010 11:14:27 AM CDT> <Notice> <LoggingService> <BEA-320400> <The log fi
le C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminServer\log
s\AdminServer.log will be rotated. Reopen the log file if tailing has stopped. T
his can happen on some platforms like Windows.>
<May 5, 2010 11:14:27 AM CDT> <Notice> <LoggingService> <BEA-320401> <The log fi
le has been rotated to C:\Oracle\Middleware\user_projects\domains\Testdomain\ser
vers\AdminServer\logs\AdminServer.log00006. Log messages will continue to be log
ged in C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminServer
\logs\AdminServer.log.>
<May 5, 2010 11:14:27 AM CDT> <Notice> <Log Management> <BEA-170019> <The server
log file C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminSer
ver\logs\AdminServer.log is opened. All server side log events will be written t
o this file.>
<May 5, 2010 11:14:35 AM CDT> <Notice> <Security> <BEA-090082> <Security initial
izing using security realm myrealm.>
<May 5, 2010 11:14:39 AM CDT> <Notice> <LoggingService> <BEA-320400> <The log fi
le C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminServer\log
s\access.log will be rotated. Reopen the log file if tailing has stopped. This c
an happen on some platforms like Windows.>
<May 5, 2010 11:14:39 AM CDT> <Notice> <LoggingService> <BEA-320401> <The log fi
le has been rotated to C:\Oracle\Middleware\user_projects\domains\Testdomain\ser
vers\AdminServer\logs\access.log00006. Log messages will continue to be logged i
n C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminServer\logs
\access.log.>
<May 5, 2010 11:14:45 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to STANDBY>
<May 5, 2010 11:14:45 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to STARTING>
<May 5, 2010 11:14:48 AM CDT> <Notice> <LoggingService> <BEA-320400> <The log fi
le C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminServer\log
s\Testdomain.log will be rotated. Reopen the log file if tailing has stopped. Th
is can happen on some platforms like Windows.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <LoggingService> <BEA-320401> <The log fi
le has been rotated to C:\Oracle\Middleware\user_projects\domains\Testdomain\ser
vers\AdminServer\logs\Testdomain.log00006. Log messages will continue to be logg
ed in C:\Oracle\Middleware\user_projects\domains\Testdomain\servers\AdminServer\
logs\Testdomain.log.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Log Management> <BEA-170027> <The Server
has established connection with the Domain level Diagnostic Service successfull
y.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to ADMIN>
<May 5, 2010 11:14:48 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to RESUMING>
<May 5, 2010 11:14:48 AM CDT> <Warning> <Server> <BEA-002611> <Hostname "Sharath
", maps to multiple IP addresses: 192.168.214.1, 192.168.8.1, 192.168.1.13, fe80
:0:0:0:10ad:28ec:b345:3fd6%17, fe80:0:0:0:1da2:6938:f012:2f1%18, fe80:0:0:0:6003
:72e0:df5c:e4e8%20, fe80:0:0:0:18fb:91fd:e3cd:478a%15, 2001:0:4137:9e76:10ad:28e
c:b345:3fd6>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[1
]" is now listening on 192.168.8.1:7001 for protocols iiop, t3, ldap, snmp, http
.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[1
0]" is now listening on fe80:0:0:0:18fb:91fd:e3cd:478a:7001 for protocols iiop,
t3, ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[1
1]" is now listening on fe80:0:0:0:f5f4:8112:34d1:6d64:7001 for protocols iiop,
t3, ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[9
]" is now listening on fe80:0:0:0:10ad:28ec:b345:3fd6:7001 for protocols iiop, t
3, ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[1
2]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.
>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[6
]" is now listening on fe80:0:0:0:6003:72e0:df5c:e4e8:7001 for protocols iiop, t
3, ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default"
is now listening on 2001:0:4137:9e76:10ad:28ec:b345:3fd6:7001 for protocols iiop
, t3, ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[5
]" is now listening on fe80:0:0:0:0:5efe:c0a8:801:7001 for protocols iiop, t3, l
dap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[7
]" is now listening on fe80:0:0:0:0:5efe:c0a8:d601:7001 for protocols iiop, t3,
ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[8
]" is now listening on fe80:0:0:0:1da2:6938:f012:2f1:7001 for protocols iiop, t3
, ldap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[2
]" is now listening on 192.168.214.1:7001 for protocols iiop, t3, ldap, snmp, ht
tp.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[3
]" is now listening on 192.168.1.13:7001 for protocols iiop, t3, ldap, snmp, htt
p.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[1
3]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp,
http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <Server> <BEA-002613> <Channel "Default[4
]" is now listening on fe80:0:0:0:0:5efe:c0a8:10d:7001 for protocols iiop, t3, l
dap, snmp, http.>
<May 5, 2010 11:14:48 AM CDT> <Notice> <WebLogicServer> <BEA-000331> <Started We
bLogic Admin Server "AdminServer" for domain "Testdomain" running in Development
Mode>
<May 5, 2010 11:14:49 AM CDT> <Notice> <WebLogicServer> <BEA-000365> <Server sta
te changed to RUNNING>
<May 5, 2010 11:14:49 AM CDT> <Notice> <WebLogicServer> <BEA-000360> <Server sta
rted in RUNNING mode>
May 5, 2010 11:15:12 AM com.sun.faces.config.ConfigureListener contextInitialize
d
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b04-FCS) for co
ntext '/console'
May 5, 2010 11:15:12 AM com.sun.faces.config.ConfigureListener contextInitialize
d
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2_03-b04-F
CS) for context '/console'
<May 5, 2010 11:15:33 AM CDT> <Warning> <Socket> <BEA-000449> <Closing socket as
no data read from it on 0:0:0:0:0:0:0:1:49,788 during the configured idle timeo
ut of 5 secs>
[WARN ][osal ] Could not enumerate processes (1) error=-1073738819
[WARN ][osal ] Could not add counter (null)\ for query
[WARN ][osal ] Failed to init virtual size counter.
[WARN ][osal ] Could not enumerate processes (1) error=-1073738819
[WARN ][osal ] Could not add counter (null)\ for query
[WARN ][osal ] Failed to init virtual size counter.
<May 5, 2010 11:19:46 AM CDT> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=AppDeploymentsControlPage.>
<May 5, 2010 11:20:09 AM CDT> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand
le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DexamplesWeb
App%2CType%3DAppDeployment%22%29.>
[WARN ][osal ] Could not enumerate processes (1) error=-1073738819
[WARN ][osal ] Could not add counter (null)\ for query
[WARN ][osal ] Failed to init virtual size counter.
<May 5, 2010 11:21:46 AM CDT> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=AppApplicationOverviewPage&AppApplicationOverviewPortlethandle=com
.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DDeployment2%2CTyp
e%3DAppDeployment%22%29.>
<May 5, 2010 11:22:05 AM CDT> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand
le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DDeployment1
%2CType%3DAppDeployment%22%29.>
<May 5, 2010 11:40:43 AM CDT> <Warning> <Socket> <BEA-000449> <Closing socket as
no data read from it on 0:0:0:0:0:0:0:1:50,036 during the configured idle timeo
ut of 5 secs>
<May 5, 2010 11:42:02 AM CDT> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=AppDeploymentsControlPage.>
<May 5, 2010 11:42:35 AM CDT> <Warning> <netuix> <BEA-423420> <Redirect is execu
ted in begin or refresh action. Redirect url is /console/console.portal?_nfpb=tr
ue&_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethand
le=com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DDeployment1
%2CType%3DAppDeployment%22%29.> -
Systems Requirements - Weblogic 11g on Windows Server 2012
Hi,
We are migrating the Delivery Environment from RedHat to Windows 2012 Server. We use Weblogic 11g and I need some help to know about the system requirements for a Windows Server 2012 platform running Weblogic 11g, could you tell me the equivalent Windows platform (CPU/RAM) of a Linux RedHat with that system features:
RAM: 24GB
CPU: 2 MACHINES X 2 CORE
Weblogic 11g system requirements will be higher in Windows Server 2012 than in RedHat if we want to keep up a good performance?
Thanks!Only 10.3.6 using jdk 1.7u15+is certified on Windows 2012.
System Requirements and Supported Platforms for Oracle Fusion Middleware 11gR1 ( xls)
The system requirements are here:
Fusion Middleware System Requirements and Specifications
There is no benchmark information so I really cannot comment on performance. -
IDM install of weblogic on solaris t200 very slow
Folks
Has anyone installed weblogic or IDM solution on solaris T2000. The startup and responses are very slow. It takes 20 minutes to bring up the admin server and soa server with the base services starts up in over 40 minutes. Bottom line unusable.
Config:
Soalris 10
Jrockit: 1.6
Weblogic and IDM Suite latest dot 5 release
Is there something obvious we are missing.... Any suggestions recommendations???
The same config on linux is blazing but that is not our environment.....
Thanks
MILook up metalink Oracle has mentioned that there is a problem with T200 and the combination of weblogic/soa and other servers with no solution... They suggest T4000 as the starting point....
Cheers -
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. -
VNC connection to an iMac running Lion from Windows - very slow
Before switching from Snow Leopard to Lion I used Vineserver on my Mac to access it using VNC. VIneserver does not work in Lion, so I decided to try the built-in server (screen sharing)
After multiple atttempts and tweeks I managed to connect to the Mac using TightVNC on my windows machine, however, it is a very slow process. After connecting, I get a strange looking gray screen, with 2 fields asking for my userID and password. The response from the Mac is extremely slow, and sometimes it freezes up all together. If and when I get through that first screen, and I finally see my desktop, things speed up a little, but it doesn't come close the speeds I achieved with Vineserver. The new login screen is what makes it almost not usable though. Does anyone have a similar experience - or a solution?This issue is caused by a difference in the way Lion handles screen logins.
You must change the way you log in so that the client uses Mac OS X sign, on the Mac OS X user and Mac OS X password and not a VNC password.
On the Lion machine that is acting as the server to remote to, have screen sharing on but untick the two boxes in the Computer Settings area as shown in this screenshot:-
This set up works well with my Lion Mac using Mocha VNC iOS client and gives a very usable response across the internet from my iPhone 4.
Before I made these changes I could barely log in. -
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 ); -
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 -
Very slow ADMIN gui (/console) and ADMIN mode problems
The admin gui is painfully slow for us for some reason. We're currently running three clusters in on one admin server. There are 55 applications installed spread out pretty evenly on all clusters.
Listing the 10 first deployed applications takes around 50-60s. CPU usage and so forth is fine. This seems to get worse when more applications are added. Some of our other admin servers works fine but they have far less applications installed.
Perhaps not much to go from but has anyone else experienced this ? Possibly cause, solution ?
Note:
version: 10.3
jdk: 1.6_06 (64 bit)
os: solaris
We're also experiencing some serious problems when deploying application, possibly because of the problems with the admin server and that the deployment sometimes just halts (activate changes times out). Servers can all of a sudden be in ADMIN mode, applications can be in ADMIN mode. And servers and/or applications in ADMIN mode is not a good thing since the load-balancers can't handle this situation because the server still listens on the http port while in ADMIN mode. Not sure why this happens but it seems to be connected to when we deploy application, and that part seems to be a hit'n miss thing. It works perfectly sometimes, sometimes it justs halts. A restart of the admin server and then it might work again. Other times it's a restart of all the servers and then the admin server before it works again.
Same as the first question, anyone that has experienced these problems ?
/LabanSupport has "support patterns" to work through these issues and I definitely recommend opening a case. Various things can contribute such as networking issues causing the clustered communication to not work properly. Thread dumps can also be helpful to see where the time is being spent.
-
All,
Do you see the following error during admin server startup? What may be the cause?
The password or id typo will not cause the follow errors.
Thanks.
==========================================================
java.lang.SecurityException: Invalid Subject: principals=[administrator, Adminis
trators]
at weblogic.security.service.SecurityServiceManager.seal(SecurityService
Manager.java:880)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.ja
va:152)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
a:374)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
End server side stack trace
==========================================================check the filerealm.properties
in the line
Invalid Subject: principals=[administrator, Adminis trators] at
it should be like this
acl.boot.weblogic.server=Administrators,everyone
group.Administrators=system,admin
acl.lockServer.weblogic.admin=Administrators
acl.unlockServer.weblogic.admin=Administrators
acl.shutdown.weblogic.admin=Administrators
thanks
Mir -
Server Admin runs very slow on Server 10.6.2
After what only could be called a power disaster that brought our XServe down hard, when I run Server Admin on the XServe, it's dog slow...it works, but it takes forever to do anything. However, Server Tools installed on my Macbook runs it just as fast as ever. Does anyone have any suggestions besides reinstalling? As our server is still in the set up stages, a backup of it hadn't been made yet...
Thoughts anyone?The usual triggers for this (mis)behavior are a bad local DNS configuration within whatever is serving your local DNS, and potentially a firewall issue within the client.
If you've not messed around with your client firewall settings since this last worked, I'll bet on scrozzled DNS.
Verify your forward and reverse DNS translations and the correctness of your local DNS server set-up using the dig tool.
[My DNS notes|http://labs.hoffmanlabs.com/node/1436]; the set-up and verification of DNS on Snow Leopard Server.
As for auxiliary power, APC SMART-UPS 1500 series is a reasonable option for a less-interruptable power supply (LIPS) for an Xserve box and its usual array of companion direct-attached accouterments. And the USB connection from this model is recognized and honored by Mac OS X Server without add-on software; the box will shut down. (I'd look at adding LIPS capacity if you have a FC SAN and Xserve RAID or such, though.)
Maybe you are looking for
-
RECN (Process Contract) Error while adding condition type
Hi All I am processing the contract (RECN). While adding a new condition type, it gives me thr error Parameter KWH (area unit) for calculation formula Y3 has errors Moreover when i defined this calculation formula (Y3), units KWH are not coming in ar
-
Hi Frnds, How to monitor IDOC adapter. Its resides in Integration Engine. Regards, Raj
-
Error when I try to maintain cubes
Hi all, I have this error when i try to maintain some cubes with dimensions. Failed to Build(Refresh) OLAP_BUILD.MAIN Analytic Workspace. ***Error Occurred in BUILD_DRIVER: In __XML_SEQUENTIAL_LOADER: In __XML_UNIT_LOADER: In __XML_RUN_CC_AUTOSOLVE:
-
I have a question about using images in a JTree. I have like 2 parent nodes who both have a lot of child nodes now i know how to get an image for every node but how do i get 1 image for 1 parent with all his children and another image for the other p
-
Open Project Created On a Mac with Windows Version?
I filmed and created a video of my friend's rap concert since he is a rapper with Premiere CS4 and Encore CS4 to make the DVD. I created this project on my Mac, but now I am trying to finish it on my Windows 7 PC which has the CS3 Master Collection