RE: How to move a database from Solaris to Linux

2001-09-20 Thread K Gopalakrishnan

Reinhold,

I am afraid export import is the only way to migrate the
database from one Operating system to another operating Systems
and oracle data files are not compatible across various
operating systems (with a single exception of Solaris-HPUX)

If you are using Solaris (or HP UX) you can copy the data files
to HP UX( to Solaris if you use HP) and recreate the control
files and you can open the database. I don't know Oracle
Support's stand on this type of migration.

I am developing a tool which will do the migration
from one operating system to another operating system
(Basically it will read block by block and write to
the another operating system file format) and you can
copy (or binary FTP) the file to the target operating
system and recreate the control file and you are set to go

I don't have much experience in DB/2 and I can not
comment about that compatibility issues in DB/2. But
different operating systems uses different file formats
to store the data and oracle also has to follow the
rules to read/write the data files in those operating
systems.

If you have after interconnect (read GB n/w) you can
copy the tables over dblink and this will be much faster
than conventional export and Import. I don't have the
exact figures .. but this will reduce the downtime if you
have faster interconnect.

Why don't you file an enhancement request with oracle
seeking this ? :-)


Best Regards,
K Gopalakrishnan
Bangalore, INDIA


-Original Message-
Wagner
Sent: Thursday, September 20, 2001 1:00 AM
To: Multiple recipients of list ORACLE-L


Christopher,

i don't consider Solaris and Linux as different OS. IMO they are at
least similar if not equal from the DBMS point of view. I don't see any
reason why the data files should be different on Solaris, Linux or any
other UNIX OS.

I know from DB/2 that the data files are binary compatible on all OS and
I can't believe that's not true for Oracle.

regards

Reinhold

Christopher Spence wrote:

> You cannot move data files from one OS to a different one due to the
> differences in how they write to files.
>
> Import and Export is generally the accepted way to do this.
>
> "Do not criticize someone until you walked a mile in their shoes, that way
> when you criticize them, you are a mile a way and have their shoes."
>
> Christopher R. Spence
> Oracle DBA
> Phone: (978) 322-5744
> Fax:(707) 885-2275
>
> Fuelspot
> 73 Princeton Street
> North, Chelmsford 01863
>
>
>
> -Original Message-
> Sent: Wednesday, September 19, 2001 12:47 PM
> To: Multiple recipients of list ORACLE-L
>
> Hi all,
>
> we have to move a 135 GB Oracle 8.0.6 database from Solaris 7 to Linux.
> We tried a simple restore of the database files from the last offline
> backup (tape) as we did it many times between equal systems.
>
> After creating the new control file on the target system the database
> could not be started, becaue Oracle thinks that the system data file
> isn't really a data file!
>
> This means i have to do an export/import! I assume an export time of
> round about 10 hrs. Is there any easier way?
>
> TIA
>
> Reinhold Wagner
>
>


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Reinhold Wagner
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: K Gopalakrishnan
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: How to move a databse from Solaris to Llinux

2001-09-20 Thread Guy Hammond

Maybe they're logically the same, but that doesn't mean they are
physically the same. Off the top of my head, I seem to recall that SPARC
and x86 architectures have different "endianness", which might be a
factor.

g



-Original Message-
Sent: Thursday, September 20, 2001 9:00 AM
To: Multiple recipients of list ORACLE-L


Christopher,

i don't consider Solaris and Linux as different OS. IMO they are at 
least similar if not equal from the DBMS point of view. I don't see any 
reason why the data files should be different on Solaris, Linux or any 
other UNIX OS.

I know from DB/2 that the data files are binary compatible on all OS and

I can't believe that's not true for Oracle.

regards

Reinhold

Christopher Spence wrote:

> You cannot move data files from one OS to a different one due to the
> differences in how they write to files.
> 
> Import and Export is generally the accepted way to do this.
> 
> "Do not criticize someone until you walked a mile in their shoes, that
way
> when you criticize them, you are a mile a way and have their shoes."
> 
> Christopher R. Spence 
> Oracle DBA
> Phone: (978) 322-5744
> Fax:(707) 885-2275
> 
> Fuelspot
> 73 Princeton Street
> North, Chelmsford 01863
>  
> 
> 
> -Original Message-
> Sent: Wednesday, September 19, 2001 12:47 PM
> To: Multiple recipients of list ORACLE-L
> 
> Hi all,
> 
> we have to move a 135 GB Oracle 8.0.6 database from Solaris 7 to
Linux. 
> We tried a simple restore of the database files from the last offline 
> backup (tape) as we did it many times between equal systems.
> 
> After creating the new control file on the target system the database 
> could not be started, becaue Oracle thinks that the system data file 
> isn't really a data file!
> 
> This means i have to do an export/import! I assume an export time of 
> round about 10 hrs. Is there any easier way?
> 
> TIA
> 
> Reinhold Wagner
> 
> 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Reinhold Wagner
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Error in creating tablespace

2001-09-20 Thread ASHRAF SALAYMEH

Hi List,

I tryed to create the tablespace from svrmgr30
as satar naghshineh told me.
But i still face the same error...
CREATE TABLESPACE PAYROLL
DATAFILE 'C:\PAYROL.ORA' SIZE 10M
SQL> /
ERROR at line 1:
> > ORA-19502: write error on file "C:\PAYROL.ORA",
> > blockno 1 (blocksize=2048)
> > ORA-27069: skgfdisp: attempt to do I/O beyond the
> > range of the file
> > OSD-04026: Invalid parameter passed.
> > O/S-Error: (OS 64) The specified network name is

Any one can tell me what I have to do?

Regards,
Ashraf
--- satar naghshineh <[EMAIL PROTECTED]> wrote:
> Salaam Ashraf Jon,
> 
> It appears that Oracle has a problem writing to the
> C
> drive to create the datafile on the very first
> block.
> This error is usually the result of a size issue
> over
> 4gb for the datafile or a file that has been
> autoextended. In your case, it appears it doesn't
> like
> the command (maybe some character is being passed
> through the command?). 
> 
> Delete the file and re-try it again. try doing this
> in
> svrmgrl80 and put a ; at the end.
> 
> Good Luck,
> Satar Naghshineh
> 
> 
> 
> --- ASHRAF SALAYMEH <[EMAIL PROTECTED]>
> wrote:
> > Hello list,
> > 
> > I'm using Personal Oracle8 Database and Win98
> > Platform
> > 
> > I issued this command from Sqlplus8.0 :
> >  
> >CREATE TABLESPACE PAYROLL
> >DATAFILE 'C:\PAYROL.ORA' SIZE 10M
> > SQL> /
> > 
> > I am trying to create new tablespace Payroll but I
> > have got this error!
> > 
> > 
> > CREATE TABLESPACE PAYROLL
> > *
> > ERROR at line 1:
> > ORA-19502: write error on file "C:\PAYROL.ORA",
> > blockno 1 (blocksize=2048)
> > ORA-27069: skgfdisp: attempt to do I/O beyond the
> > range of the file
> > OSD-04026: Invalid parameter passed.
> > O/S-Error: (OS 64) The specified network name is
> no
> > longer available.
> > 
> > 
> > The strange is you can see the PAYROLL.ORA under
> C:\
> > Directory
> > After the error is displayed.
> > 
> > But when you query :
> > 
> > SQL> select tablespace_name
> >  from dba_data_files;
> >  
> > you can find nothing, no tablespace is created at
> > all...
> > 
> > I wish someone can help me to solve this problem.
> > 
> > Best Regards, 
> > Ashraf Salaymeh 
> > 
> 
> 
> __
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
>
http://dailynews.yahoo.com/fc/US/Emergency_Information/
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: satar naghshineh
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: ASHRAF SALAYMEH
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Determining Oracle status

2001-09-20 Thread Thomas, Kevin

Raj,

