Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id C71CF19604C0
 for <oracle-l@orafaq.com>; Fri,  8 Aug 2014 19:17:28 +0200 (CEST)
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTP
 for <oracle-l@orafaq.com>; Fri,  8 Aug 2014 19:17:28 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 644112C831;
 Fri,  8 Aug 2014 13:17:27 -0400 (EDT)
Authentication-Results: turing.freelists.org; dkim=fail
 (verification failed; insecure key) header.i=@gmail.com;
 dkim-adsp=none (insecure policy)
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id C5-1Blqn84HC; Fri,  8 Aug 2014 13:17:27 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 9D9D42C806;
 Fri,  8 Aug 2014 13:16:46 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Fri, 08 Aug 2014 13:16:05 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 601F72C7D5
 for <oracle-l@freelists.org>; Fri,  8 Aug 2014 13:16:05 -0400 (EDT)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id cgaALahl6lAZ for <oracle-l@freelists.org>;
 Fri,  8 Aug 2014 13:16:05 -0400 (EDT)
Received: from mail-qg0-f54.google.com (mail-qg0-f54.google.com [209.85.192.54])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 204E92C7CD
 for <oracle-l@freelists.org>; Fri,  8 Aug 2014 13:15:36 -0400 (EDT)
Received: by mail-qg0-f54.google.com with SMTP id z60so6493406qgd.27
        for <oracle-l@freelists.org>; Fri, 08 Aug 2014 10:15:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :cc:content-type;
        bh=OoR5hCWkP8ztU8ZJsVO63wI4+U9rUI3KoNiZOF1zBx4=;
        b=oYUy+Or/Gffi0jMVQ4peoYH0i0UTeFDo5BO3hXNBre8JzZ6mFjoN/b2llJo1bWcww0
         7I8024Uerr0DtRjXxcHS++CMOUc3yiD97hG2nYBg6onaDS1ZRvLckGTrp3C3DJcyTwUY
         SGvYF3FmXCNs+Q2QaxKkLg7/Ebnz91N7TPbE85ym7agasw4lFSXYEXbcB+wn13REMd0b
         35KIUim4bzUk1ThZM0UWbOsbLSAdei+YsXLRyr8KJfShtVxk6Kjusb13FzjKd8BAfRB1
         iOp4nwhCXXGq499v5s6iWWPPaM5t/7HYOziLXSqj5ikQ6UjpwTXBjU1oqh0HZcE5A6UG
         udrA==
MIME-Version: 1.0
X-Received: by 10.224.128.9 with SMTP id i9mr40646031qas.50.1407518134637;
 Fri, 08 Aug 2014 10:15:34 -0700 (PDT)
Received: by 10.140.51.2 with HTTP; Fri, 8 Aug 2014 10:15:34 -0700 (PDT)
In-Reply-To: <53E393BD.5050503@evdbt.com>
References: <CABe10sb1ZGmYBZCGSdV-JPqN3FWzVOr6NTx6W5h35xQuCEYjBQ@mail.gmail.com>
 <5241754498648019715@unknownmsgid>
 <CABe10sa9M4bARwmx3D2OGzdda8p677y-isedTWQp9gFoCFxiVw@mail.gmail.com>
 <170E6053-48E1-4A89-BF10-8971149706C4@gmail.com>
 <CA+fnDAZ70CTEyhjP6-Nx9ArbdMsn4HTMo8D-FEHJvBL==FNFjQ@mail.gmail.com>
 <53E393BD.5050503@evdbt.com>
Date: Fri, 8 Aug 2014 12:15:34 -0500
Message-ID: <CAEueRAV8nMZzTr90thj+YefOEmOn6rt3_eUyfMQanF05=RDjtQ@mail.gmail.com>
Subject: Re: Survey: How many schemas is "many"
From: Seth Miller <sethmiller.sm@gmail.com>
To: Tim Gorman <tim@evdbt.com>
Cc: Oracle-L Freelists <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary=001a11c2cafc6e26700500215ad6
X-archive-position: 55863
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: sethmiller.sm@gmail.com
Precedence: normal
Reply-To: sethmiller.sm@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:mark.bobak@proquest.com>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--001a11c2cafc6e26700500215ad6
Content-Type: text/plain; charset=UTF-8

