Return-Path: <ml-errors@fatcity.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h8Q0sUp06895
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 19:54:30 -0500
X-ClientAddr: 66.27.56.212
Received: from www3.fatcity.com (rrcs-west-66-27-56-212.biz.rr.com [66.27.56.212])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h8Q0sPc06886
 for <oracle-l@orafaq.net>; Thu, 25 Sep 2003 19:54:27 -0500
Received: (from root@localhost)
 by www3.fatcity.com (8.11.6/8.11.6) id h8PMFUK32309
 for oracle-l@orafaq.net; Thu, 25 Sep 2003 15:15:30 -0700
Received: by fatcity.com (05-Jun-2003/v1.0g-b73/bab) via fatcity.com id 005D115A; Thu, 25 Sep 2003 15:14:39 -0800
Message-ID: <F001.005D115A.20030925151439@fatcity.com>
Date: Thu, 25 Sep 2003 15:14:39 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Tanel Poder" <tanel.poder.003@mail.ee>
Sender: ml-errors@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Tanel Poder" <tanel.poder.003@mail.ee>
Subject: Re: creating test sessions
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 73; ListGuru (c) 1996-2003 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: multipart/alternative;	boundary="----=_NextPart_000_15D3_01C383CB.5DFE6A20"
------=_NextPart_000_15D3_01C383CB.5DFE6A20
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Sorry, it's either too late or I just don't get it, how come any =
instances of this sql script would wait for an alert?
Is there any mechanism inside the sql script?

Tanel.
  ----- Original Message -----=20
  From: Jamadagni, Rajendra=20
  To: Multiple recipients of list ORACLE-L=20
  Sent: Thursday, September 25, 2003 10:44 PM
  Subject: RE: creating test sessions


  one cool thing about this is you can have all your scripts (that would =
run in parallel) register to receive an alert. So you startup all =
sessions but they won't do anything. when you are ready to start =
processing, from another session you raise alert and commit, all =
sessions start processing within couple of seconds of each other.

  Raj
  =
-------------------------------------------------------------------------=
-------=20
  Rajendra dot Jamadagni at nospamespn dot com=20
  All Views expressed in this email are strictly personal.=20
  QOTD: Any clod can have facts, having an opinion is an art !=20
    -----Original Message-----
    From: Jared.Still@radisys.com [mailto:Jared.Still@radisys.com]
    Sent: Thursday, September 25, 2003 2:50 PM
    To: Multiple recipients of list ORACLE-L
    Subject: Re: createing test sessions



    # get number of processes to run from cmd line=20

    if [ -z $1 ]; then=20
            #default to 5=20
            MAX_CHILD_COUNT=3D5=20
    else=20
            MAX_CHILD_COUNT=3D$1=20
    fi=20

    echo Running $MAX_CHILD_COUNT children=20

    CHILD_COUNT=3D0=20
    while [ $CHILD_COUNT -lt $MAX_CHILD_COUNT ]=20
    do=20
            (( CHILD_COUNT =3D CHILD_COUNT + 1))=20
            # run your command in the background=20
            # sqlplus -s $USERNAME/$PASSWORD @thc1.sql $CHILD_COUNT =
2>/dev/null &=20
            echo $CHILD_COUNT=20
    done=20




         <A.Bahar@billing-components.com>=20
          Sent by: ml-errors@fatcity.com=20
           09/25/2003 09:54 AM=20
           Please respond to ORACLE-L=20

                =20
                  To:        Multiple recipients of list ORACLE-L =
<ORACLE-L@fatcity.com>=20
                  cc:        =20
                  Subject:        createing test sessions=20



       I want to run some sql scripts and i need to open 255 session at =
same time and=20
      these session will run somw sql scripts.

      HOW CAN I OPEN  255 session at the same time ?
      may be a tool , may be shell script.....

     Help bittee........
    --=20
    Please see the official ORACLE-L FAQ: http://www.orafaq.net
    --=20
    Author: <A.Bahar@billing-components.com
     INET: A.Bahar@billing-components.com

    Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
    San Diego, California        -- Mailing list and web hosting =