excuse my ignorance of all things shell script like, but when I try to run
this I keep getting the error "CHECK_CONNECT=$$.CHECK_CONNECT: is not an
identified." any thoughts on this one.

Regards,
Kev.

"hit any supermassive black hole to continue"
__

Kevin Thomas
Technical Analyst
Deregulation Services
Calanais Ltd.
(2nd Floor East - Weirs Building)
Tel: 0141 568 2377
Fax: 0141 568 2366
http://www.calanais.com


-Original Message-
Sent: 18 September 2001 20:30
To: Multiple recipients of list ORACLE-L


Check out the following script.

*** SCRIPT STARTS
HERE*
#!/usr/bin/sh 

###
#
#   Auther  : Raj Sakthi
#   
#   Modification History: 
#   02/23/01: Network Connectivity Checking was added
.   
#
#   *** THIS SCRIPT CHECKS FOR THE AVAILABILITY OF
INSTANCE ALONG WITH THE  
#   *** NETWORK CONNECTIVITY   
  
#
#   Usage   :  Pass SID as parameter.  
# Example   :  sid_run orcl
# 


export CHECK_CONNECT=$$.CHECK_CONNECT
export READY=$$.ready
SID=$1
rm -f $READY
print "
 connect a/aa@$SID
  host touch $READY
 exit " |
 sqlplus /nolog  > $CHECK_CONNECT &
#
# Next we use a timer to check the sqlplus
hanging.
#
((timeout = 60))
while ((timeout -= 1)) && [[ ! -r $READY ]]
do
sleep 1
done
#
# If the file Doesn't exist then we check for internal
connectivity ..
#---
-
if [  ! -f $READY ]
  then
 print "
 connect internal
 exit " |
 sqlplus /nolog > $SID_connect.log
 egrep 'Connected' $SID_connect.log >
/dev/null
  if [ $? = 0 ]
 then
 echo " Problem in Network connectivity of
$SID "
 else
 echo " Instance $SID is not responding "
#
# Here we decide that Database is unavailable Due to
SQLPLUS hanging . 
#---

 exit 86
  fi
fi 
   egrep 'ORA-01034|ORA-12224|ORA-12154'
$CHECK_CONNECT > /dev/null
if [[ $? = 0 ]]; then
   echo "Instance '$SID' is NOT accessible, or invalid
ORACLE_SID"
   rm $CHECK_CONNECT
   rm $READY
#
# Here instance is not availablestaight and
simple..: )
#---
--
   exit 86
else   
#
# Check for INSTANCE availability by the specific
ORACLE error..slick ..eh?!
#-
   grep 'ORA-01017' $CHECK_CONNECT > /dev/null   
  if [[ $? = 0 ]]; then
  echo "Instance '$SID' is UP and Accessible" 
 
   else   
#
#To catch any other  error .
#
  echo "Instance '$SID' is HAVING UNKNOWN ERROR.
\n Verify Instance internal state "
   fi 
fi
rm $CHECK_CONNECT
rm $READY
 END  
regards,
RS


--- Barry Deevey <[EMAIL PROTECTED]> wrote:
> Hi all, 
> 
> I am trying to write a script in unix that
> determines if a specific oracle
> instance is available. I'm trying to avoid using the
> 'ps' command, so I
> thought the easiest method would be to connect via
> sqlplus - If it connects
> its up, if it doesn't then its unavailable. However,
> the problem is that
> when it isn't up, the script hangs and does not
> return anything - I think
> that this is because sqlplus by default gives you 3
> attempts to logon, so
> even though the logon attempt failed, it is waiting
> for you to try again, so
> unfortunately I'm not getting a failed return code. 
> If anybody could tell me how to change this so that
> it only allows 1 login
> attempt before 'kicking you out' or whether there is
> a better method to
> finding out the status of an instance, I would be
> extremely grateful to hear
> from you. 
> 
> TIA for any responses. 
> 
> Best Regards, 
> Barry. 
> 
> 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> -- 
> Author: Barry Deevey
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).



How to find the current instance name?

2001-09-20 Thread Nirmal Kumar Muthu Kumaran

List,

How to find the current instance name for the session?.

>From svrmgrl, i can using "SELECT name FROM v$database".

What is the equivalant from the ordinary user?

Regards
Nirmal.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Error in creating tablespace

2001-09-20 Thread Nirmal Kumar Muthu Kumaran

Hi,

Here the following are ERROR details:

1)  > > ORA-19502: write error on file "C:\PAYROL.ORA",
> > blockno 1 (blocksize=2048)


-
ORA-19502
ORA-19502write error on file name, blockno name (blocksize=num)
Cause:A write error was detected on the output file. 
Action:Check that the file is not corrupt and retry the operation. 

-

2)  > > OSD-04026: Invalid parameter passed.
> > O/S-Error: (OS 64) The specified network name is


-
OSD-04026
OSD-04026Invalid parameter passed
Cause:This is an internal error, not normally expected to occur.
Action:Contact Oracle Worldwide Customer Support.

-

So please try to do the action's part from the help.

Regards,
Nirmal

