Creating database on multi cpu machines
Hello:
I want to issue the create database statements on a machine that has multiple cpu.
Would like to to know what are the parameters if any need to specify in the ora file and anything specific needs to be done in the create database statement and if there are other considerations.
Thanks,
You can utilize there parameters if you have multiple cpu servers.
parallel_max_servers integer 5
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
Regards,
http://askyogesh.com
Similar Messages
-
Interrupt in a multi-cpu machine
Hi,
I want to know how the interrput is dealed in a multiprocessor environment. Anyone can tell me or point me to the doc. to check?
Will interrupt be sent to different CPU equally or they are given to one default CPU?
Thanks!
YongI've seen, however that most operating systems like processor affinity and
won't go out of their way to spread threads across CPUs due to CPU cache
synchronization expense. Running two WLS instances on a dual processor
machine will give you more throughput.
Mike Reiche <[email protected]> wrote in message
news:3bcf1d58$[email protected]..
>
> You don't need two instances of WL to take advantage of two CPUs.
>
> Each WL instance in a cluster requires its own IP address. You can refer
to them
> by their IP address.
>
> Mike
>
>
> "jyothi" <[email protected]> wrote:
> >
> >hi,
> >if we need to plan a cluster on a multi-cpu machine..how does
> >the installation of wls go..do we need to install two instances of WLS
> >on the
> >machine or do we have to install only one instance??
> >
> >also wrt wls6.0, through the admin console running on another machine..we
> >create
> >new entries for machine's first and then we create new servers .. how
> >do we associate
> >the two servers running on the same multi-cpu machine with the machine
> >name??
> >
> >thanks
> >jyothi
>
-
Performance problem - mutexes with multi-cpu machine
Hi!
My company is developing multi-threaded server program for
multi-cpu machine which communicates with Oracle database on separate
machine. We use Solaris 7, Workshop 5 CC and pthreads API.
We tested our program on 4 CPU E4500 with 2 CPU E420 Oracle server.
We upgraded E4500 from 4 to 8 CPU and to our surprise instead of
performance improvement we got performance degradation ( 8 CPU runs
about 5% slower than 4 CPU ).
After a long investigation we found out that under stress load most of the
time our performs lwpmutex related operation.
With truss -c statistics was 160 secs in mutex operations and
about 2 secs was read/write in oracle client side library.
Here is output of truss for example:
19989 29075/5: 374.0468 0.0080 lwp_mutex_lock(0x7F2F3F60 = 0
19990 29075/31: 374.0466 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
19991 29075/5: 374.0474 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
19992 29075/30: 374.0474 0.0071 lwp_mutex_lock(0x7F2F3F60) = 0
19993 29075/30: 374.0484 0.0010 lwp_mutex_wakeup(0x7F2F3F60) = 0
19994 29075/31: 374.0483 0.0017 lwp_mutex_lock(0x7F2F3F60) = 0
19995 29075/5: 374.0492 0.0018 lwp_mutex_lock(0x7F2F3F60) = 0
19996 29075/31: 374.0491 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
19997 29075/5: 374.0499 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
19998 29075/30: 374.0499 0.0015 lwp_mutex_lock(0x7F2F3F60) = 0
19999 29075/5: 374.0507 0.0008 lwp_mutex_lock(0x7F2F3F60) = 0
20000 29075/30: 374.0507 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
20001 29075/5: 374.0535 0.0028 lwp_mutex_wakeup(0x7F2F3F60) = 0
20002 29075/30: 374.0537 0.0030 lwp_mutex_wakeup(0x7F2F3F60) = 0
20003 29075/31: 374.0537 0.0046 lwp_mutex_lock(0x7F2F3F60) = 0
20004 29075/5: 374.0547 0.0012 lwp_mutex_lock(0x7F2F3F60) = 0
20005 29075/31: 374.0546 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
20006 29075/5: 374.0554 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
20007 29075/30: 374.0557 0.0020 lwp_mutex_lock(0x7F2F3F60) = 0
20008 29075/31: 374.0555 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
20009 29075/5: 374.0564 0.0010 lwp_mutex_lock(0x7F2F3F60) = 0
20010 29075/30: 374.0564 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
20011 29075/5: 374.0572 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
20012 29075/28: 374.0574 0.0170 lwp_mutex_lock(0x7F2F3F60) = 0
20013 29075/31: 374.0575 0.0020 lwp_mutex_wake(0x7F2F3F60) = 0
We have a several question:
1. We always get the same mutex address : 0x7F2F3F60 even with different
binaries. It looks that all threads wait on one and magic
mutex. Why?
2. We read in article on unixinsider.com that on Solaris when mutex is
unlocked all the threads waiting on this mutex are waked up. It also looks so
from truss output. What is solution for this problem? unixinsider.com
recommends native Solaris read-write lock with all threads as writers?
Is there any other solution? Should in improve performance?
3. We heard that Solaris 8 has better pthreads implementation using a
one-level threading model, where threads are one-to-one with
lwp, rather than the two-level model that is used in the
standard libthread implementation, where user-level threads are
multiplexed over possibly fewer lwps. Are mutexes in this library
behave in "Solaris 7" way or do it put thread to sleep when it unlocks
the mutex? Is it possible to use this library on Solaris 7?
4. Is there plug - in solution like mtmalloc or hoard for new/delete that change
pthread mutexes?
Thank you in advance for your help,
Alexander Indenbaum<pre>
Hi!
My company is developing multi-threaded server program for
multi-cpu machine which communicates with Oracle database on separate
machine. We use Solaris 7, Workshop 5 CC and pthreads API.
We tested our program on 4 CPU E4500 with 2 CPU E420 Oracle server.
We upgraded E4500 from 4 to 8 CPU and to our surprise instead of
performance improvement we got performance degradation ( 8 CPU runs
about 5% slower than 4 CPU ).
After a long investigation we found out that under stress load most of the
time our performs lwpmutex related operation.
With truss -c statistics was 160 secs in mutex operations and
about 2 secs was read/write in oracle client side library.
Here is output of truss for example:
19989 29075/5: 374.0468 0.0080 lwp_mutex_lock(0x7F2F3F60) = 0
19990 29075/31: 374.0466 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
19991 29075/5: 374.0474 0.0006 lwp_mutex_wakeup(0x7F2F3F60) = 0
19992 29075/30: 374.0474 0.0071 lwp_mutex_lock(0x7F2F3F60) = 0
19993 29075/30: 374.0484 0.0010 lwp_mutex_wakeup(0x7F2F3F60) = 0
19994 29075/31: 374.0483 0.0017 lwp_mutex_lock(0x7F2F3F60) = 0
19995 29075/5: 374.0492 0.0018 lwp_mutex_lock(0x7F2F3F60) = 0
19996 29075/31: 374.0491 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
19997 29075/5: 374.0499 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
19998 29075/30: 374.0499 0.0015 lwp_mutex_lock(0x7F2F3F60) = 0
19999 29075/5: 374.0507 0.0008 lwp_mutex_lock(0x7F2F3F60) = 0
20000 29075/30: 374.0507 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
20001 29075/5: 374.0535 0.0028 lwp_mutex_wakeup(0x7F2F3F60) = 0
20002 29075/30: 374.0537 0.0030 lwp_mutex_wakeup(0x7F2F3F60) = 0
20003 29075/31: 374.0537 0.0046 lwp_mutex_lock(0x7F2F3F60) = 0
20004 29075/5: 374.0547 0.0012 lwp_mutex_lock(0x7F2F3F60) = 0
20005 29075/31: 374.0546 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
20006 29075/5: 374.0554 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
20007 29075/30: 374.0557 0.0020 lwp_mutex_lock(0x7F2F3F60) = 0
20008 29075/31: 374.0555 0.0009 lwp_mutex_wakeup(0x7F2F3F60) = 0
20009 29075/5: 374.0564 0.0010 lwp_mutex_lock(0x7F2F3F60) = 0
20010 29075/30: 374.0564 0.0007 lwp_mutex_wakeup(0x7F2F3F60) = 0
20011 29075/5: 374.0572 0.0008 lwp_mutex_wakeup(0x7F2F3F60) = 0
20012 29075/28: 374.0574 0.0170 lwp_mutex_lock(0x7F2F3F60) = 0
20013 29075/31: 374.0575 0.0020 lwp_mutex_wakeup(0x7F2F3F60) = 0
We have a several question:
1. We always get the same mutex address : 0x7F2F3F60 even with different
binaries. It looks that all threads wait on one and magic
mutex. Why?
2. We read in article on unixinsider.com that on Solaris when mutex is
unlocked all the threads waiting on this mutex are waked up. It also looks so
from truss output. What is solution for this problem? unixinsider.com
recommends native Solaris read-write lock with all threads as writers?
Is there any other solution? Should in improve performance?
3. We heard that Solaris 8 has better pthreads implementation using a
one-level threading model, where threads are one-to-one with
lwp, rather than the two-level model that is used in the
standard libthread implementation, where user-level threads are
multiplexed over possibly fewer lwps. Are mutexes in this library
behave in "Solaris 7" way or do it put thread to sleep when it unlocks
the mutex? Is it possible to use this library on Solaris 7?
4. Is there plug - in solution like mtmalloc or hoard for new/delete that change
pthread mutexes?
Thank you in advance for your help,
Alexander Indenbaum
</pre> -
Cannot create database on my local machine
Hi.
Thanks in advance.
I currently have SQL 2008 Server R2 installed on my machine and its' working as expected. With this via Mgmt Studio, I was unable to create a database on my local machine. I kept getting permissions errors. No matter what I did I could
not do anything locally.
To alleviate this I installed SQL Server 2012 Express Mgmt. Studio on my local machine, for the sole purpose of being able to create a local database for testing and learning purposes. During the install I was not prompted to configure the admin account
or any other similar task so I could not set the sa password. After the install was complete, when I launched 2012 express mgmt studio and selected my local machine as my server name (using Win authentication) and pressed the Connect button, I got:
"Login failure for user [domain\user]. (Microsoft SQL Server, Error: 18456]. This is the same error I was getting with my 2008 R2 install, under the same circumstances.
Also, the sample databases did not get installed and I'm not sure why.
When I ran the install (.exe), I ran it as Administrator.
I am an Admin on my machine.
I'm only trying to create a local database for testing and learning purposes, but I am unable to find a way to do this. Can someone let me know what I'm doing wrong?
Thanks.
LoganIs that means you are not able to login to SSMS at all?
You tried connecting ssms with this name right .\SQLExpress
If are not able to login to SSMS with any account then reset SA password using below link:
https://technet.microsoft.com/en-us/magazine/jj853293.aspx -
Limiting WLS to a single processor on a multi-CPU machine
How can I configure WLS to only use a single processor on a multiprocessor
machine? Will launching with green threads do the trick? Is there some way
to permit the use of native threads but to exclude a set of processors?
How do I do this under WLS318? WLS451?
Any help is much appreciated.
-Adam GalperAdam Galper wrote:
How can I configure WLS to only use a single processor on a multiprocessor
machine?It's os-dependent, but most will allow you to bind a process to a single
or set of cpus.
Will launching with green threads do the trick?Yes.
Is there some way
to permit the use of native threads but to exclude a set of processors?
Yes.
== Rob
>
How do I do this under WLS318? WLS451?Any help is much appreciated.
>
-Adam Galper -
Hi,
Is there a recommended number of Weblogic instances when running on a
Multi-CPU machine with more than 8, in this particular case - 28.
The server behaves really bad if I only run one instance there is too
much time spent in the treads waiting to obtain a lock for accessing a
SyncronizedMap (in
webblogic.kernel.ResettableThreadLocal.currentStorage()) and the CPUs
are underutilized.
After a few experiments we found out that 1 instance per 4-6 CPUs is OK,
but I was wondering whether you could recommend something. Also since
there's limit of 2GB per JVM if we wanted to utilize more then there is
no choice.
Thanks,
Deyan
[dejan_bektchiev.vcf]Yes that what my problem is.
Thanks a lot.
--dejan
Dimitri Rakitine wrote:
It is not a hack - it is a trick ;-) (that's how WLS time services work). I suggested
it because it sounded like you identified synchronization contention caused by using
non-WebLogic threads in your application.
Deyan D. Bektchiev <[email protected]> wrote:
This is a multi-part message in MIME format.
--------------67801AC9090398390A36FFEF
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Dimitri,
Is this supported or is it really a hack?
Because I could still run multiple JVMs and when we want to utilize more memory we
are forced to do that anyway as the limit is just below 2GB/JVM and if you have even
16GB that already automatically means 7-8 JVMs which usually does the trick.
Thanks,
Deyan
Dimitri Rakitine wrote:
If using non-WebLogic threads is an immediate problem, you can try to use
this hack: http://dima.dhs.org/misc/LongRunningTask.jsp (MyThread class)
to use WebLogic Execute threads instead of creating your own. (it works
both on 5.1 and 6.0).
Deyan D. Bektchiev <[email protected]> wrote:
This is a multi-part message in MIME format.
--------------EAB0350757F4EBC4B593EB25
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Thanks Adam,
Actually it is true that most of our requests run on non-weblogic threads.
We have a thread pool that runs in the WLS JVM and it is created by a startup
class and afterwards is activated by sending JMS messages to a monitoring
thread that dispatches the requests. The clients connect to a Session EJB and
that session EJB launches the requests and afterwards the clients get their
results via JMS.
We easily support multiple JVMs on one physical server but if it wasn't the
performance hit from accessing that collection we'd prefer to have as few JVMs
as possible as this would also drive down the context switches and the total
number of threads in the system.
All the Best,
Deyan
Adam Messinger wrote:
Deyan,
Can you tell us a bit more about your application. That map in
ResettableThreadLocal shouldn't be hit except for non-WL threads. It is
unusual that this would be a source of contention.
That said, I know of many people who have been successful running multiple
server instances on a single big machine. I think that it is a great
solution if your application is amenable to it.
Cheers!
Adam
"Deyan D. Bektchiev" <[email protected]> wrote in message
news:[email protected]...
Hi,
Is there a recommended number of Weblogic instances when running on a
Multi-CPU machine with more than 8, in this particular case - 28.
The server behaves really bad if I only run one instance there is too
much time spent in the treads waiting to obtain a lock for accessing a
SyncronizedMap (in
webblogic.kernel.ResettableThreadLocal.currentStorage()) and the CPUs
are underutilized.
After a few experiments we found out that 1 instance per 4-6 CPUs is OK,
but I was wondering whether you could recommend something. Also since
there's limit of 2GB per JVM if we wanted to utilize more then there is
no choice.
Thanks,
Deyan
--------------EAB0350757F4EBC4B593EB25
Content-Type: text/x-vcard; charset=us-ascii;
name="dejan_bektchiev.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Deyan D. Bektchiev
Content-Disposition: attachment;
filename="dejan_bektchiev.vcf"
begin:vcard
n:Bektchiev;Deyan
tel;home:1-650-363-6055
tel;work:1-650-289-1046
x-mozilla-html:TRUE
url:http://www.appl.net/
org:Application Networks
adr:;;444 Ramona St;Palo Alto;CA;94301;USA
version:2.1
email;internet:[email protected]
fn:Deyan D. Bektchiev
end:vcard
--------------EAB0350757F4EBC4B593EB25----
Dimitri
--------------67801AC9090398390A36FFEF
Content-Type: text/x-vcard; charset=us-ascii;
name="dejan_bektchiev.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Deyan D. Bektchiev
Content-Disposition: attachment;
filename="dejan_bektchiev.vcf"
begin:vcard
n:Bektchiev;Deyan
tel;home:1-650-363-6055
tel;work:1-650-289-1046
x-mozilla-html:TRUE
url:http://www.appl.net/
org:Application Networks
adr:;;444 Ramona St;Palo Alto;CA;94301;USA
version:2.1
email;internet:[email protected]
fn:Deyan D. Bektchiev
end:vcard
--------------67801AC9090398390A36FFEF----
Dimitri[dejan_bektchiev.vcf] -
Only one CPU core high sys usage when create database instance via dbca
when using dbca to create database instance
JUST ONLY ONE CPU core high sys usage
how to troubleshoot it
see this:
top - 09:28:19 up 55 days, 20:38, 10 users, load average: 1.00, 1.08, 1.31
Tasks: 1231 total, 2 running, 1228 sleeping, 0 stopped, 1 zombie
Cpu(s): 0.0%us, 1.3%sy, 0.0%ni, 98.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 57588328k total, 55028620k used, 2559708k free, 196852k buffers
Swap: 16386292k total, 23156k used, 16363136k free, 23011232k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11343 oracle 25 0 1771m 30m 23m R 99.7 0.1 5:36.39 oracle
3692 oracle 16 0 13948 2348 816 S 1.6 0.0 17:00.94 top
11432 root 15 0 13540 2024 820 R 1.3 0.0 0:00.21 top
11034 oracle 16 0 737m 171m 33m S 0.3 0.3 0:52.39 java
11435 oracle 15 0 66056 1596 1180 S 0.3 0.0 0:00.01 bash
1 root 15 0 784 172 160 S 0.0 0.0 38:56.76 init
2 root RT -5 0 0 0 S 0.0 0.0 0:00.58 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:00.75 ksoftirqd/0
4 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.81 migration/1
6 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/1
7 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
8 root RT -5 0 0 0 S 0.0 0.0 0:02.53 migration/2 mpstat info
[root@localhost ~]# mpstat -P ALL 2
Linux 2.6.18-164.el5 (localhost.localdomain) 09/12/12
09:29:09 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
09:29:11 all 0.01 0.00 1.27 0.01 0.00 0.01 0.00 98.69 1658.29
09:29:11 0 0.50 0.00 0.00 0.00 0.00 0.50 0.00 98.99 1657.29
09:29:11 73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 74 0.00 0.00 100.00 0.00 0.00 0.00 0.00 0.00 0.00
09:29:11 75 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 77 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 78 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 79 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
09:29:13 all 0.01 0.00 1.26 0.01 0.00 0.02 0.00 98.70 1761.19
09:29:13 0 0.50 0.00 0.50 1.00 0.00 1.99 0.00 96.02 1761.19
09:29:13 71 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 72 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 74 0.00 0.00 100.00 0.00 0.00 0.00 0.00 0.00 0.00
09:29:13 75 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 77 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 78 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:13 79 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00 you can see there is only one CPU CORE (core 74 but is random , other core have same status but just one CPU core)
[root@localhost ~]# vmstat -S m 2
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------
r b swpd free buff cache si so bi bo in cs us sy id wa st
3 0 23 1861 203 24267 0 0 8 12 0 0 0 0 99 0 0
4 0 23 1845 203 24262 0 0 602 16460 3682 8121 2 2 96 1 0
3 0 23 1842 203 24276 0 0 692 7520 3297 6610 2 2 97 0 0
3 0 23 1830 203 24277 0 0 786 3040 3302 7118 2 2 97 0 0
4 0 23 1829 203 24277 0 0 126 3144 3247 7343 2 1 97 0 0
3 0 23 1827 203 24279 0 0 76 2944 3292 7502 2 2 96 0 0
3 0 23 1823 203 24281 0 0 0 3248 3164 7656 2 1 97 0 0
2 0 23 1827 203 24279 0 0 0 3646 3080 7480 2 1 97 0 0
2 0 23 1828 203 24279 0 0 0 476 2942 5648 1 1 98 0 0
3 0 23 1824 203 24281 0 0 2 7476 3377 8111 2 2 97 0 0iostat infor
avg-cpu: %user %nice %system %iowait %steal %idle
1.28 0.00 1.29 0.00 0.00 97.43
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
hda 0.00 0.00 0.00 0 0
sda 5.47 0.00 83.58 0 168
sda1 0.00 0.00 0.00 0 0
sda2 5.47 0.00 83.58 0 168
sda3 0.00 0.00 0.00 0 0
sda4 0.00 0.00 0.00 0 0
sda5 0.00 0.00 0.00 0 0
sdb 8.96 0.00 123.38 0 248
sdb1 8.96 0.00 123.38 0 248
avg-cpu: %user %nice %system %iowait %steal %idle
1.27 0.00 1.27 0.00 0.00 97.46
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
hda 0.00 0.00 0.00 0 0
sda 0.00 0.00 0.00 0 0
sda1 0.00 0.00 0.00 0 0
sda2 0.00 0.00 0.00 0 0
sda3 0.00 0.00 0.00 0 0
sda4 0.00 0.00 0.00 0 0
sda5 0.00 0.00 0.00 0 0
sdb 17.50 0.00 236.00 0 472
sdb1 17.50 0.00 236.00 0 472
avg-cpu: %user %nice %system %iowait %steal %idle
1.29 0.00 1.30 0.01 0.00 97.41
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
hda 0.00 0.00 0.00 0 0
sda 0.50 0.00 16.00 0 32
sda1 0.00 0.00 0.00 0 0
sda2 0.50 0.00 16.00 0 32
sda3 0.00 0.00 0.00 0 0
sda4 0.00 0.00 0.00 0 0
sda5 0.00 0.00 0.00 0 0
sdb 7.50 0.00 144.00 0 288
sdb1 7.50 0.00 144.00 0 288more detail:
database version 11.2.0.2.0
system version
[root@localhost ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
Kernel \r on an \m
[root@localhost ~]# lsb_release
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linuxhardware info
vendor_id : GenuineIntel
cpu family : 6
model : 47
model name : Intel(R) Xeon(R) CPU E7- 4860 @ 2.27GHz
stepping : 2
cpu MHz : 2261.057
cache size : 24576 KB
physical id : 3
siblings : 20
core id : 18
cpu cores : 10
apicid : 229
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx pdpe1gb rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 cx16 xtpr popcnt lahf_lm
bogomips : 4522.11
clflush size : 64
cache_alignment : 64
address sizes : 44 bits physical, 48 bits virtual
[root@localhost ~]# free -m
total used free shared buffers cached
Mem: 56238 55892 346 0 196 23645
-/+ buffers/cache: 32050 24188
Swap: 16002 22 15979
[root@localhost ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 19G 4.9G 14G 27% /
/dev/sda5 230G 27G 192G 12% /home
/dev/sda1 99M 12M 83M 13% /boot
/dev/sdb1 2.9T 2.3T 464G 84% /arrayEdited by: JOhnLiu on Sep 11, 2012 7:31 PMJOhnLiu wrote:
thanks for reply sb92075
[root@localhost ~]# mpstat -P ALL 2
Linux 2.6.18-164.el5 (localhost.localdomain) 09/12/12
09:29:09 CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
09:29:11 all 0.01 0.00 1.27 0.01 0.00 0.01 0.00 98.69 1658.29
09:29:11 0 0.50 0.00 0.00 0.00 0.00 0.50 0.00 98.99 1657.29
09:29:11 73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 74 0.00 0.00 100.00 0.00 0.00 0.00 0.00 0.00 0.00
09:29:11 75 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00
09:29:11 76 0.00 0.00 0.00 0.00 0.00 0.00 0.00 100.00 0.00I think you don't understand what i mean .
there just have ONLY ONE CORE %sys 100
the top command show average of all cpu core sys% usage
when the one core sys% is 100%
the system are very slow .
e.g: when I create a database instance used for a long time . over 2 hours
but generally it will be done at most 1 hours or shorteris any type of OS virtualization involved in this environment? -
Repeating Job Can Hang In "Started" Status On Multi-Cpu Windows Machine
Dear All,
I am struck with a know Bug 3092358 "Repeating Job Can Hang In "Started" Status On Multi-Cpu Windows Machine". The Work around is mentioned in Note:307448.1 in metalinks.
In the above doc for the Fix-3 Another option that worked is to try:
Upgraded to EM 9.2.0.6 and applied the Apr05 CPU.
I searched in metalinks to get patch to upgrade EM from 9.2.0.1 to 9.2.0.6. But not able to find can some tell me where can i get this patch.
OS: windows 2003 server
DB:9.2.0.1
OWB :9.2
Pls,do let me know if there any other work arounds,
Thanks for your help.
Rgds,
Satya.While I dunno the specifics of NT threads, one way to spread 1 thread across multiple processors is by simply round robining the thread between the processors over time. i.e. Thread A spends 0.5seconds executing on cpu 1, for the next 0.5 s the thread is moved over to cpu2 and executed there, then it is moved back to cpu1 and so on...
I think the Convex SPP used this model, the motivation perhaps being to spread load evenly among all cpus. Made sense in a multi-user multi-cpu system with a real fast bus.
cheers
-Ragu
You know you've been spending too much time on the computer when your friend misdates a check, and you suggest adding a "++" to fix it. -
Getting ORA-32700 while creating database
I am getting following error when creating the database :
ORA-32700 error occurred in DIAG Group Service
The error description is as follows :
Cause: An unexpected error occurred while performing a DIAG Group Service operation.
Action: Verify that the DIAG process is still active. Also, check the Oracle DIAG trace files for errors.
The setup is as follows :
Database : Oracle 9i Rel 2.
OS : IBM AIX 4.3.3
We are trying to create the database from sqlplus/dbca. It seems that in the database creation process it is throwing the error while it is trying to create the control files.
listener.ora :
LSNR_TSEDMDB2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
TNSNAMES.ORA
LISTENER_TSEDMDB2 =
(ADDRESS = (PROTOCOL = TCP)(HOST = prcsmbk1)(PORT = 1522))
We have IBM HACMP Cluster setup on 3 machines. This machine (prcsmbk1) on which I am getting the error while creating the database is part of that HACMP cluster. While installing the Oracle database software also it gave me a list of the 3 machines which are in HACMP cluster. We are not planning to setup RAC, but still it seems like while creating the database control files Oracle is trying to perform some group service operation.
Alert log :
Sat Jan 3 03:31:18 2004
Starting ORACLE instance (normal)
Sat Jan 3 03:31:18 2004
Global Enqueue Service Resources = 64, pool = 4
Sat Jan 3 03:31:18 2004
Global Enqueue Service Enqueues = 128
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
GES IPC: Receivers 1 Senders 1
GES IPC: Buffers Receive 1000 Send 530 Reserve 300
GES IPC: Msg Size Regular 432 Batch 2048
SCN scheme 3
Using log_archive_dest parameter default value
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
processes = 150
timed_statistics = TRUE
shared_pool_size = 117440512
large_pool_size = 16777216
java_pool_size = 117440512
control_files = /u01/app/oracle/oradata/TSEDMDB2/control01.ctl
db_block_size = 8192
db_cache_size = 33554432
compatible = 9.2.0.0.0
db_file_multiblock_read_count= 16
fast_start_mttr_target = 300
undo_management = AUTO
undo_tablespace = UNDOTBS1
undo_retention = 10800
remote_login_passwordfile= EXCLUSIVE
db_domain =
instance_name = TSEDMDB2
dispatchers = (PROTOCOL=TCP) (SERVICE=TSEDMDB2XDB)
local_listener = LISTENER_TSEDMDB2
job_queue_processes = 10
hash_join_enabled = TRUE
background_dump_dest = /u01/app/oracle/admin/TSEDMDB2/bdump
user_dump_dest = /u01/app/oracle/admin/TSEDMDB2/udump
core_dump_dest = /u01/app/oracle/admin/TSEDMDB2/cdump
sort_area_size = 524288
db_name = TSEDMDB2
open_cursors = 300
star_transformation_enabled= FALSE
query_rewrite_enabled = FALSE
pga_aggregate_target = 25165824
aq_tm_processes = 1
Sat Jan 3 03:31:19 2004
clUster interconnect IPC version:Oracle UDP/IP
IPC Vendor 1 proto 2 Version 1.0
PMON started with pid=2
DIAG started with pid=3
LMON started with pid=4
LMD0 started with pid=5
DBW0 started with pid=6
LGWR started with pid=7
CKPT started with pid=8
SMON started with pid=9
RECO started with pid=10
CJQ0 started with pid=11
QMN0 started with pid=12
Sat Jan 3 03:31:24 2004
starting up 1 shared server(s) ...
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
Sat Jan 3 03:31:25 2004
Create controlfile reuse set database TSEDMDB2
MAXINSTANCES 1
MAXLOGHISTORY 1
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
Datafile
'/u01/app/oracle/oradata/TSEDMDB2/cwmlite01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/drsys01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/example01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/indx01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/odm01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/system01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/tools01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/undotbs01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/users01.dbf' ,
'/u01/app/oracle/oradata/TSEDMDB2/xdb01.dbf'
LOGFILE GROUP 1 ('/u01/app/oracle/oradata/TSEDMDB2/redo01.log') SIZE 102400K,
GROUP 2 ('/u01/app/oracle/oradata/TSEDMDB2/redo02.log') SIZE 102400K,
GROUP 3 ('/u01/app/oracle/oradata/TSEDMDB2/redo03.log') SIZE 102400K RESETLOGS
Sat Jan 3 03:31:25 2004
ORA-1503 signalled during: Create controlfile reuse set database TSEDMDB2
MAX...
Sat Jan 3 03:32:28 2004
Restarting dead background process QMN0
QMN0 started with pid=15
Sat Jan 3 03:32:28 2004
Shutting down instance (abort)
License high water mark = 3
Instance terminated by USER, pid = 47128
Diag trace file :
/u01/app/oracle/admin/TSEDMDB2/bdump/tsedmdb2_diag_49754.trc
Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP and Oracle Data Mining options
JServer Release 9.2.0.4.0 - Production
ORACLE_HOME = /u01/app/oracle/product/9.2.0
System name: AIX
Node name: prcsmbk1
Release: 3
Version: 4
Machine: 0002599F4C00
Instance name: TSEDMDB2
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
49754
Number of Serviceable Networks detected is less than 2
Disabling Transparent Network Failover Feature.
*** SESSION ID:(2.1) 2004-01-03 03:31:19.886
kjzcprt:rcv port created
kjzmreg2: slos err[1 19 [HA_GS_CONNECT_FAILED] sskgxn_gs_in 19]
[kjzmreg2]: Error [category=1] is encountered
Node monitor problem:[32700][kjzmreg2]
Membership is lost in DIAG group
Any help is appreciated. Thanks in advance.Thanks a lot for all your responses. We found the issue. The issue was that when we installed 9i we selected Enterprise option which installed RAC also. And after that when we were trying to create database Oracle was thinking that we are trying to create database in RAC env. and most likely it was trying to create/sync the control files on all the machines in the cluster.
The sequence of events were as below :
1. We have 8i installed on this machine
2. We installed 9i (9.2.0.1.0) using the same ORACLE_BASE but different ORACLE_HOME. We didn't select "Custom Install". We selected "Enterprise install" option
3. We installed new installer (2.2.0.18.0 ) and then 9i patch (9.2.0.4.0)
4. While creating the database (manually & through DBCA) we were getting ORA-32700
5. We tried to uninstall (using OUI 2.2.0.18.0) 9i (including the patch) completely but it never succeeded. We noticed that when we started uninstall it did show progress for about 20 minutes and after that it didn't show any progress. It was not taking any CPU cycles and It was not writing to the log file either. Basically we were never able to cleanly uninstall 9i. We tried almost 2 to 3 times.
6. Then we installed 9i using a new ORACLE_BASE and this time we selected "Custom Install" and we did not install RAC. This is successful
7. Then we installed new installer (2.2.0.18.0 ) and we tried to install the 9i patch (9.2.0.4.0) using this new installer but it never succeeded. Then we tried to install the 9i patch (9.2.0.4.0) using the old installer version (2.2.0.11.0) and it was also successful.
8. Then we tried to create database using DBCA and it was successful and then we dropped the database which was created using DBCA and then we created it manually through SQLPLUS and this was fine too.
So basically what we learned from this exercise is that if we are installing 9i on a machine which is part of a cluster and if we don't plan to setup RAC then we shouldn't install RAC and we should do a custom install. I wish there was a option in create database stmt to tell Oracle that though we are creating database on a machine which is part of a cluster environment but we don't intend to setup RAC.
And other thing which is still a mystery is that why does the uninstall never completes successfully. One question on this : We were using the installer version 2.2.0.18.0 to uninstall the 9i software. Do we need to use the older version (2.2.0.11.0) of the OUI? -
9.0.1 create database using dbca fails
Solaris 8, 64-bit SPARC, 528mb RAM, 2 SCSI 9gig. Development box with no other users/processes running except Sendmail.
Installed Oracle 9.0.1 on machine from CDs with no problems, Attempting to create database using Database Configuration Assistant.
Creating 'general purpose' database using dbca with generally default parameters. Progress bar gets to 50% done, "creating & starting instance" is checked in progress window.
CPU utilization goes to 100% and nothing happens for hours. Eventually have to cancel dbca. No control files or init.ora created, (pfile directory is empty) there are a bunch of oracle processes left running which have to be killed.
I've tried this several times, moved stuff to different drives and/or filesystems, no luck. Have 5 gig available on /u01 where the database should install, and 8 gig available on /u02 where the .dbf's go.
If I had any hair left, I'd pull it out. Any help would be greatly appreciated.
Thanks in advance!I am getting this same problem: The DBCA gets to the point where it is installing the database and starting the instance (it says 51% of the way through), and then it just sits there doing nothing. I noticed when I installed Oracle (9.2.0) when it got to the point of the configuration assistants, there was mention of a listener not being able to start and the installer assuming it was already started (the listener that is). When the DBCA started right after, it stalled out at 51%.
I aleady had the Sun JDK installed, but am assuming this is not the issue since the install got that far. Can someone please advise a course of action so that I can trouble shoot this? I am very very new to this side of Oracle. Any assistance is greatly appreciated and will be passed along to others in turn.
Thanks,
BillR -
Installation stuck at Create database schema Phase 13 of 27
Hi
I am installing the Netweaver 7.01 SP3 and have already removed it completely after getting stuck at the same installation step. Do not know what is going wrong. A small extract of the log is shown below. Any advice on how to proceed will be helpful. I know when einstalling it has to be removed completely which I did using uninstallation and then clean up tool. But again it is stooping at the same step. I had let it run more almost two days but of no use. My system configuration is good enough with 2GB RAM etc.
INFO 2009-03-12 16:52:00.443 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP.
INFO 2009-03-12 16:52:00.458 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory C:\sapdb\NSP\saplog.
INFO 2009-03-12 16:52:00.474 [synxcpath.cpp:807]
CSyPath::createDirectory()
Creating directory E:\sapdb\NSP\sapdata.
INFO 2009-03-12 16:52:01.67 [sixxcstepexecute.cpp:790]
Execute step sdb_create_db_instance of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
File sapdb.inf does exist. Will use the commands in file sapdb.inf.
INFO 2009-03-12 16:52:06.544 [sixxcstepexecute.cpp:790]
Execute step sdb_init_instance_type of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|SdbPreInstanceDialogs|ind|ind|ind|ind|4|0|SdbInstanceDialogs|ind|ind|ind|ind|1|0|SDB_INSTANCE_CREATE|ind|ind|ind|ind|0|0
INFO 2009-03-12 17:12:38.722 [sixxcstepexecute.cpp:790]
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883 [sixxcstepexecute.cpp:790]
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
Also see log browser from the installation window............................
Please see below as it is geeting stuck at
component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component current="true"><![CDATA[Create users for SAP system]]></component><component current="true"><![CDATA[Install common system files]]></component><component current="true"><![CDATA[Unpack SAP archives]]></component><component current="true"><![CDATA[Install SAP Cryptographic component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="99" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:35 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><dialog sid="diProgress" progress="true" windowtitle="SAPinst [Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="100" total="216"/>
<button sid="btPREV" default="false" enabled="false" >
vtaneja2@skumar278-1: SAP NetWeaver 7.0 SR1 including Enhancement Package 1 > SAP Application Server ABAP > MaxDB > Central System > Central System"><title>Task Progress</title><description>Task is running</description><status><![CDATA[]]></status><component CDATA[Prepare database schema for ABAP]]></component><component current="true"><![CDATA[Create database schema]]></component><component ><![CDATA[Create sequence for the ABAP user]]></component><component ><![CDATA[Setup database connection for user SKUMAR278-1\nspadm]]></component><component ><![CDATA[Setup database connection for user skumar278-1\SAPServiceNSP]]></component><component ><![CDATA[Perform MaxDB pre-load activities]]></component><component ><![CDATA[Import ABAP]]></component><component ><![CDATA[Post load activities]]></component><component ><![CDATA[Perform MaxDB post-load activities]]></component><component ><![CDATA[Import MaxDB statistics]]></component><component ><![CDATA[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="104" total="216"/>
[Install central instance]]></component><component ><![CDATA[Start central services instance]]></component><component ><![CDATA[Start instance]]></component><component ><![CDATA[ABAP post installation activities]]></component><component ><![CDATA[Check DDIC password]]></component><component ><![CDATA[Run ABAP Reports]]></component><currentprogress current="105" total="216"/>
<button sid="btPREV" default="false" enabled="false" ><caption>< &Back</caption><action>ACTION_PREV</action><tooltiphelp><![CDATA[]]></tooltiphelp></button><button sid="btNEXT" enabled="false" ><caption>&Next</caption><action sendValuesBack="false">ACTION_NEXT</action><tooltiphelp></tooltiphelp></button></dialog></sapinstgui>
Mar 12, 2009 5:12:39 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstgui version="1.0"><update><updateitem><dialogstatus><![CDATA[ ]]></dialogstatus></updateitem></update></sapinstgui>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog severity="FLOW TRACE" filename="" version="1.0"/>
Mar 12, 2009 5:38:16 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[SAPinstCommLink,5,main]]: Received: <?xml version="1.0" encoding="UTF-8"?><sapinstlog version="1.0" append="false" filename="C:\Program Files\sapinst_instdir\NW701\AS-ABAP\ADA\CENTRAL\sapinst_dev.log"/>
Mar 12, 2009 5:43:59 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:08:17 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Mar 12, 2009 6:30:31 PM [Info]: com.sap.sdt.sapinst.rapi.connector.SAPinstConnector [Thread[AWT-EventQueue-0,6,main]]: Sent: <?xml version="1.0"?><sapinstlog logoff="true" filename="" version="1.0"/>
Thanks in advance
VikasGuess you are talking about sapinst.log file. Below are the last few lines after which it did not proceed
Do see the last step create DB schema....... The previos log was from sapinst_dev.log
Oliver I have a doubt could it be becuase of the host name.
The host name of my machine is "skumar278-1" with DNS domain name for SAP system "asiapac.globalcsc.net"
Could this be the reason for the problem i am facing i.e installation getting stuck at phase 13 Create DB schema.... Other than this I cannot see anything else which can go wrong.. Do have the DHCP server available..
The page file as per the ram settings i.e for 2 GB should be 3072 so I have set it to the same. Though
the prerequisite page shows
"For the selected services at least 7138 MB swap space are recommended. Current value: 2851 MB. (Updated 2005-06-24)"
Can this be the reason???
Also I just looked at the services file.. there are about about 4-5 different files with the name services .3 services.4 ... services.5 etc als there is no entry for port 3900 3600 & 8000.. .. do not know what to do... Please suggest..
INFO 2009-03-12 17:12:35.412
Execute step CheckDbExistence of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:35.726
Execute step check_dbm_dba_user_passwd of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:37.718
Execute step StartDb of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:38.722
Execute step CheckDBUnicode of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0
INFO 2009-03-12 17:12:39.883
Execute step CreateDbSchema of component |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CreateDBandLoad|ind|ind|ind|ind|9|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_ADA_DB|ind|ind|ind|ind|6|0|Sdb_Schema_Dialogs|ind|ind|ind|ind|5|0|Sdb_Schema|ind|ind|ind|ind|1|0 -
Unable to connect to Oracle database running on Windows machine from linux.
Hi,
I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
Please help me.
Thanks,
Sunjyoti
Code :
import oracle.jdbc.pool.OracleDataSource;
import java.sql.Connection;
import java.util.*;
import java.sql.*;
import java.io.*;
class try2{
public static void main(String args[]) {
try {
System.out.println("hi");
// Load the properties file to get the connection information
Properties prop = new Properties();
prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
// Create a OracleDataSource instance
OracleDataSource ods = new OracleDataSource();
System.out.println("prop is "+prop);
configureDataSource(ods, prop);
Connection conn=null;
// Create a connection object
conn = ods.getConnection();
System.out.println("Connection is"+conn);
// Sets the auto-commit property for the connection to be false.
conn.setAutoCommit(false);
} catch (SQLException sqlEx){ // Handle SQL Errors
System.out.println("In exception "+sqlEx);
} catch(Exception excep) { // Handle other errors
System.out.println(" Exception "+ excep.toString());
private static void configureDataSource(OracleDataSource ods, Properties prop) {
// Database Host Name
ods.setServerName(prop.getProperty("HostName"));
// Set the database SID
ods.setDatabaseName(prop.getProperty("SID"));
// Set database port
ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
// Set the driver type
ods.setDriverType ("thin");
// Sets the user name
ods.setUser(prop.getProperty("UserName"));
// Sets the password
ods.setPassword(prop.getProperty("Password"));
Connection properties :
# Your Database Connection details
HostName = 10.20.3.19
SID = EDIREAD
Port = 1521
UserName = dbuser
Password = dbuser
Error I'm getting is
error while trying to connect with odbc datasource
[root@iflexpau2217 EDIReader]# java try2
hi
prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Also I tried to connect with weblogic JDBC driver
Code is here:
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
//import com.entrust.toolkit.util.ByteArray;
public class trial{
public static void main(String args[]) throws IOException{
System.out.println("hi");
Connection p_conn = null;
PreparedStatement xml_insert = null;
try {
// Load the JDBC driver
System.out.println("hi2");
// String driverName = "oracle.jdbc.driver.OracleDriver";
String driverName = "weblogic.jdbc.oracle.OracleDriver";
System.out.println("hi2");
Class.forName(driverName);
// Create a connection to the database
String serverName = "10.20.3.19";
String portNumber = "1521";
String sid = "EDIREAD";
//String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String url = "jdbc:bea:oracle://10.20.3.19:1521";
String username = "dbuser";
String password = "dbuser";
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
p_conn = DriverManager.getConnection(url, username, password);
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
//InputStream in=null;
File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
BufferedReader input =null;
input=new BufferedReader(new FileReader(l_file));
String line = null;
StringBuffer trial=new StringBuffer();
while (( line = input.readLine()) != null){
trial.append(line);
trial.append(System.getProperty("line.separator"));
//InputStream is = new BufferedInputStream(new FileInputStream(l_file));
System.out.println(trial.toString());
//Blob b ;
//byte[] bytes=trial.toString().getBytes();
//System.out.println("Size-->"+bytes.length);
xml_insert.setString(1,new String("SpecailChar"));
//xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
xml_insert.setString(3,"SpecailChar");
xml_insert.executeUpdate();
p_conn.commit();
} catch (ClassNotFoundException e) {
System.out.println("ClassNotFoundException:"+e.getMessage());
// Could not find the database driver
} catch (SQLException e) {
System.out.println("SQEXCEPTIN:"+e.getMessage());
// Could not connect to the database
}catch (FileNotFoundException e) {
System.out.println("filenot found:"+e.getMessage());
// Could not connect to the database
Error I'm getting is
error while trying with jdbc:
SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refusedIs the Windows firewall active? Have you enabled the port on the firewall, if it is?
-
Failed to create Database Link in OWB 9.2 for remote SQL Server
Hi,
I have to create Database link for connecting to SQL server in a different machine.I am using OWB 9.2 and XP.
Dataserver is the machine name which is running SQL Server
I included follwing lines in TNSNAMES.ORA file
hsodbc.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
(CONNECT_DATA = (SID=hsodbc.world)
(HS =OK)
I included follwing lines in Listener.ORA file
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = dataserver)(PORT = 1433)
(SID_DESC=
(SID_NAME=hsodbc.world)
(ORACLE_HOME=C:\ora92)
(PROGRAM=hsodbc)
I included follwing lines in inithsodbc.ORA file
HS_FDS_CONNECT_INFO = testdsn
HS_FDS_TRACE_LEVEL = 0
While creating new database link I gave the follwing values
DB Link Name : Mylink
SQL * Net Connect String: hsodbc
User Name: sa
password:<my password>
Then clicked "Create and Test" button to get the follwing error message
Testing...
Failed.
ORA-12154 TNS:could not resolve service name
*Cause: The service name specified is not defined correctly in the TNSNAMES.ORA file
*Action: Make the following checks and correct the error:
- Verify that a TNSNAMES.ORA file exists on your repository server
in the proper place and is accessible. See the operating
system specific manual for details on the required name and location.
- Check to see that the service name exists in one of the
TNSNAMES.ORA files and add it if necessary.
- Make sure there are no syntax errors in the file.
Particularly look for unmatched parentheses or stray characters.
Any error in a TNSNAMES.ORA file makes it unusable. See
Chapter 4 in the SQL*Net V2 Administrator's Guide. If possible,
regenerate the configuration files using the Oracle Network Manager.
Is there anything wrong in my configuration. Please help me in getting out of this problem.
Thanks in advance
AndyHi Mark,
Thanks Mark.I did the changes in the specified .ora file but now it shows a different error message.
The error is
Testing...
Failed.
Cwm Error Message: SQL Exception
Cwm Error: SQL Exception
Class Name: CacheMediator
Method Name: getDDEntryFromDB
Repository Error Message: ORA-28545: error diagnosed by Net8 when connecting to an agent
NCRO: Failed to make RSLV connection
ORA-02063: preceding 2 lines from MYLINK
Query: select 1 from dual@MyLink
I got the same error when i tried manually in sql plus.
Please help me in getting out of thid problem
Thanks in advance
Andy -
ORA-12709: error while loading create database character set after upgrade
Dear All
i m getting ORA-12709: error while loading create database character set, After upgraded the database from 10.2.0.3 to 11.2.0.3 in ebusiness suit env.
current application version 12.0.6
please help me to resolve it.
SQL> startup;
ORACLE instance started.
Total System Global Area 1.2831E+10 bytes
Fixed Size 2171296 bytes
Variable Size 2650807904 bytes
Database Buffers 1.0133E+10 bytes
Redo Buffers 44785664 bytes
ORA-12709: error while loading create database character set
-bash-3.00$ echo $ORA_NLS10
/u01/oracle/PROD/db/teche_st/11.2.0/nls/data/9idata
export ORACLE_BASE=/u01/oracle
export ORACLE_HOME=/u01/oracle/PROD/db/tech_st/11.2.0
export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/perl/bin:$PATH
export PERL5LIB=$ORACLE_HOME/perl/lib/5.10.0:$ORACLE_HOME/perl/site_perl/5.10.0
export ORA_NLS10=/u01/oracle/PROD/db/teche_st/11.2.0/nls/data/9idata
export ORACLE_SID=PROD
-bash-3.00$ pwd
/u01/oracle/PROD/db/tech_st/11.2.0/nls/data/9idata
-bash-3.00$ ls -lh |more
total 56912
-rw-r--r-- 1 oracle oinstall 951 Jan 15 16:05 lx00001.nlb
-rw-r--r-- 1 oracle oinstall 957 Jan 15 16:05 lx00002.nlb
-rw-r--r-- 1 oracle oinstall 959 Jan 15 16:05 lx00003.nlb
-rw-r--r-- 1 oracle oinstall 984 Jan 15 16:05 lx00004.nlb
-rw-r--r-- 1 oracle oinstall 968 Jan 15 16:05 lx00005.nlb
-rw-r--r-- 1 oracle oinstall 962 Jan 15 16:05 lx00006.nlb
-rw-r--r-- 1 oracle oinstall 960 Jan 15 16:05 lx00007.nlb
-rw-r--r-- 1 oracle oinstall 950 Jan 15 16:05 lx00008.nlb
-rw-r--r-- 1 oracle oinstall 940 Jan 15 16:05 lx00009.nlb
-rw-r--r-- 1 oracle oinstall 939 Jan 15 16:05 lx0000a.nlb
-rw-r--r-- 1 oracle oinstall 1006 Jan 15 16:05 lx0000b.nlb
-rw-r--r-- 1 oracle oinstall 1008 Jan 15 16:05 lx0000c.nlb
-rw-r--r-- 1 oracle oinstall 998 Jan 15 16:05 lx0000d.nlb
-rw-r--r-- 1 oracle oinstall 1005 Jan 15 16:05 lx0000e.nlb
-rw-r--r-- 1 oracle oinstall 926 Jan 15 16:05 lx0000f.nlb
-rw-r--r-- 1 oracle oinstall 1.0K Jan 15 16:05 lx00010.nlb
-rw-r--r-- 1 oracle oinstall 958 Jan 15 16:05 lx00011.nlb
-rw-r--r-- 1 oracle oinstall 956 Jan 15 16:05 lx00012.nlb
-rw-r--r-- 1 oracle oinstall 1005 Jan 15 16:05 lx00013.nlb
-rw-r--r-- 1 oracle oinstall 970 Jan 15 16:05 lx00014.nlb
-rw-r--r-- 1 oracle oinstall 950 Jan 15 16:05 lx00015.nlb
-rw-r--r-- 1 oracle oinstall 1.0K Jan 15 16:05 lx00016.nlb
-rw-r--r-- 1 oracle oinstall 957 Jan 15 16:05 lx00017.nlb
-rw-r--r-- 1 oracle oinstall 932 Jan 15 16:05 lx00018.nlb
-rw-r--r-- 1 oracle oinstall 932 Jan 15 16:05 lx00019.nlb
-rw-r--r-- 1 oracle oinstall 951 Jan 15 16:05 lx0001a.nlb
-rw-r--r-- 1 oracle oinstall 944 Jan 15 16:05 lx0001b.nlb
-rw-r--r-- 1 oracle oinstall 953 Jan 15 16:05 lx0001c.nlb
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
ORACLE_HOME = /u01/oracle/PROD/db/tech_st/11.2.0
System name: SunOS
Node name: proddb3.zakathouse.org
Release: 5.10
Version: Generic_147440-19
Machine: sun4u
Using parameter settings in server-side spfile /u01/oracle/PROD/db/tech_st/11.2.0/dbs/spfilePROD.ora
System parameters with non-default values:
processes = 200
sessions = 400
timed_statistics = TRUE
event = ""
shared_pool_size = 416M
shared_pool_reserved_size= 40M
nls_language = "american"
nls_territory = "america"
nls_sort = "binary"
nls_date_format = "DD-MON-RR"
nls_numeric_characters = ".,"
nls_comp = "binary"
nls_length_semantics = "BYTE"
memory_target = 11G
memory_max_target = 12G
control_files = "/u01/oracle/PROD/db/apps_st/data/cntrl01.dbf"
control_files = "/u01/oracle/PROD/db/tech_st/10.2.0/dbs/cntrl02.dbf"
control_files = "/u01/oracle/PROD/db/apps_st/data/cntrl03.dbf"
db_block_checksum = "TRUE"
db_block_size = 8192
compatible = "11.2.0.0.0"
log_archive_dest_1 = "LOCATION=/u01/oracle/PROD/db/apps_st/data/archive"
log_archive_format = "%t_%s_%r.dbf"
log_buffer = 14278656
log_checkpoint_interval = 100000
log_checkpoint_timeout = 1200
db_files = 512
db_file_multiblock_read_count= 8
db_recovery_file_dest = "/u01/oracle/fast_recovery_area"
db_recovery_file_dest_size= 14726M
log_checkpoints_to_alert = TRUE
dml_locks = 10000
undo_management = "AUTO"
undo_tablespace = "APPS_UNDOTS1"
db_block_checking = "FALSE"
session_cached_cursors = 500
utl_file_dir = "/usr/tmp"
utl_file_dir = "/usr/tmp"
utl_file_dir = "/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound"
utl_file_dir = "/u01/oracle/PROD/db/tech_st/10.2.0/appsutil/outbound/PROD_proddb3"
utl_file_dir = "/usr/tmp"
plsql_code_type = "INTERPRETED"
plsql_optimize_level = 2
job_queue_processes = 2
cursor_sharing = "EXACT"
parallel_min_servers = 0
parallel_max_servers = 8
core_dump_dest = "/u01/oracle/PROD/db/tech_st/10.2.0/admin/PROD_proddb3/cdump"
audit_file_dest = "/u01/oracle/admin/PROD/adump"
db_name = "PROD"
open_cursors = 600
pga_aggregate_target = 1G
workarea_size_policy = "AUTO"
optimizer_secure_view_merging= FALSE
aq_tm_processes = 1
olap_page_pool_size = 4M
diagnostic_dest = "/u01/oracle"
max_dump_file_size = "20480"
Tue Jan 15 16:16:02 2013
PMON started with pid=2, OS id=18608
Tue Jan 15 16:16:02 2013
PSP0 started with pid=3, OS id=18610
Tue Jan 15 16:16:03 2013
VKTM started with pid=4, OS id=18612 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Tue Jan 15 16:16:03 2013
GEN0 started with pid=5, OS id=18616
Tue Jan 15 16:16:03 2013
DIAG started with pid=6, OS id=18618
Tue Jan 15 16:16:03 2013
DBRM started with pid=7, OS id=18620
Tue Jan 15 16:16:03 2013
DIA0 started with pid=8, OS id=18622
Tue Jan 15 16:16:03 2013
MMAN started with pid=9, OS id=18624
Tue Jan 15 16:16:03 2013
DBW0 started with pid=10, OS id=18626
Tue Jan 15 16:16:03 2013
LGWR started with pid=11, OS id=18628
Tue Jan 15 16:16:03 2013
CKPT started with pid=12, OS id=18630
Tue Jan 15 16:16:03 2013
SMON started with pid=13, OS id=18632
Tue Jan 15 16:16:04 2013
RECO started with pid=14, OS id=18634
Tue Jan 15 16:16:04 2013
MMON started with pid=15, OS id=18636
Tue Jan 15 16:16:04 2013
MMNL started with pid=16, OS id=18638
DISM started, OS id=18640
ORACLE_BASE from environment = /u01/oracle
Tue Jan 15 16:16:08 2013
ALTER DATABASE MOUNT
ORA-12709 signalled during: ALTER DATABASE MOUNT...ORA-12709 signalled during: ALTER DATABASE MOUNT...Do you have any trace files generated at the time you get this error?
Please see these docs.
ORA-12709: WHILE STARTING THE DATABASE [ID 1076156.6]
Upgrading from 9i to 10gR2 Fails With ORA-12709 : Error While Loading Create Database Character Set [ID 732861.1]
Ora-12709 While Trying To Start The Database [ID 311035.1]
ORA-12709 when Mounting the Database [ID 160478.1]
How to Move From One Database Character Set to Another at the Database Level [ID 1059300.6]
Thanks,
Hussein -
Can we start more than one user created database at the same time
Hi.,
Can we start/work more than one user created database at the same time ??
--ShyamHi Shyam,
I really dont understand what you have asked?
If your question is can we start more than one database at the same time then the answer to that is yes but provided to have enough resources on your server to support running of two or more different databases on the same machine.
Ex Senior DBA
Maybe you are looking for
-
I have a problem with 2 ROUTERS wrt54gl
I have a problem with 2 ROUTERS The router has remained and 2 linksys and specific wrt54gl and 2 In one I have connected the DSL line with a modem in the first WAN router which has IP: 192.168.100.1 and connect from Tin's LAN 192.168.100.1 in the sec
-
Why 2 castings in return statement of entrySet() of HashMap?
Hi When looking through the code of the HashMap class in jdk 1.5 in Eclipse 3.2 I see the following: public Set<Map.Entry<K,V>> entrySet() { Set<Map.Entry<K,V>> es = entrySet; return (es != null ? es : (entrySet = (Set<Map.Entry<K,V>>) (Set) new Entr
-
Capture stuck at one archive file
I have set up a 1-to-1 one-way streams replication in Oracle 10.2. (schema level capture). Source DB (SRC)& destination DB (DEST) on : SUSE Linux Enterprise Server 10 SP2 (ia64) The capture, propagation and apply did run okay for few hours. Now I fin
-
Limiting a user to only 'x' concurrent logins
Hi, Is there a way of limiting a user to only 'x' concurrent logins. I've had a hunt around and the only mentions seems to be based on PAM ? Thanks al
-
My incomplete E70 runs firmware 1.0610.05.07 dated 30-05-06. The latest firmware updater 1.1.40en, tells me that no update is available for my phone. If there are truely no firmware updates available since 30-05, five months after all the bug reports