Tim,

This sounds like the extreme opposite of the "Vision
<https://www.simple-talk.com/opinion/opinion-pieces/bad-carma/>"
application.

Seth Miller


On Thu, Aug 7, 2014 at 9:57 AM, Tim Gorman <tim@evdbt.com> wrote:

>  Back in 1996 while I was working for Oracle Consulting, contracting for
> the consolidated DW at the telecom formerly known as USWest (then Qwest,
> now CenturyLink), I received a strange email from a guy on another project
> in the company...
>
> *When you delete a user from an Oracle database, does it automatically
> reclaim the space in the data dictionary?*
>
>
> Too vague to answer right away, and after some back-n-forth got down to
> the root, which was that he wanted to know if the space in the SYS.USER$
> would be "freed" for "reclaim" by a future CREATE USER command.  OK, easy
> enough:  Oracle7, PCTUSED, PCTFREE, FREELISTS, yadda, yadda and it seemed
> his question was answered.
>
> But the weirdness and specificity of the question nagged, so I asked
> around about the guy.  Didn't have to dig far...
>
> It turned out that he was the "architect" on a custom-built internal
> application called "OSPFM" (I think it meant "outside plant and facilities
> management"), and they had designed it so that each Oracle user/account had
> it's own separate schema.
>
> There were *thousands* of Oracle user/accounts.  Each with its own
> complete and independent schema.  Thousands of schemas.
>
> I kid you not.
>
> Not going to get into any of the nonsense reasoning that resulted in this,
> but the project actually succeeded (sort of) and went "live".  Of course,
> it didn't outlast the century, and eventually someone brought order to
> chaos and redesigned it conventionally; the advent of partitioning helped.
> 3rd-hand rumors have told me that they had more than 20,000 user accounts
> and schemas before this happened.
>
> Anyway, long answer to short question, but as far back as Oracle7, there
> are no limits.
>
> Unfortunately.
>
>
>
>
>
> On 8/7/14, 8:11, Jeremy Schneider wrote:
>
> I've done quite a bit of work on databases with several hundred schemas -
> including some over 250.  As Hemant pointed out, these are highly
> consolidated databases; each schema is a a different application.  It
> actually worked very well on the systems I worked on, after we solved a few
> unique challenges.  Found the limits of resource manager and some tuning
> tools, but came up with good creative solutions to do resource management
> and tuning on dbs with a huge number of applications.
>
>  -J
>
>  --
> http://about.me/jeremy_schneider
>
>
> On Thu, Aug 7, 2014 at 6:04 AM, Karth Panchan <keyantech@gmail.com> wrote:
>
>>  I understand more schema's is difficult to maintain.
>>
>>  Are there any limitation on number of schema's in Oracle 11g RAC?
>>
>>  Supporting old application with 250 schema's per DB. I was told more
>> than 250 schema's will cause some SQLLIB error from Oracle.
>>
>>  Anyone worked/faced issues with around 250 schema's ?
>>
>>  BTW our new application modified to handle in single schema.
>>
>>  Karth
>>
>> Sent from my IPhone
>>
>> On Aug 7, 2014, at 5:04 AM, Niall Litchfield <niall.litchfield@gmail.com>
>> wrote:
>>
>>      That's a fair question, Patrice's original question arose in the
>> context of the SQL Developer diff tool for comparing schemas in 2 different
>> databases. In that context I considered an empty schema to count towards
>> the number of schemas in a db since you definitely want to know if it is
>> empty in db A but populated in db B. However it did seem likely to me that
>> most people would go with your definition - hence Q2.
>>
>>  As I'm away for a bit now, and we have 60 responses, the results so far
>> (DB account = any user, schema = user owning objects) are below. So the
>> anecdotal evidence from this list is that it is unusual, but hardly unheard
>> of, to have > 100 users owning database objects. If anyone missed Jeff's
>> later reply on the other thread the DBDiff feature of SQL*Developer isn't
>> really intended to be used at that sort of scale.
>>
>>  Total DB accounts
>>
>> 0-10          15.00%
>> 10-100       40.00%
>> 100-500     28.33%
>> 500-1000   10.00%
>> 1000-5000   1.67%
>> 5000+         5.00%
>>
>>
>> Total Schemas
>>
>> 0-10          31.67%
>> 10-100       45.00%
>> 100-500     18.33%
>> 500-1000     3.33%
>> 1000+         1.67%
>>
>>  Niall
>>  <pedantry>
>>  I'd go with schema as being a set of objects in a single namespace and
>> of course would say that that must logically include the empty set :)
>>  </pedantry>
>>
>>
>>
>> On Thu, Aug 7, 2014 at 8:58 AM, William Robertson <
>> william@williamrobertson.net> wrote:
>>
>>>  How are we defining "schema"? To me it's a collection of database
>>> objects owned by a single account (or equivalent namespace), so I was a bit
>>> puzzled by the two-part question. A user that owns no objects (such as a
>>> read-only production account) is not a schema, surely.
>>>
>>>  William Robertson
>>>
>>>
>>> On 5 Aug 2014, at 14:35, Niall Litchfield <niall.litchfield@gmail.com>
>>> wrote:
>>>
>>>   All
>>>
>>>  For those not following the dbdiff thread I've created a 2 question
>>> survey at https://www.surveymonkey.com/s/VGKZMY5 to get some statistics
>>> on how many different schemas databases in the wild actually contain. If we
>>> get more than, say, 50 responses I'll post back the answers here.
>>>
>>>  --
>>> Niall Litchfield
>>> Oracle DBA
>>> http://www.orawin.info
>>>
>>
>>
>>
>> --
>> Niall Litchfield
>> Oracle DBA
>> http://www.orawin.info
>>
>>
>
>