> -Original Message-
> From: ASHRAF SALAYMEH [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 12:10 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  Re: Error in creating tablespace
> 
> Hi List,
> 
> I tryed to create the tablespace from svrmgr30
> as satar naghshineh told me.
> But i still face the same error...
> CREATE TABLESPACE PAYROLL
> DATAFILE 'C:\PAYROL.ORA' SIZE 10M
> SQL> /
> ERROR at line 1:
> > > ORA-19502: write error on file "C:\PAYROL.ORA",
> > > blockno 1 (blocksize=2048)
> > > ORA-27069: skgfdisp: attempt to do I/O beyond the
> > > range of the file
> > > OSD-04026: Invalid parameter passed.
> > > O/S-Error: (OS 64) The specified network name is
> 
> Any one can tell me what I have to do?
> 
> Regards,
> Ashraf
> --- satar naghshineh <[EMAIL PROTECTED]> wrote:
> > Salaam Ashraf Jon,
> > 
> > It appears that Oracle has a problem writing to the
> > C
> > drive to create the datafile on the very first
> > block.
> > This error is usually the result of a size issue
> > over
> > 4gb for the datafile or a file that has been
> > autoextended. In your case, it appears it doesn't
> > like
> > the command (maybe some character is being passed
> > through the command?). 
> > 
> > Delete the file and re-try it again. try doing this
> > in
> > svrmgrl80 and put a ; at the end.
> > 
> > Good Luck,
> > Satar Naghshineh
> > 
> > 
> > 
> > --- ASHRAF SALAYMEH <[EMAIL PROTECTED]>
> > wrote:
> > > Hello list,
> > > 
> > > I'm using Personal Oracle8 Database and Win98
> > > Platform
> > > 
> > > I issued this command from Sqlplus8.0 :
> > >  
> > >CREATE TABLESPACE PAYROLL
> > >DATAFILE 'C:\PAYROL.ORA' SIZE 10M
> > > SQL> /
> > > 
> > > I am trying to create new tablespace Payroll but I
> > > have got this error!
> > > 
> > > 
> > > CREATE TABLESPACE PAYROLL
> > > *
> > > ERROR at line 1:
> > > ORA-19502: write error on file "C:\PAYROL.ORA",
> > > blockno 1 (blocksize=2048)
> > > ORA-27069: skgfdisp: attempt to do I/O beyond the
> > > range of the file
> > > OSD-04026: Invalid parameter passed.
> > > O/S-Error: (OS 64) The specified network name is
> > no
> > > longer available.
> > > 
> > > 
> > > The strange is you can see the PAYROLL.ORA under
> > C:\
> > > Directory
> > > After the error is displayed.
> > > 
> > > But when you query :
> > > 
> > > SQL> select tablespace_name
> > >  from dba_data_files;
> > >  
> > > you can find nothing, no tablespace is created at
> > > all...
> > > 
> > > I wish someone can help me to solve this problem.
> > > 
> > > Best Regards, 
> > > Ashraf Salaymeh 
> > > 
> > 
> > 
> > __
> > Terrorist Attacks on U.S. - How can you help?
> > Donate cash, emergency relief information
> >
> http://dailynews.yahoo.com/fc/US/Emergency_Information/
> > -- 
> > Please see the official ORACLE-L FAQ:
> > http://www.orafaq.com
> > -- 
> > Author: satar naghshineh
> >   INET: [EMAIL PROTECTED]
> > 
> > Fat City Network Services-- (858) 538-5051  FAX:
> > (858) 538-5051
> > San Diego, California-- Public Internet
> > access / Mailing Lists
> >
> 
> > To REMOVE yourself from this mailing list, send an
> > E-Mail message
> > to: [EMAIL PROTECTED] (note EXACT spelling of
> > 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> > ORACLE-L
> > (or the name of mailing list you want to be removed
> > from).  You may
> > also send the HELP command for other information
> > (like subscribing).
> 
> 
> __
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
> http://dailynews.yahoo.com/fc/US/Emergency_Infor

Are RAID 1+0 and 10 the same thing?

2001-09-20 Thread Shevtsov, Eduard

Hi List,

is there any difference between 1+0 and 10?

Regards,
Ed
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Shevtsov, Eduard
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Are RAID 1+0 and 10 the same thing?

2001-09-20 Thread K Gopalakrishnan

Yes. Both are same.



-Original Message-
Eduard
Sent: Thursday, September 20, 2001 4:35 AM
To: Multiple recipients of list ORACLE-L


Hi List,

is there any difference between 1+0 and 10?

Regards,
Ed
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Shevtsov, Eduard
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: K Gopalakrishnan
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: How to find the current instance name?

2001-09-20 Thread Cale, Rick T (Richard)

You probably want to do the following.  v$database.name is the database name
not the instance name. Although
most name the same but not required.

SELECT instance FROM v$thread;

Rick

-Original Message-
Sent: Thursday, September 20, 2001 6:55 AM
To: Multiple recipients of list ORACLE-L


List,

How to find the current instance name for the session?.

>From svrmgrl, i can using "SELECT name FROM v$database".

What is the equivalant from the ordinary user?

Regards
Nirmal.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Cale, Rick T (Richard)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Bulk collect error

2001-09-20 Thread Nirmal Kumar Muthu Kumaran

Can you provide simplified resource details

> -Original Message-
> From: Csillag Zsolt [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 19, 2001 11:40 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  Bulk collect error
> 
> can you provide simlified resource details.
> 
> 
> 
> Hi,
> 
> The following statment works perfectly:
> 
>   Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2,
>  (Select Count(*) from alfejezet where 
> alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2)
> 
>   From Fofejezet F ;
> 
> 
> However when I put this very same statement into a Pl/Sql procedure with 
> Bulk Collect,
> I get PLS-00103 error:
> 
>   Select F.Fofejezet_Megnevezes_Magyar,F.FOFEJEZET_AZONOSITO2,
>  (Select Count(*) from alfejezet where 
> alfejezet.ALFEJEZET_FOFEJEZET_AZONOSITO2= F.Fofejezet_Azonosito2)
> 
> Bulk Collect Into
> Vissza.FoFejezetNev,Vissza.FoFejezetKod,Vissza.Darab
> 
>   From Fofejezet F ;
> 
> 
> Can somebody help me?
> 
> Thank you
> 
> 
> Zsolt Csillag
> Hungary
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Csillag Zsolt
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Are RAID 1+0 and 10 the same thing?

2001-09-20 Thread Deepender Kr Gupta

There is no diff between RAID 10 and 1+0.
but 10 and 01 are different. out of which 10 is better than 01..

--deepender

- Original Message -
Date: Thursday, September 20, 2001 5:05 pm

> Hi List,
> 
> is there any difference between 1+0 and 10?
> 
> Regards,
> Ed
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Shevtsov, Eduard
>  INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> ---
> -
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 



---
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:[EMAIL PROTECTED] and delete this mail
from your records.




RE: How to find the current instance name?

2001-09-20 Thread Nirmal Kumar Muthu Kumaran

No. By default SID and GLOBAL_NAME is same, but *NOT* necessarily.

But in my case these two are different.

Any ideas.

Nirmal

> -Original Message-
> From: Ramasubramanian, Shankar (Cognizant)
> [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 3:10 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  RE: How to find the current instance name?
> 
> select * from global_name;
> 
> -Original Message-
> Sent: Thursday, September 20, 2001 4:25 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> List,
> 
> How to find the current instance name for the session?.
> 
> From svrmgrl, i can using "SELECT name FROM v$database".
> 
> What is the equivalant from the ordinary user?
> 
> Regards
> Nirmal.
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing). <<
> File: InterScan_Disclaimer.txt >> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Red Hat 7.0 and raw devices

2001-09-20 Thread Shevtsov, Eduard

Hi List,

Does this couple live together? Do I need to install any additional patches
from RH in order to support raw devices? Are there any limitations on the
kernel?
And I have the same questions about SuSe7.0.

Thanks in advance for any info,
Ed
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Shevtsov, Eduard
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: How to find the current instance name?

2001-09-20 Thread Ramasubramanian, Shankar (Cognizant)

select * from global_name;

-Original Message-
Sent: Thursday, September 20, 2001 4:25 PM
To: Multiple recipients of list ORACLE-L


List,

How to find the current instance name for the session?.

>From svrmgrl, i can using "SELECT name FROM v$database".

What is the equivalant from the ordinary user?

Regards
Nirmal.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


This e-mail and any files transmitted with it are for the sole use of the intended 
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or 
copying of this email or any action taken in reliance on this e-mail is strictly 
prohibited and may be unlawful.

Visit us at http://www.cognizant.com



RE: How to find the current instance name?

2001-09-20 Thread Nirmal Kumar Muthu Kumaran

i cann't access V$ views as an ordinary user, rt?

> -Original Message-
> From: Cale, Rick T (Richard) [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 3:20 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  RE: How to find the current instance name?
> 
> You probably want to do the following.  v$database.name is the database
> name
> not the instance name. Although
> most name the same but not required.
> 
> SELECT instance FROM v$thread;
> 
> Rick
> 
> -Original Message-
> Sent: Thursday, September 20, 2001 6:55 AM
> To: Multiple recipients of list ORACLE-L
> 
> 
> List,
> 
> How to find the current instance name for the session?.
> 
> From svrmgrl, i can using "SELECT name FROM v$database".
> 
> What is the equivalant from the ordinary user?
> 
> Regards
> Nirmal.
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Cale, Rick T (Richard)
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



AW: How to find the current instance name?

2001-09-20 Thread Schoen Volker

select * from v$instance;

Volker Schoen
E-Mail: mailto:[EMAIL PROTECTED]
http://www.inplan.de



-Ursprüngliche Nachricht-
Von: Nirmal Kumar Muthu Kumaran [mailto:[EMAIL PROTECTED]] 
Gesendet: Donnerstag, 20. September 2001 14:50
An: Multiple recipients of list ORACLE-L
Betreff: RE: How to find the current instance name?


No. By default SID and GLOBAL_NAME is same, but *NOT* necessarily.

But in my case these two are different.

Any ideas.

Nirmal

> -Original Message-
> From: Ramasubramanian, Shankar (Cognizant)
> [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 3:10 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  RE: How to find the current instance name?
> 
> select * from global_name;
> 
> -Original Message-
> Sent: Thursday, September 20, 2001 4:25 PM
> To: Multiple recipients of list ORACLE-L
> 
> 
> List,
> 
> How to find the current instance name for the session?.
> 
> From svrmgrl, i can using "SELECT name FROM v$database".
> 
> What is the equivalant from the ordinary user?
> 
> Regards
> Nirmal.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in 
> the message BODY, include a line containing: UNSUB ORACLE-L (or the 
> name of mailing list you want to be removed from).  You may also send 
> the HELP command for other information (like subscribing). <<
> File: InterScan_Disclaimer.txt >>
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the
message BODY, include a line containing: UNSUB ORACLE-L (or the name of
mailing list you want to be removed from).  You may also send the HELP
command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Schoen Volker
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



TNS Names connection takes lot of time - HELP

2001-09-20 Thread Dharani Ravi

Dear friends,

Oracle Version 8.1.6
OS Sun Ver 8

>From one of the client machines if I telnet and
execute sqlloader for loading data without connection
string the process takes 5 minutes to complete (25 lac
rows).  However if I use connection string (connect
scott/tiger@test), then the process takes 1 hour to
complete.  In listener.ora file the protocol is
defined as TCP.  The client is in the same network.

Why it takes one hour if I use connection string ? 
Could anyone pl help ?

Thanks in advance.

Dharan

__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Dharani Ravi
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Error in creating tablespace

2001-09-20 Thread Ron Rogers

Ashraf,
I know that it sounds far fetched but do you have contigous free space to write the 2 
K block that Oracle will try to write on the "C" drive. Do you have any virus 
protection turned on that prevents you from writing in the "root" directory? Try the 
same command in a sub directory.
Please post the findings when you get an answer.
Thanks,
Ron
ROR mª¿ªm

>>> [EMAIL PROTECTED] 09/20/01 05:10AM >>>
Hi List,

I tryed to create the tablespace from svrmgr30
as satar naghshineh told me.
But i still face the same error...
CREATE TABLESPACE PAYROLL
DATAFILE 'C:\PAYROL.ORA' SIZE 10M
SQL> /
ERROR at line 1:
> > ORA-19502: write error on file "C:\PAYROL.ORA",
> > blockno 1 (blocksize=2048)
> > ORA-27069: skgfdisp: attempt to do I/O beyond the
> > range of the file
> > OSD-04026: Invalid parameter passed.
> > O/S-Error: (OS 64) The specified network name is

Any one can tell me what I have to do?

Regards,
Ashraf
--- satar naghshineh <[EMAIL PROTECTED]> wrote:
> Salaam Ashraf Jon,
> 
> It appears that Oracle has a problem writing to the
> C
> drive to create the datafile on the very first
> block.
> This error is usually the result of a size issue
> over
> 4gb for the datafile or a file that has been
> autoextended. In your case, it appears it doesn't
> like
> the command (maybe some character is being passed
> through the command?). 
> 
> Delete the file and re-try it again. try doing this
> in
> svrmgrl80 and put a ; at the end.
> 
> Good Luck,
> Satar Naghshineh
> 
> 
> 
> --- ASHRAF SALAYMEH <[EMAIL PROTECTED]>
> wrote:
> > Hello list,
> > 
> > I'm using Personal Oracle8 Database and Win98
> > Platform
> > 
> > I issued this command from Sqlplus8.0 :
> >  
> >CREATE TABLESPACE PAYROLL
> >DATAFILE 'C:\PAYROL.ORA' SIZE 10M
> > SQL> /
> > 
> > I am trying to create new tablespace Payroll but I
> > have got this error!
> > 
> > 
> > CREATE TABLESPACE PAYROLL
> > *
> > ERROR at line 1:
> > ORA-19502: write error on file "C:\PAYROL.ORA",
> > blockno 1 (blocksize=2048)
> > ORA-27069: skgfdisp: attempt to do I/O beyond the
> > range of the file
> > OSD-04026: Invalid parameter passed.
> > O/S-Error: (OS 64) The specified network name is
> no
> > longer available.
> > 
> > 
> > The strange is you can see the PAYROLL.ORA under
> C:\
> > Directory
> > After the error is displayed.
> > 
> > But when you query :
> > 
> > SQL> select tablespace_name
> >  from dba_data_files;
> >  
> > you can find nothing, no tablespace is created at
> > all...
> > 
> > I wish someone can help me to solve this problem.
> > 
> > Best Regards, 
> > Ashraf Salaymeh 
> > 
> 
> 
> __
> Terrorist Attacks on U.S. - How can you help?
> Donate cash, emergency relief information
>
http://dailynews.yahoo.com/fc/US/Emergency_Information/ 
> -- 
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com 
> -- 
> Author: satar naghshineh
>   INET: [EMAIL PROTECTED] 
> 
> Fat City Network Services-- (858) 538-5051  FAX:
> (858) 538-5051
> San Diego, California-- Public Internet
> access / Mailing Lists
>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from).  You may
> also send the HELP command for other information
> (like subscribing).


__
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/ 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: ASHRAF SALAYMEH
  INET: [EMAIL PROTECTED] 

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other informa

Re: How to find the current instance name?

2001-09-20 Thread Gene Sais

I use the following:
select instance_name from gv$instance;

>>> [EMAIL PROTECTED] 09/20/01 06:55AM >>>
List,

How to find the current instance name for the session?.

>From svrmgrl, i can using "SELECT name FROM v$database".

What is the equivalant from the ordinary user?

Regards
Nirmal.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED] 

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Gene Sais
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Are RAID 1+0 and 10 the same thing?

2001-09-20 Thread Shevtsov, Eduard


thanks for the reply. I share your opinion but believe there is some minor
difference.
According to Gaja's article: 

It must be noted here that RAID 10 is a derivative of RAID 1+0 with similar
performance and availability characteristics, but with some implementation
differences.

I'm curious what implementation differences did Gaja mention?

Regards,
Ed

>  
>  Yes. Both are same.
>  
>  
>  
>  -Original Message-
>  Eduard
>  Sent: Thursday, September 20, 2001 4:35 AM
>  To: Multiple recipients of list ORACLE-L
>  
>  
>  Hi List,
>  
>  is there any difference between 1+0 and 10?
>  
>  Regards,
>  Ed
>  --
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Shevtsov, Eduard
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: How to find the current instance name?

2001-09-20 Thread Mark Leith

Right, or that is how it *should* be anyway :)

Take a look at the following:

SQL> create user test identified by test default tablespace users quota
unlimited on users;

User created.

SQL> grant connect to test;

Grant succeeded.

SQL> desc V$Instance
 Name  Null?Type
 -  ---
 INSTANCE_NUMBERNUMBER
 INSTANCE_NAME  VARCHAR2(16)
 HOST_NAME  VARCHAR2(64)
 VERSIONVARCHAR2(17)
 STARTUP_TIME   DATE
 STATUS VARCHAR2(7)
 PARALLEL   VARCHAR2(3)
 THREAD#NUMBER
 ARCHIVER   VARCHAR2(7)
 LOG_SWITCH_WAITVARCHAR2(11)
 LOGINS VARCHAR2(10)
 SHUTDOWN_PENDING   VARCHAR2(3)
 DATABASE_STATUSVARCHAR2(17)
 INSTANCE_ROLE  VARCHAR2(18)

SQL> select instance_name from v$instance;

INSTANCE_NAME

sales

SQL> connect test/test@sales
Connected.
SQL> select instance_name from v$instance;
select instance_name from v$instance
  *
ERROR at line 1:
ORA-00942: table or view does not exist

SQL> connect sys/sys@sales
Connected.
SQL> create view instance as select instance_name from v$instance;

View created.

SQL> create public synonym instance for sys.instance;

Synonym created.

SQL> connect test/test@sales;
Connected.
SQL> select * from instance;

INSTANCE_NAME

sales

This is just one work around that I can think of now, not sure of any others
that there may be though..

HTH

Mark

-Original Message-
Kumar Muthu Kumaran
Sent: Thursday, September 20, 2001 13:50
To: Multiple recipients of list ORACLE-L


i cann't access V$ views as an ordinary user, rt?

> -Original Message-
> From: Cale, Rick T (Richard) [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 3:20 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  RE: How to find the current instance name?
>
> You probably want to do the following.  v$database.name is the database
> name
> not the instance name. Although
> most name the same but not required.
>
> SELECT instance FROM v$thread;
>
> Rick
>
> -Original Message-
> Sent: Thursday, September 20, 2001 6:55 AM
> To: Multiple recipients of list ORACLE-L
>
>
> List,
>
> How to find the current instance name for the session?.
>
> From svrmgrl, i can using "SELECT name FROM v$database".
>
> What is the equivalant from the ordinary user?
>
> Regards
> Nirmal.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Cale, Rick T (Richard)
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

-- 
Please see the official OR

RE: How to find the current instance name?

2001-09-20 Thread Cale, Rick T (Richard)

You can if you grant select privs.

-Original Message-
Sent: Thursday, September 20, 2001 8:50 AM
To: Multiple recipients of list ORACLE-L


i cann't access V$ views as an ordinary user, rt?

> -Original Message-
> From: Cale, Rick T (Richard) [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 3:20 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  RE: How to find the current instance name?
> 
> You probably want to do the following.  v$database.name is the database
> name
> not the instance name. Although
> most name the same but not required.
> 
> SELECT instance FROM v$thread;
> 
> Rick
> 
> -Original Message-
> Sent: Thursday, September 20, 2001 6:55 AM
> To: Multiple recipients of list ORACLE-L
> 
> 
> List,
> 
> How to find the current instance name for the session?.
> 
> From svrmgrl, i can using "SELECT name FROM v$database".
> 
> What is the equivalant from the ordinary user?
> 
> Regards
> Nirmal.
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: Cale, Rick T (Richard)
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Cale, Rick T (Richard)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Oracle error after recovery

2001-09-20 Thread Smith, Ron L.

I did a complete recovery of an Oracle instance.  Everything looked great
but when I bounced the instance
and tried to bring it back up I got the following Oracle error.  I have
checked everything.  There are no other
instances running.
 
Any ideas?
 
Ron
 
ORA-00205: error in identifying control file
'/stk0103/m001/oradata/conv/control1.ctl'
ORA-09782: sfifi: another instance has the same database mounted.
SVRMGR> exit
Server Manager complete.
  oracle@conv:> oerr ORA 09782
09782, 0, "sfifi: another instance has the same database mounted."
// *Cause:  In non-shared disk systems, database cannot be mounted shared.
// *Action: Shutdown the other oracle instance and try again.  The name
//  of the other instance was dumped to the trace file. 

 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Red Hat 7.0 and raw devices

2001-09-20 Thread Vadim Gorbounov

Hi, Ed, 
RH can handle raw devices, some kernel 2.2 need raw device patch, my current
RH7.1 (2.4.2 ) and RH6.2 (2.2.19),  had everything in place. Check if the
raw utility is present.
1. Create partitions (fdisk).  Important to set partition type to something,
not recognizable by RH, I set to 90
2. Bind rawdevice like:
 /usr/bin/raw /dev/raw/raw1 /dev/hda9  
3. Set ownership and mode:

 /bin/chmod 600 /dev/raw/raw1  
 /bin/chown oracle /dev/raw/raw1   
Steps 2 and 3 shoud be done every time when machine reboots.
RH7.1  has startup script ready, I just put chmod and chown into it. Check
/etc/init.d and /etc/sysconfig directories
reboot & enjoy. 

Vadim Gorbounov
Oracle DBA 


-Original Message-
Sent: Thursday, September 20, 2001 8:40 AM
To: Multiple recipients of list ORACLE-L


Hi List,

Does this couple live together? Do I need to install any additional patches
from RH in order to support raw devices? Are there any limitations on the
kernel?
And I have the same questions about SuSe7.0.

Thanks in advance for any info,
Ed
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Shevtsov, Eduard
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Vadim Gorbounov
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



ORA-600 when querying DBA_SOURCE, ALL_SOURCE.

2001-09-20 Thread Thomas Jeff
Title: ORA-600 when querying DBA_SOURCE, ALL_SOURCE.





And yes, I've got a TAR logged with Oracle on this, but I wonder if 
any of you have seen anything like this before.   Whenever we try to query
any of the *_SOURCE views we get an ORA-600.   If you look at the
view text for DBA_SOURCE:


select u.name, o.name, 
decode(o.type#, 7, 'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE',
11, 'PACKAGE BODY', 13, 'TYPE', 14, 'TYPE BODY',
'UNDEFINED'), s.line, s.source
from sys.obj$ o, sys.source$ s, sys.user$ u
where o.obj# = s.obj#
and o.owner# = u.user#
and o.type# in (7, 8, 9, 11, 13, 14)
union
select u.name, o.name, 'JAVA SOURCE', s.joxftlno, s.joxftsrc
from sys.obj$ o, x$joxfs s, sys.user$ u
where o.obj# = s.joxftobn
and o.owner# = u.user#
and o.type# = 28;


I can query either side of the UNION separately and it works fine.
It's when the whole shembang is queried where the ORA-600 occurs.


And I've rebuilt with catalog, etc.   Doesn't help.   We are on
IBM RS600, AIX 4.3.3, 8.1.7.0, on UTF8, FWIW.  



Jeffery D Thomas
DBA
Thomson Information Services
Thomson multimedia Inc.


Email: [EMAIL PROTECTED]
DBA Quickplace: http://gkmqp.tce.com/tis_dba






Better Way Of DeFragmentation

2001-09-20 Thread Harvinder Singh

Hi,

We have to defragment one of our production databases..(objects are not
properly sized)..
Since i can't shutdown database for more than 2 hrs and database is read
only and  DML 
statements run thru batch jobs 2 days in month. We r thinking of using the
following scheme.

1) export the particular application schema name NMDD of production
database.
2) On second machine run the DDL script which creates all the objects with
proper sizing.
3) Import the data from export taken in step 1.
4) take the cold backup of 2nd machine.
5) copy the backup files from 2nd machine to production machine.

