Sid


 
Thread Tools Search this Thread
Special Forums UNIX Desktop Questions & Answers Sid
# 1  
Old 03-21-2008
Data Sid

What is SID and how to gahter information about that ?? Is this the right forum to ask this question ? If not then please help me out..
# 2  
Old 03-21-2008
In which context are you referring to an SID?

In unix context, sometimes a process is killed with the process session ID SID. For ex, with "pkill" command you could kill the processes with the given session id. A session id of 0 translates to pkill's own session.

SID is majorly talked about in a database context. Supposing, you have more than one instance of Oracle running on the same box with different /ora/home paths, then choosing the SID assigns you the correct instance you want to work with, and includes it in your UNIX path.

You may get more viwes if you could try the search option on this forum..good luck!
# 3  
Old 03-21-2008
Hi

Actually they are trying to execute an SQL query.. And from the UNIX admin they had mailed me that the SID 1147 is running for 5 hours. Check it ...

But I am not aware of the unix administaration commands.. So can you please help me tou how can i check it in my unix server ...
# 4  
Old 03-21-2008
Try
ps -s 1147

If it returns the details of the Sql script that is long running in your server, then you can be safely have your admin take appropriate action on it.
# 5  
Old 03-21-2008
hi

ps -s is not listing anything ... what to do..
# 6  
Old 03-21-2008
Ask the unix admin what is meant by sid 1147 and what command is suggested to obtain info on it. Normally a unix admin would give a pid.
# 7  
Old 03-21-2008
a SID is also an instance of a database - a separate standalone database, one among many.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Samba loosing SID UID mapping

Hi all, I don't know how many times I've setup samba shares, but... It's been a while since the last time. The SID UID maps used to always seem random. I.E. if I had to move the data to another box, I'd have to note all of the SID / UID relations and write scripts to convert them on the new... (0 Replies)
Discussion started by: mph
0 Replies

2. Shell Programming and Scripting

Script creation(How to validate SID?)

I was going write a script from following site. Unix Shell Script to Execute Oracle SQL Query (link removed) My configuration setting for oracle XE. export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server export PATH=$PATH:$ORACLE_HOME/bin export ORACLE_SID=XE but after... (4 Replies)
Discussion started by: pinga123
4 Replies

3. Shell Programming and Scripting

Read Oracle Username password SID from single file and pass it to shell

Dear All I am trying to write one shell which will be running through Cron which contain one SQL query. But I want to draw/fetch the Username password and Instance name (required to loging to the database) from one single file to run that SQL query . Also this file contain details of multiple... (2 Replies)
Discussion started by: jhon
2 Replies

4. UNIX for Dummies Questions & Answers

. oraenv vs setdb [SID]

Hi, i am working on Tru64 os... When i try to connect to an Oracle instance, the usual method i follow is chsxsora1:oracle:PRD1 > . oraenv ORACLE_SID = ? PRD1 But for one Instance it was not working, chsxsora2:oracle:TST2 > . oraenv ORACLE_SID =*= ? TST2 i... (0 Replies)
Discussion started by: saharookiedba
0 Replies

5. Shell Programming and Scripting

need to generate unique id from constant sid

Hello I have multiple accounts that running application that uses unique port number I want to generate this port from some sid number that stays constant for every user account , is there any place in the system that generate number that is unique to the account ? thanks (0 Replies)
Discussion started by: umen
0 Replies

6. UNIX for Advanced & Expert Users

SID=${ORACLE_SID:?"$TWO_TASK"}

Hi, if any one understand what does this mean : SID=${ORACLE_SID:?"$TWO_TASK"} I have it in a shell script. Many thanks in advance. (2 Replies)
Discussion started by: big123456
2 Replies
Login or Register to Ask a Question