--001a11c2cafc6e26700500215ad6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Tim,<div><br></div><div>This sounds like the extreme oppos=
ite of the &quot;<a href=3D"https://www.simple-talk.com/opinion/opinion-pie=
ces/bad-carma/">Vision</a>&quot; application.</div><div><br></div><div>Seth=
 Miller</div>
</div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">On Thu,=
 Aug 7, 2014 at 9:57 AM, Tim Gorman <span dir=3D"ltr">&lt;<a href=3D"mailto=
:tim@evdbt.com" target=3D"_blank">tim@evdbt.com</a>&gt;</span> wrote:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px =
#ccc solid;padding-left:1ex">

 =20
   =20
 =20
  <div bgcolor=3D"#FFFFFF" text=3D"#000000">
    Back in 1996 while I was working for Oracle Consulting, contracting
    for the consolidated DW at the telecom formerly known as USWest
    (then Qwest, now CenturyLink), I received a strange email from a guy
    on another project in the company...<br>
    <br>
    <blockquote><i>When you delete a user from an Oracle database, does
        it automatically reclaim the space in the data dictionary?</i><br>
    </blockquote>
    <br>
    Too vague to answer right away, and after some back-n-forth got down
    to the root, which was that he wanted to know if the space in the
    SYS.USER$ would be &quot;freed&quot; for &quot;reclaim&quot; by a futur=
e CREATE USER
    command.=C2=A0 OK, easy enough:=C2=A0 Oracle7, PCTUSED, PCTFREE, FREELI=
STS,
    yadda, yadda and it seemed his question was answered.<br>
    <br>
    But the weirdness and specificity of the question nagged, so I asked
    around about the guy.=C2=A0 Didn&#39;t have to dig far...<br>
    <br>
    It turned out that he was the &quot;architect&quot; on a custom-built i=
nternal
    application called &quot;OSPFM&quot; (I think it meant &quot;outside pl=
ant and
    facilities management&quot;), and they had designed it so that each
    Oracle user/account had it&#39;s own separate schema.<br>
    <br>
    There were *thousands* of Oracle user/accounts.=C2=A0 Each with its own
    complete and independent schema.=C2=A0 Thousands of schemas.<br>
    <br>
    I kid you not.<br>
    <br>
    Not going to get into any of the nonsense reasoning that resulted in
    this, but the project actually succeeded (sort of) and went &quot;live&=