Is there any better way to get rid of fragmentation without using any third
party tool..
or Is there any flaw in above procedure.

Thanks
-Harvinder
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Harvinder Singh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Question on Gaja's Raid Document

2001-09-20 Thread Rao, Maheswara

List,

While reading Gaja's excellent document on Implementing Raid on Oracle
Systems, Gaja mentions the following in his document.

"The degree of striping in the DATA and INDX volumes should also consider
factors such as data/index partitioning, availability requirements and
support for parallel operations. Please note that 16 datafiles placed on 16
individual drives can support a 16-way parallel operation (if you have
memory and CPU to support it and your controller is not out of capacity
because all 16 drives engaged at the same time). The same cannot be
concluded with 16 datafiles placed on a 16-way RAID volume with 16 drives.
The degree of parallelism that you deploy on a 16-way volume will be
significantly less, when compared to the former configuration of 16
individual drives. This factor should be factored, when making "degree of
striping" decisions, which in turn controls the number of volumes on your
system. "

Question:

Why the degree of parallelism is less on a 16-way volume compared to 16
individual drives?

Thanks,

Rao
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rao, Maheswara
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Two Instances at one oracle Server

2001-09-20 Thread tday6

I'm sure that someone will correct me if I'm wrong but:

The database is the physical datafiles laid out on the storage devices -
hard disks;
The instance is the logical constructions (SGA) that exist, hopefully, in
RAM;
The services are the NT operating system equivalent of UNIX processes which
run the Oracle engine against the instance to access the database.