services
    =
---------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message
    to: ListGuru@fatcity.com (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).



------=_NextPart_000_15D3_01C383CB.5DFE6A20
Content-Type: text/html;
 charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#e0e0e0>
<DIV><FONT face=3DArial size=3D2>Sorry, it's either too late or I just =
don't get it,=20
how come any instances of this sql script&nbsp;would wait for an=20
alert?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Is there any mechanism inside the sql=20
script?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Tanel.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3DRajendra.Jamadagni@espn.com=20
  href=3D"mailto:Rajendra.Jamadagni@espn.com">Jamadagni, Rajendra</A> =
</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DORACLE-L@fatcity.com=20
  href=3D"mailto:ORACLE-L@fatcity.com">Multiple recipients of list =
ORACLE-L</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, September 25, =
2003 10:44=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> RE: creating test =
sessions</DIV>
  <DIV><BR></DIV>
  <DIV><SPAN class=3D432353718-25092003><FONT face=3D"Courier New" =
color=3D#0000ff=20
  size=3D2>one cool thing about this is you can have all your scripts =
(that would=20
  run in parallel) register to receive an alert. So you startup all =
sessions but=20
  they won't do anything. when you are ready to start processing, from =
another=20
  session you raise alert and commit, all sessions start processing =
within=20
  couple of seconds of each other.</FONT></SPAN></DIV>
  <DIV><SPAN class=3D432353718-25092003><FONT face=3D"Courier New" =
color=3D#0000ff=20
  size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV><SPAN class=3D432353718-25092003><FONT face=3D"Courier New" =
color=3D#0000ff=20
  size=3D2>Raj</FONT></SPAN></DIV>
  <DIV><SPAN class=3D432353718-25092003></SPAN><FONT face=3D"Courier =
New"=20
  =
size=3D2>----------------------------------------------------------------=
----------------</FONT>=20
  <BR><FONT face=3D"Courier New" size=3D2>Rajendra dot Jamadagni at =
nospamespn dot=20
  com</FONT> <BR><FONT face=3D"Courier New" size=3D2>All Views expressed =
in this=20
  email are strictly personal.</FONT> <BR><FONT face=3D"Courier New" =
size=3D2>QOTD:=20
  Any clod can have facts, having an opinion is an art !</FONT> </DIV>
  <BLOCKQUOTE>
    <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
    size=3D2>-----Original Message-----<BR><B>From:</B> =
Jared.Still@radisys.com=20
    [mailto:Jared.Still@radisys.com]<BR><B>Sent:</B> Thursday, September =
25,=20
    2003 2:50 PM<BR><B>To:</B> Multiple recipients of list=20
    ORACLE-L<BR><B>Subject:</B> Re: createing test=20
    sessions<BR><BR></FONT></DIV><BR><FONT face=3Dsans-serif size=3D2># =
get number=20
    of processes to run from cmd line</FONT> <BR><BR><FONT =
face=3Dsans-serif=20
    size=3D2>if [ -z $1 ]; then</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>&nbsp;=20
    &nbsp; &nbsp; &nbsp; #default to 5</FONT> <BR><FONT =
face=3Dsans-serif=20
    size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; MAX_CHILD_COUNT=3D5</FONT> =
<BR><FONT=20
    face=3Dsans-serif size=3D2>else</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>&nbsp;=20
    &nbsp; &nbsp; &nbsp; MAX_CHILD_COUNT=3D$1</FONT> <BR><FONT =
face=3Dsans-serif=20
    size=3D2>fi</FONT> <BR><BR><FONT face=3Dsans-serif size=3D2>echo =
Running=20
    $MAX_CHILD_COUNT children</FONT> <BR><BR><FONT face=3Dsans-serif=20
    size=3D2>CHILD_COUNT=3D0</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>while [=20
    $CHILD_COUNT -lt $MAX_CHILD_COUNT ]</FONT> <BR><FONT =
face=3Dsans-serif=20
    size=3D2>do</FONT> <BR><FONT face=3Dsans-serif size=3D2>&nbsp; =