quot;.=C2=A0
    Of course, it didn&#39;t outlast the century, and eventually someone
    brought order to chaos and redesigned it conventionally; the advent
    of partitioning helped.=C2=A0 3rd-hand rumors have told me that they ha=
d
    more than 20,000 user accounts and schemas before this happened.<br>
    <br>
    Anyway, long answer to short question, but as far back as Oracle7,
    there are no limits.<br>
    <br>
    Unfortunately.<div><div class=3D"h5"><br>
    <br>
    <br>
    <br>
    <br>
    <div>On 8/7/14, 8:11, Jeremy Schneider
      wrote:<br>
    </div>
    <blockquote type=3D"cite">
      <div dir=3D"ltr">I&#39;ve done quite a bit of work on databases with
        several hundred schemas - including some over 250. =C2=A0As Hemant
        pointed out, these are highly consolidated databases; each
        schema is a a different application. =C2=A0It actually worked very
        well on the systems I worked on, after we solved a few unique
        challenges. =C2=A0Found the limits of resource manager and some
        tuning tools, but came up with good creative solutions to do
        resource management and tuning on dbs with a huge number of
        applications.
        <div>
          <br>
        </div>
        <div>-J</div>
      </div>
      <div class=3D"gmail_extra"><br clear=3D"all">
        <div>
          <div dir=3D"ltr">--<br>
            <a href=3D"http://about.me/jeremy_schneider" style=3D"color:rgb=
(17,85,204)" target=3D"_blank">http://about.me/jeremy_schneider</a><br>
          </div>
        </div>
        <br>
        <br>
        <div class=3D"gmail_quote">On Thu, Aug 7, 2014 at 6:04 AM, Karth
          Panchan <span dir=3D"ltr">&lt;<a href=3D"mailto:keyantech@gmail.c=
om" target=3D"_blank">keyantech@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bord=
er-left:1px #ccc solid;padding-left:1ex">
            <div dir=3D"auto">
              <div>I understand more schema&#39;s is difficult to maintain.=
=C2=A0</div>
              <div><br>
              </div>
              <div>Are there any limitation on number of schema&#39;s in
                Oracle 11g RAC?</div>
              <div><br>
              </div>
              <div>Supporting old application with 250 schema&#39;s per DB.
                I was told more than 250 schema&#39;s will cause some SQLLI=
B
                error from Oracle.=C2=A0</div>
              <div><br>
              </div>
              <div>Anyone worked/faced issues with around 250 schema&#39;s =
?</div>
              <div><br>
              </div>
              <div>BTW our new application modified to handle in single
                schema.=C2=A0</div>
              <div><br>
              </div>
              <div>Karth<br>
                <br>
                Sent from my IPhone=C2=A0</div>
              <div>
                <div>
                  <div><br>
                    On Aug 7, 2014, at 5:04 AM, Niall Litchfield &lt;<a hre=
f=3D"mailto:niall.litchfield@gmail.com" target=3D"_blank">niall.litchfield@=
gmail.com</a>&gt;
                    wrote:<br>
                    <br>
                  </div>
                  <blockquote type=3D"cite">
                    <div>
                      <div dir=3D"ltr">
                        <div>
                          <div>
                            <div>
                              <div>
                                <div>
                                  <div>That&#39;s a fair question, Patrice&=
#39;s
                                    original question arose in the
                                    context of the SQL Developer diff
                                    tool for comparing schemas in 2
                                    different databases. In that context
                                    I considered an empty schema to
                                    count towards the number of schemas
                                    in a db since you definitely want to
                                    know if it is empty in db A but
                                    populated in db B. However it did
                                    seem likely to me that most people
                                    would go with your definition -
                                    hence Q2. <br>
                                    <br>
                                  </div>
                                  As I&#39;m away for a bit now, and we hav=
e
                                  60 responses, the results so far (DB
                                  account =3D any user, schema =3D user
                                  owning objects) are below. So the
                                  anecdotal evidence from this list is
                                  that it is unusual, but hardly unheard
                                  of, to have &gt; 100 users owning
                                  database objects. If anyone missed
                                  Jeff&#39;s later reply on the other threa=