In theory, an instance could be used to access multiple databases; however,
in practice, DBAs set up one instance that will be used to access one
database (and no other database).

Also, databases could, in theory, be accessed from multiple instances;
however, in practice, DBAs set up a database to be accessed from only one
instance (and no other instance).

Microsoft NT sets up the service so that it executes against one, given
instance.  However, NT will allow multiple services.

So, you can have two databases, two instances, and two services on the same
NT server.  You'll also need two listeners and two services to run those
listeners.

You'll probably need to read the manuals for the exact details.



   

Nirmal Kumar   

Muthu KumaranTo: Multiple recipients of list ORACLE-L  



.com.qa> cc:   

Sent by: Subject: Two Instances at one oracle 
Server   
root@fatcity.  

com

   

   

09/19/2001 

03:55 AM   

Please 

respond to 

ORACLE-L   

   

   





Guru's

In my test oracle server, i created two different database with SID
'orclsvr' and 'ora817'.

Is't possisle to create two oracle database instances on the same server?.

Presently am able to create only one instance at a time either for the sid
'orclsvr' or 'ora817'.

Oracle Server 817 on Win NT4 based.

Regards,
Nirmal.
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



iMT indexing

2001-09-20 Thread Bill Tantzen

Hi!

I'm just getting started with interMedia Text, and I have a question about
indexing.  I have a table with an id column as a primary key, and a second
column which holds xml-tagged text.  I understand how to create an index
which allows me to to CONTAINS...WITHIN style searches on discrete zone
sections, but I would like to do more complicated searches, using various
combinations of tagged fields.