&nbsp; &nbsp;=20
    &nbsp; (( CHILD_COUNT =3D CHILD_COUNT + 1))</FONT> <BR><FONT =
face=3Dsans-serif=20
    size=3D2>&nbsp; &nbsp; &nbsp; &nbsp; # run your command in the=20
    background</FONT> <BR><FONT face=3Dsans-serif size=3D2>&nbsp; &nbsp; =
&nbsp;=20
    &nbsp; # sqlplus -s $USERNAME/$PASSWORD @thc1.sql $CHILD_COUNT=20
    2&gt;/dev/null &amp;</FONT> <BR><FONT face=3Dsans-serif =
size=3D2>&nbsp; &nbsp;=20
    &nbsp; &nbsp; echo $CHILD_COUNT</FONT> <BR><FONT face=3Dsans-serif=20
    size=3D2>done</FONT> <BR><FONT face=3Dsans-serif =
size=3D2><BR></FONT><BR><BR><BR>
    <TABLE width=3D"100%">
      <TBODY>
      <TR vAlign=3Dtop>
        <TD>
        <TD><FONT face=3Dsans-serif=20
          size=3D1><B>&lt;A.Bahar@billing-components.com&gt;</B></FONT> =
<BR><FONT=20
          face=3Dsans-serif size=3D1>Sent by: =
ml-errors@fatcity.com</FONT>=20
          <P><FONT face=3Dsans-serif size=3D1>&nbsp;09/25/2003 09:54 =
AM</FONT>=20
          <BR><FONT face=3Dsans-serif size=3D2>&nbsp;</FONT><FONT =
face=3Dsans-serif=20
          size=3D1>Please respond to ORACLE-L</FONT> <BR></P>
        <TD><FONT face=3DArial size=3D1>&nbsp; &nbsp; &nbsp; &nbsp;=20
          </FONT><BR><FONT face=3Dsans-serif size=3D1>&nbsp; &nbsp; =
&nbsp; &nbsp;=20
          To: &nbsp; &nbsp; &nbsp; &nbsp;Multiple recipients of list =
ORACLE-L=20
          &lt;ORACLE-L@fatcity.com&gt;</FONT> <BR><FONT =
face=3Dsans-serif=20
          size=3D1>&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp;=20
          &nbsp;</FONT> <BR><FONT face=3Dsans-serif size=3D1>&nbsp; =
&nbsp; &nbsp;=20
          &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;createing test=20
          sessions</FONT></TD></TR></TBODY></TABLE><BR><BR><BR><FONT=20
    face=3D"Courier New" size=3D2>&nbsp; &nbsp;I want to run some sql =
scripts and i=20
    need to open 255 session at same time and <BR>&nbsp; these session =
will run=20
    somw sql scripts.<BR><BR>&nbsp; HOW CAN I OPEN &nbsp;255 session at =
the same=20
    time ?<BR>&nbsp; may be a tool , may be shell =
script.....<BR><BR>&nbsp;Help=20
    bittee........<BR>-- <BR>Please see the official ORACLE-L FAQ:=20
    http://www.orafaq.net<BR>-- <BR>Author:=20
    &lt;A.Bahar@billing-components.com<BR>&nbsp;INET:=20
    A.Bahar@billing-components.com<BR><BR>Fat City Network Services =
&nbsp;=20
    &nbsp;-- 858-538-5051 http://www.fatcity.com<BR>San Diego, =
California &nbsp;=20
    &nbsp; &nbsp; &nbsp;-- Mailing list and web hosting=20
    =
services<BR>-------------------------------------------------------------=
--------<BR>To=20
    REMOVE yourself from this mailing list, send an E-Mail =
message<BR>to:=20
    ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and =
in<BR>the=20
    message BODY, include a line containing: UNSUB ORACLE-L<BR>(or the =
name of=20
    mailing list you want to be removed from). &nbsp;You may<BR>also =
send the=20
    HELP command for other information (like=20
  =
subscribing).<BR></FONT><BR><BR></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_15D3_01C383CB.5DFE6A20--


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Tanel Poder
  INET: tanel.poder.003@mail.ee

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (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).