d
                                  the DBDiff feature of SQL*Developer
                                  isn&#39;t really intended to be used at
                                  that sort of scale. =C2=A0 <br>
                                  <br>
                                </div>
                                Total DB accounts<br>
                                <br>
                                0-10=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 15.00%<br>
                                10-100=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
40.00%<br>
                                100-500=C2=A0=C2=A0=C2=A0=C2=A0 28.33%<br>
                                500-1000=C2=A0=C2=A0 10.00%<br>
                                1000-5000=C2=A0=C2=A0 1.67%<br>
                                5000+=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 5.00%<br>
                                <br>
                                <br>
                                Total Schemas<br>
                                <br>
                                0-10=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 31.67%<br>
                                10-100=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
45.00%<br>
                                100-500=C2=A0=C2=A0=C2=A0=C2=A0 18.33%<br>
                                500-1000=C2=A0=C2=A0=C2=A0=C2=A0 3.33%<br>
                                1000+ =C2=A0 =C2=A0 =C2=A0 =C2=A0 1.67%<br>
                                <br>
                              </div>
                              Niall<br>
                            </div>
                            &lt;pedantry&gt;<br>
                          </div>
                          I&#39;d go with schema as being a set of objects
                          in a single namespace and of course would say
                          that that must logically include the empty set
                          :) <br>
                        </div>
                        &lt;/pedantry&gt;<br>
                        <div>
                          <div><br>
                            <div>
                              <div>
                                <div class=3D"gmail_extra"><br>
                                  <br>
                                  <div class=3D"gmail_quote">On Thu, Aug
                                    7, 2014 at 8:58 AM, William
                                    Robertson <span dir=3D"ltr">&lt;<a href=
=3D"mailto:william@williamrobertson.net" target=3D"_blank">william@williamr=
obertson.net</a>&gt;</span>
                                    wrote:<br>
                                    <blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                      <div dir=3D"auto">
                                        <div>How are we defining
                                          &quot;schema&quot;? To me it&#39;=
s a
                                          collection of database objects
                                          owned by a single account (or
                                          equivalent namespace), so I
                                          was a bit puzzled by the
                                          two-part question. A user that
                                          owns no objects (such as a
                                          read-only production account)
                                          is not a schema, surely.</div>
                                        <span><font color=3D"#888888">
                                            <div><br>
                                            </div>
                                            <div>William Robertson=C2=A0</d=
iv>
                                          </font></span>
                                        <div>
                                          <div>
                                            <div><br>
                                            </div>
                                            <div><br>
                                              On 5 Aug 2014, at 14:35,
                                              Niall Litchfield &lt;<a href=
=3D"mailto:niall.litchfield@gmail.com" target=3D"_blank">niall.litchfield@g=
mail.com</a>&gt;
                                              wrote:<br>
                                              <br>
                                            </div>
                                            <div>
                                              <div dir=3D"ltr">
                                                All
                                                <div><br>
                                                </div>
                                                <div>For those not
                                                  following the dbdiff
                                                  thread I&#39;ve created a
                                                  2 question survey at=C2=
=A0<a href=3D"https://www.surveymonkey.com/s/VGKZMY5" target=3D"_blank">htt=
ps://www.surveymonkey.com/s/VGKZMY5</a>
                                                  to get some statistics
                                                  on how many different
                                                  schemas databases in
                                                  the wild actually
                                                  contain. If we get
                                                  more than, say, 50
                                                  responses I&#39;ll post
                                                  back the answers
                                                  here.=C2=A0<br clear=3D"a=
ll">
                                                  <div><br>
                                                  </div>
                                                  -- <br>
                                                  Niall Litchfield<br>
                                                  Oracle DBA<br>
                                                  <a href=3D"http://www.ora=
win.info" target=3D"_blank">http://www.orawin.info</a>
                                                </div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <br clear=3D"all">
                                  <br>
                                  -- <br>
                                  Niall Litchfield<br>
                                  Oracle DBA<br>
                                  <a href=3D"http://www.orawin.info" target=
=3D"_blank">http://www.orawin.info</a>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>

--001a11c2cafc6e26700500215ad6--
--
http://www.freelists.org/webpage/oracle-l