For instance, let's say I have a  field, and a  field.
I want to search on each of these fields, so I have statements like so:

ctx_ddl.add_zone_section ( 'book_grp', 'description', 'description' );
ctx_ddl.add_zone_section ( 'book_grp', 'title',   'title'   );

But say, for example, that I want to do a keyword search on a number of
different fields.  If I try to add something like:


ctx_ddl.add_zone_section ( 'book_grp', 'keyword', '...whatever...' );
ctx_ddl.add_zone_section ( 'book_grp', 'keyword', 'description' );
ctx_ddl.add_zone_section ( 'book_grp', 'keyword', 'title'   );

I receive the following error:

ORA-2: interMedia Text error:
DRG-12206: tag description already exists in section group BOOK_GRP
ORA-06512: at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.CTX_DDL", line 221

Now, in the documentation I have read, I have seen statements such as "Tags
are unique across the sections of a section group" which indicates that I
can't do what I would like to do, but I have also seen statements such as
"ZONE sections can enclose other sections, including themselves, and can be
enclosed by other sections" which does sound like what I would like to do...

Hence, I'm confused.  There don't seem to be any good examples around that
take you beyond the most basic.

Any suggestions on how I might be able to create an index as described
above?  Or if you can point me to a good print or web resource, that would
also be much appreciated!

Thanks in advance!
Bill

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Bill Tantzen
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Oracle error after recovery

2001-09-20 Thread Mercadante, Thomas F

Ron,

Are you running under NT?  If so, try and stop and restart the services.  I
have seen something similar.  The error really was not with the control
files, but some hidden "handle" that the services actually locked.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Thursday, September 20, 2001 10:25 AM
To: Multiple recipients of list ORACLE-L


I did a complete recovery of an Oracle instance.  Everything looked great
but when I bounced the instance
and tried to bring it back up I got the following Oracle error.  I have
checked everything.  There are no other
instances running.
 
Any ideas?
 
Ron
 
ORA-00205: error in identifying control file
'/stk0103/m001/oradata/conv/control1.ctl'
ORA-09782: sfifi: another instance has the same database mounted.
SVRMGR> exit
Server Manager complete.
  oracle@conv:> oerr ORA 09782
09782, 0, "sfifi: another instance has the same database mounted."
// *Cause:  In non-shared disk systems, database cannot be mounted shared.
// *Action: Shutdown the other oracle instance and try again.  The name
//  of the other instance was dumped to the trace file. 

 

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Oracle error after recovery

2001-09-20 Thread tday6

I assume that you've done a ps -ef | grep ora to see that there are no
oracle processes running.

Check the date/time stamp of that control file and compare it to your other
copies of the control file.  I assume also that you do have other copies of
the control file.  If the stamp is different, rename the offending control
file, copy one of the good control files to that location, and restart the
database.

If that doesn't work then I'm out of answers.



   

"Smith, Ron

L."  To: Multiple recipients of list ORACLE-L  



com> cc:   

Sent by: Subject: Oracle error after recovery  

root@fatcity.  

com

   

   

09/20/2001 

10:25 AM   

Please 

respond to 

ORACLE-L   

   

   





I did a complete recovery of an Oracle instance.  Everything looked great
but when I bounced the instance
and tried to bring it back up I got the following Oracle error.  I have
checked everything.  There are no other
instances running.

Any ideas?

Ron

ORA-00205: error in identifying control file
'/stk0103/m001/oradata/conv/control1.ctl'
ORA-09782: sfifi: another instance has the same database mounted.
SVRMGR> exit
Server Manager complete.
  oracle@conv:> oerr ORA 09782
09782, 0, "sfifi: another instance has the same database mounted."
// *Cause:  In non-shared disk systems, database cannot be mounted shared.
// *Action: Shutdown the other oracle instance and try again.  The name
//  of the other instance was dumped to the trace file.



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Question on Gaja's Raid Document

2001-09-20 Thread Guy Hammond

Because a single datafile may be striped across 16 disks. In the case of
16 datafiles on 16 disks, Oracle knows that they are separate files, but
it is down to you to set the degree of parallelism, because Oracle can't
know about your underlying physical configuration. With a stripe set, a
single data file is likely to span all disks, therefore all heads would
be used in when Oracle wants to read a lot of blocks sequentially. The
only scope for acceleration on such a configuration would be for the
RAID drivers to make the OS reads underlying the Oracle reads faster,
effectively getting filesystem blocks in parallel (rather than Oracle
blocks) and passing them on.

g



-Original Message-
Sent: Thursday, September 20, 2001 3:20 PM
To: Multiple recipients of list ORACLE-L


List,

While reading Gaja's excellent document on Implementing Raid on Oracle
Systems, Gaja mentions the following in his document.

"The degree of striping in the DATA and INDX volumes should also
consider
factors such as data/index partitioning, availability requirements and
support for parallel operations. Please note that 16 datafiles placed on
16
individual drives can support a 16-way parallel operation (if you have
memory and CPU to support it and your controller is not out of capacity
because all 16 drives engaged at the same time). The same cannot be
concluded with 16 datafiles placed on a 16-way RAID volume with 16
drives.
The degree of parallelism that you deploy on a 16-way volume will be
significantly less, when compared to the former configuration of 16
individual drives. This factor should be factored, when making "degree
of
striping" decisions, which in turn controls the number of volumes on
your
system. "

Question:

Why the degree of parallelism is less on a 16-way volume compared to 16
individual drives?

Thanks,

Rao
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rao, Maheswara
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Guy Hammond
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: ORA-600 when querying DBA_SOURCE, ALL_SOURCE.

2001-09-20 Thread JOE TESTA


oracle's 
answer will be patch to 8.1.7.2, thats what we were told just recently on a 
different ora-600 error.>>> [EMAIL PROTECTED] 09/20/01 10:45AM 
>>>
And yes, I've got a TAR logged with Oracle on 
this, but I wonder if any of you have 
seen anything like this before.   Whenever we try to query 
any of the *_SOURCE views we get an 
ORA-600.   If you look at the view text for DBA_SOURCE: 
select u.name, o.name, 
decode(o.type#, 7, 
'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE', 11, 'PACKAGE BODY', 13, 'TYPE', 14, 'TYPE BODY', 
'UNDEFINED'), s.line, 
s.source from sys.obj$ 
o, sys.source$ s, sys.user$ u where o.obj# = s.obj# and o.owner# = u.user# and o.type# in (7, 8, 9, 11, 13, 14) union select u.name, o.name, 'JAVA SOURCE', s.joxftlno, s.joxftsrc 
from sys.obj$ o, x$joxfs s, 
sys.user$ u where 
o.obj# = s.joxftobn and 
o.owner# = u.user# and 
o.type# = 28; 
I can query either side of the 
UNION separately and it works fine. It's when the whole shembang is queried where the ORA-600 
occurs. 
And I've rebuilt with catalog, 
etc.   Doesn't help.   We are on IBM RS600, AIX 4.3.3, 8.1.7.0, on UTF8, 
FWIW.  
 Jeffery D Thomas DBA Thomson Information 
Services Thomson multimedia 
Inc. 
Email: [EMAIL PROTECTED] DBA Quickplace: http://gkmqp.tce.com/tis_dba 
 


RE: Better Way Of DeFragmentation

2001-09-20 Thread Miller, Jay

I assume you intend to also:
.5) Clone database to second machine
.6) Drop all objects in schema on 2nd machine
4.5) Take cold backup of 1st machine

With those caveats, it looks fine.

Jay Miller

-Original Message-
Sent: Thursday, September 20, 2001 10:35 AM
To: Multiple recipients of list ORACLE-L


Hi,

We have to defragment one of our production databases..(objects are not
properly sized)..
Since i can't shutdown database for more than 2 hrs and database is read
only and  DML 
statements run thru batch jobs 2 days in month. We r thinking of using the
following scheme.

1) export the particular application schema name NMDD of production
database.
2) On second machine run the DDL script which creates all the objects with
proper sizing.
3) Import the data from export taken in step 1.
4) take the cold backup of 2nd machine.
5) copy the backup files from 2nd machine to production machine.

Is there any better way to get rid of fragmentation without using any third
party tool..
or Is there any flaw in above procedure.

Thanks
-Harvinder
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Harvinder Singh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Miller, Jay
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



Re: Oracle error after recovery

2001-09-20 Thread Dale Edgar

Hi Ron

> I did a complete recovery of an Oracle instance.  Everything looked great
> but when I bounced the instance
> and tried to bring it back up I got the following Oracle error.  I have
> checked everything.  There are no other
> instances running.

Do you still have a sgadef.dbf  hanging around? Try stopping the
instance and moving/renaming this file. Oracle Note 18070.1 on Metalink may
also have a bit of useful information for you on this problem.

Regards
Dale
--
DataBee - Oracle DataBase Subsets
The simple and easy way to create small versions of large Oracle databases.
http://www.databee.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Dale Edgar
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: ORA-600 when querying DBA_SOURCE, ALL_SOURCE.

2001-09-20 Thread Mark Leith
Title: ORA-600 when querying DBA_SOURCE, ALL_SOURCE.



Works 
OK with 8.1.7 on Win2K.. What do all you unix bigots think of that then 
 :P
 
Mark

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Thomas JeffSent: 
  Thursday, September 20, 2001 15:45To: Multiple recipients of list 
  ORACLE-LSubject: ORA-600 when querying DBA_SOURCE, 
  ALL_SOURCE.
  And yes, I've got a TAR logged with Oracle 
  on this, but I wonder if any of you 
  have seen anything like this before.   Whenever we try to 
  query any of the *_SOURCE views we 
  get an ORA-600.   If you look at the view text for DBA_SOURCE: 
  select u.name, o.name, 
  decode(o.type#, 7, 
  'PROCEDURE', 8, 'FUNCTION', 9, 'PACKAGE', 11, 'PACKAGE BODY', 13, 'TYPE', 14, 'TYPE 
  BODY', 'UNDEFINED'), 
  s.line, s.source from 
  sys.obj$ o, sys.source$ s, sys.user$ u where o.obj# = s.obj# and o.owner# = u.user# and o.type# in (7, 8, 9, 11, 13, 
  14) union 
  select u.name, o.name, 'JAVA 
  SOURCE', s.joxftlno, s.joxftsrc from sys.obj$ o, x$joxfs s, sys.user$ u 
  where o.obj# = 
  s.joxftobn and 
  o.owner# = u.user# and o.type# = 28; 
  I can query either side of 
  the UNION separately and it works fine. It's when the whole shembang is queried where the 
  ORA-600 occurs. 
  And I've rebuilt with 
  catalog, etc.   Doesn't help.   We are on IBM RS600, AIX 4.3.3, 8.1.7.0, on 
  UTF8, FWIW.  
   Jeffery D Thomas DBA Thomson Information 
  Services Thomson multimedia 
  Inc. 
  Email: [EMAIL PROTECTED] DBA Quickplace: http://gkmqp.tce.com/tis_dba  
  


Re: Better Way Of DeFragmentation

2001-09-20 Thread tday6

Consider going to tablespaces where all the extents are of a uniform size.
I.e., all objects in any one tablespace have the same INITIAL and NEXT
storage parameters.  These tablespaces will never need to be defragmented.

I'm not sure that your outlined procedure will work.  I think that your
cold backup from the 2nd machine will be out of synch (timestamp-wise) with
your control files.  It may be possible to do some recovery to overcome
this but I'm not familiar with that.

You could do an export from the 2nd machine, drop the tablespace(s) on the
1st machine, and do in import.

If you have data that is changing a lot over time, then you could get set
all the objects' NEXT parameter to a uniform size and the tablespaces will
coalesce naturally over time.



   

Harvinder Singh

   <[EMAIL PROTECTED]>

Sent by: cc:   

[EMAIL PROTECTED] Subject: Better Way Of 
DeFragmentation
   

   

09/20/2001 10:35 AM

Please respond to  

ORACLE-L   

   

   





Hi,

We have to defragment one of our production databases..(objects are not
properly sized)..
Since i can't shutdown database for more than 2 hrs and database is read
only and  DML
statements run thru batch jobs 2 days in month. We r thinking of using the
following scheme.

1) export the particular application schema name NMDD of production
database.
2) On second machine run the DDL script which creates all the objects with
proper sizing.
3) Import the data from export taken in step 1.
4) take the cold backup of 2nd machine.
5) copy the backup files from 2nd machine to production machine.

Is there any better way to get rid of fragmentation without using any third
party tool..
or Is there any flaw in above procedure.

Thanks
-Harvinder
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Harvinder Singh
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Two Instances at one oracle Server

2001-09-20 Thread Nirmal Kumar Muthu Kumaran

No.. Not necessary for more listeners.
One listener is enough to listen many servers. 

Nirmal.

> -Original Message-
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, September 20, 2001 5:51 PM
> To:   Multiple recipients of list ORACLE-L
> Subject:  Re: Two Instances at one oracle Server
> 
> I'm sure that someone will correct me if I'm wrong but:
> 
> The database is the physical datafiles laid out on the storage devices -
> hard disks;
> The instance is the logical constructions (SGA) that exist, hopefully, in
> RAM;
> The services are the NT operating system equivalent of UNIX processes
> which
> run the Oracle engine against the instance to access the database.
> 
> In theory, an instance could be used to access multiple databases;
> however,
> in practice, DBAs set up one instance that will be used to access one
> database (and no other database).
> 
> Also, databases could, in theory, be accessed from multiple instances;
> however, in practice, DBAs set up a database to be accessed from only one
> instance (and no other instance).
> 
> Microsoft NT sets up the service so that it executes against one, given
> instance.  However, NT will allow multiple services.
> 
> So, you can have two databases, two instances, and two services on the
> same
> NT server.  You'll also need two listeners and two services to run those
> listeners.
> 
> You'll probably need to read the manuals for the exact details.
> 
> 
> 
>  
> 
> Nirmal Kumar
> 
> Muthu KumaranTo: Multiple recipients of
> list ORACLE-L  
> 
> 
> .com.qa> cc:
> 
> Sent by: Subject: Two Instances at one
> oracle Server   
> root@fatcity.
> 
> com
> 
>  
> 
>  
> 
> 09/19/2001
> 
> 03:55 AM
> 
> Please
> 
> respond to
> 
> ORACLE-L
> 
>  
> 
>  
> 
> 
> 
> 
> 
> Guru's
> 
> In my test oracle server, i created two different database with SID
> 'orclsvr' and 'ora817'.
> 
> Is't possisle to create two oracle database instances on the same server?.
> 
> Presently am able to create only one instance at a time either for the sid
> 'orclsvr' or 'ora817'.
> 
> Oracle Server 817 on Win NT4 based.
> 
> Regards,
> Nirmal.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
> 
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> -- 
> Author: 
>   INET: [EMAIL PROTECTED]
> 
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Oracle error after recovery

2001-09-20 Thread tday6

I assumed that it was UNIX because of the direction of the "/".  NT goes "
\".  But, in NT, that would be another thing to try.


   
   
"Mercadante,   
   
Thomas F"   To: Multiple recipients of list 
ORACLE-L  
<[EMAIL PROTECTED]<[EMAIL PROTECTED]> 
   
ate.ny.us>  cc:
   
Sent by:Subject: RE: Oracle error after 
recovery  
[EMAIL PROTECTED]   
   
   
   
   
   
09/20/2001 10:55   
   
AM 
   
Please respond 
   
to ORACLE-L
   
   
   
   
   




Ron,

Are you running under NT?  If so, try and stop and restart the services.  I
have seen something similar.  The error really was not with the control
files, but some hidden "handle" that the services actually locked.

Tom Mercadante
Oracle Certified Professional


-Original Message-
Sent: Thursday, September 20, 2001 10:25 AM
To: Multiple recipients of list ORACLE-L


I did a complete recovery of an Oracle instance.  Everything looked great
but when I bounced the instance
and tried to bring it back up I got the following Oracle error.  I have
checked everything.  There are no other
instances running.

Any ideas?

Ron

ORA-00205: error in identifying control file
'/stk0103/m001/oradata/conv/control1.ctl'
ORA-09782: sfifi: another instance has the same database mounted.
SVRMGR> exit
Server Manager complete.
  oracle@conv:> oerr ORA 09782
09782, 0, "sfifi: another instance has the same database mounted."
// *Cause:  In non-shared disk systems, database cannot be mounted shared.
// *Action: Shutdown the other oracle instance and try again.  The name
//  of the other instance was dumped to the trace file.



--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Smith, Ron L.
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mercadante, Thomas F
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: How to move a database from Solaris to Linux

2001-09-20 Thread Vergara, Michael (TEM)

Reinhold,

One thing to try instead of exporting to files and then importing
from those files is to run exp/imp through a pipe.

Pick a machine, source or destination - my choice would be destination.
Export the remote database to a local pipe, and then import to the 
local database from that pipe.  There are notes and tips on MetalLink
about exporting to a pipe, and Rachel and others have published methods
to this list.

Cheers,
Mike

> -Original Message-
> Sent: Wednesday, September 19, 2001 12:47 PM
> To: Multiple recipients of list ORACLE-L
>
> Hi all,
>
> we have to move a 135 GB Oracle 8.0.6 database from Solaris 7 to Linux.
> We tried a simple restore of the database files from the last offline
> backup (tape) as we did it many times between equal systems.
>
> After creating the new control file on the target system the database
> could not be started, becaue Oracle thinks that the system data file
> isn't really a data file!
>
> This means i have to do an export/import! I assume an export time of
> round about 10 hrs. Is there any easier way?
>
> TIA
>
> Reinhold Wagner
>
>


--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Reinhold Wagner
  INET: [EMAIL PROTECTED]

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Vergara, Michael (TEM)
  INET: [EMAIL PROTECTED]

Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
San Diego, California-- Public Internet access / Mailing Lists

To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).



RE: Two Instances at one oracle Server

2001-09-20 Thread tday6

True.  However, I find it useful to have one listener per instance so that
I can restrict access to an instance without having to alter the database.


   

Nirmal Kumar   

Muthu KumaranTo: Multiple recipients of list ORACLE-L  



.com.qa> cc:   

Sent by: Subject: RE: Two Instances at one oracle  

root@fatcity.Server

com

   

   

09/20/2001 

11:30 AM   

Please 

respond to 

ORACLE-L   

   

   





No.. Not necessary for more listeners.
One listener is enough to listen many servers.

Nirmal.

> -Original Message-
> From:   [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent:   Thursday, September 20, 2001 5:51 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Two Instances at one oracle Server
>
> I'm sure that someone will correct me if I'm wrong but:
>
> The database is the physical datafiles laid out on the storage devices -
> hard disks;
> The instance is the logical constructions (SGA) that exist, hopefully, in
> RAM;
> The services are the NT operating system equivalent of UNIX processes
> which
> run the Oracle engine against the instance to access the database.
>
> In theory, an instance could be used to access multiple databases;
> however,
> in practice, DBAs set up one instance that will be used to access one
> database (and no other database).
>
> Also, databases could, in theory, be accessed from multiple instances;
> however, in practice, DBAs set up a database to be accessed from only one
> instance (and no other instance).
>
> Microsoft NT sets up the service so that it executes against one, given
> instance.  However, NT will allow multiple services.
>
> So, you can have two databases, two instances, and two services on the
> same
> NT server.  You'll also need two listeners and two services to run those
> listeners.
>
> You'll probably need to read the manuals for the exact details.
>
>
>
>
>
> Nirmal Kumar
>
> Muthu KumaranTo: Multiple recipients of
> list ORACLE-L
> 
>
> .com.qa> cc:
>
> Sent by: Subject: Two Instances at
one
> oracle Server
> root@fatcity.
>
> com
>
>
>
>
>
> 09/19/2001
>
> 03:55 AM
>
> Please
>
> respond to
>
> ORACLE-L
>
>
>
>
>
>
>
>
>
> Guru's
>
> In my test oracle server, i created two different database with SID
> 'orclsvr' and 'ora817'.
>
> Is't possisle to create two oracle database instances on the same
server?.
>
> Presently am able to create only one instance at a time either for the
sid
> 'orclsvr' or 'ora817'.
>
> Oracle Server 817 on Win NT4 based.
>
> Regards,
> Nirmal.
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Nirmal Kumar  Muthu Kumaran
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access / Mailing Lists
> 
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author:
>   INET: [EMAIL PROTECTED]
>
> Fat City Network Services-- (858) 538-5051  FAX: (858) 538-5051
> San Diego, California-- Public Internet access 

I have another suggestion to check if a database is up

2001-09-20 Thread Aponte, Tony
Title: encrption of a column in a table, for V7.3



This 
isn't a new post (I lost the original thread asking for help with checking the 
status of the database via sqlplus, but it was hung). 
 
I 
developed this script to run sqlplus within a time limit.  The sample below 
will execute a sqlplus session and will kill it if it's not done in 10 
seconds.  It returns zero of it completes OK or a one if the timer expired 
and the sqlplus session had to be killed.  
 
 
#!/bin/shset -x# Establish 
run-time environment.ORACLE_SID=spt_dev; export ORACLE_SIDORAENV_ASK=NO; 
export ORAENV_ASK. oraenv#-#AlarmHandler() { echo "Got 
SIGALARM, cmd took too long." KillSubProcs exit 
14}#KillSubProcs() { kill ${CHPROCIDS:-$!} if [ $? 
-eq 0 ] ; then    echo "Sub-processes killed." 
;    exit 1 fi}#SetTimer() {  
DEF_TOUT=${1:-10};  if [ $DEF_TOUT -ne 0 ] ; 
then sleep $DEF_TOUT && kill -14 $$ 
& CHPROCIDS="$CHPROCIDS 
$!" TIMERPROC=$!  
fi}#UnsetTimer() {  kill $TIMERPROC}## 
main()#trap AlarmHandler 14#SetTimer 15#sqlplus 
internal/