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 F22551960716
 for <oracle-l@orafaq.com>; Thu,  7 Jul 2016 22:18:01 +0200 (CEST)
Received: from turing.freelists.org (turing.freelists.org [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTPS
 for <oracle-l@orafaq.com>; Thu,  7 Jul 2016 22:18:01 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 494DE251AA;
 Thu,  7 Jul 2016 16:17:58 -0400 (EDT)
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 osVF9SJ7NK3k; Thu,  7 Jul 2016 16:17:58 -0400 (EDT)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6C7F124F5F;
 Thu,  7 Jul 2016 16:17:45 -0400 (EDT)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 07 Jul 2016 16:16:23 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5878C24F81
 for <oracle-l@freelists.org>; Thu,  7 Jul 2016 16:16:23 -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 rtVIZBlJ6_3N for <oracle-l@freelists.org>;
 Thu,  7 Jul 2016 16:16:23 -0400 (EDT)
Received: from smtp-sp-200-205.kinghost.net (smtp-sp-200-205.kinghost.net [177.185.200.205])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4195224F5F
 for <oracle-l@freelists.org>; Thu,  7 Jul 2016 16:16:21 -0400 (EDT)
Received: from smtp200-farm64.kinghost.net (smtp200-farm64 [127.0.0.1])
 by smtp-sp-200-205.kinghost.net (Postfix) with ESMTP id B49B0EF61E58
 for <oracle-l@freelists.org>; Thu,  7 Jul 2016 18:14:16 -0300 (BRT)
Received: from smtp-sp-201-174.kinghost.net (smtp-sp-201-174.kinghost.net [177.185.201.174])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp200-farm64.kinghost.net (Postfix) with ESMTPS id AAAB191726808
 for <oracle-l@freelists.org>; Thu,  7 Jul 2016 18:14:16 -0300 (BRT)
Received: from smtp-node-13-farm64.kinghost.net (smtp-node-13-farm64.kinghost.net [127.0.0.1])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by smtp-sp-201-174.kinghost.net (Postfix) with ESMTPS id 0B6F914BC8F
 for <oracle-l@freelists.org>; Thu,  7 Jul 2016 17:16:18 -0300 (BRT)
Received: from [192.168.1.113] (unknown [187.111.15.86])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: rodrigo@mufalani.com.br)
 by smtp-node-13-farm64.kinghost.net (Postfix) with ESMTPSA id ED074D172C58
 for <oracle-l@freelists.org>; Thu,  7 Jul 2016 17:16:17 -0300 (BRT)
From: Rodrigo Mufalani <rodrigo@mufalani.com.br>
Content-Type: multipart/alternative; boundary="Apple-Mail=_7A69D475-91BB-4554-974A-3EDC65537D88"
Subject: Behavior on 11gr2 - revoke dba grant remove quotas too
Message-Id: <C317173D-02DA-4EB4-A55B-8338C90A0EA2@mufalani.com.br>
Date: Thu, 7 Jul 2016 17:16:17 -0300
To: oracle-l <oracle-l@freelists.org>
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
X-archive-position: 65487
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: rodrigo@mufalani.com.br
Precedence: normal
Reply-To: rodrigo@mufalani.com.br
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
--Apple-Mail=_7A69D475-91BB-4554-974A-3EDC65537D88
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
 charset=utf-8

Hi all,

   I ran into a non-expected behavior today when I removed the DBA role =
from a specific user and on 11g there were a lot of ORA-01536 on =
application. So, I've granted the quotas on tablespaces and realized =
that the problem occurred with the revoke command (the user had quotas =
on those tablespaces before the grant dba). =20

   The issue only happened just on 11gR2 (I tested on 11.2.0.3, 11.2.0.4 =
and 11.2.0.1) versions.
=20
Not happened on 10g=20

SQL> select version from v$instance;

VERSION
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=93
10.2.0.5.0

SQL> create user teste_mufalani identified by teste_mufalani quota =
unlimited on users;

SQL> grant dba to teste_mufalani;

SQL> select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=
=80=99;

TABLESPACE_NAME                USERNAME                            BYTES =
 MAX_BYTES     BLOCKS MAX_BLOCKS DRO
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=
=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =
=E2=80=94
USERS                          TESTE_MUFALANI                          0 =
        -1          0         -1 NO

SQL> revoke dba from teste_mufalani;

SQL> select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=
=80=99;

TABLESPACE_NAME                USERNAME                            BYTES =
 MAX_BYTES     BLOCKS MAX_BLOCKS DRO
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=
=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =
=E2=80=94
USERS                          TESTE_MUFALANI                          0 =
        -1          0         -1 NO



On 11g=20

SQL> select version from v$instance;

VERSION
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=93
11.2.0.4.0

SQL> create user teste_mufalani identified by teste_mufalani quota =
unlimited on users;

SQL> grant dba to teste_mufalani;

SQL> select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=
=80=99;

TABLESPACE_NAME                USERNAME                            BYTES =
 MAX_BYTES     BLOCKS MAX_BLOCKS DRO
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=
=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =
=E2=80=94
USERS                          TESTE_MUFALANI                          0 =
        -1          0         -1 NO

SQL> revoke dba from teste_mufalani;

SQL> select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=
=80=99;

The tbs quotas were disappeared.

Not happened on 12c=20

SQL> select version from v$instance;

VERSION
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=93
12.1.0.2.0

SQL> create user teste_mufalani identified by teste_mufalani quota =
unlimited on users;

SQL> grant dba to teste_mufalani;

SQL> select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=
=80=99;

TABLESPACE_NAME                USERNAME                                  =
                                                   BYTES  MAX_BYTES     =
BLOCKS MAX_BLOCKS DRO
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=
=E2=80=94- =E2=80=94=E2=80=94=E2=80=94-
USERS                          TESTE_MUFALANI                            =
                                                        0         -1     =
     0         -1 NO

SQL> revoke dba from teste_mufalani;

SQL> select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=
=80=99;

TABLESPACE_NAME                USERNAME                                  =
                                                   BYTES  MAX_BYTES     =
BLOCKS MAX_BLOCKS DRO
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=
=E2=80=94- =E2=80=94=E2=80=94=E2=80=94-
USERS                          TESTE_MUFALANI                            =
                                                       0         -1      =
    0         -1 NO=20

All the best,
=C2=A0=C2=A0
 <http://www.mufalani.com.br/>Rodrigo Mufalani - Diretor T=C3=A9cnico | =
rodrigo@mufalani.com.br <mailto:rodrigo@mufalani.com.br> | +55 21 988 =
994 817
Mufalani - +55 21 3193 0326 | Rua Alm Grenfall, 405, Bl 3, Sl 310, =
Centro Empresarial
Washington Luiz, Duque de Caxias, RJ | CEP 25085-009 | =
www.mufalani.com.br <mailto:rodrigo@mufalani.com.br>
 <http://www.mufalani.com.br/> <http://www.mufalani.com.br/>
 =C2=A0=C2=A0 <http://www.mufalani.com.br/>

--Apple-Mail=_7A69D475-91BB-4554-974A-3EDC65537D88
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
 charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D"">Hi all,</div><div class=3D""><br =
class=3D""></div><div class=3D"">&nbsp; &nbsp;I ran into a non-expected =
behavior today when I removed the DBA role from a specific user and on =
11g there were a lot of ORA-01536 on application. So, I've granted the =
quotas on tablespaces and realized that the problem occurred with the =
revoke command (the user had quotas on those tablespaces before the =
grant dba). &nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D"">&nbsp; &nbsp;The issue only happened just on 11gR2 (I tested =
on 11.2.0.3, 11.2.0.4 and 11.2.0.1) versions.</div><div =
class=3D"">&nbsp;</div><div class=3D"">Not happened on =
10g&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D""><p =
class=3D"">SQL&gt; select version from v$instance;</p><p =
class=3D"">VERSION<br class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=93<br class=3D"">
10.2.0.5.0</p><p class=3D"">SQL&gt; create user teste_mufalani =
identified by teste_mufalani quota unlimited on users;</p><p =
class=3D"">SQL&gt; grant dba to teste_mufalani;</p><p class=3D"">SQL&gt; =
select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=80=
=99;</p><p =
class=3D"">TABLESPACE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; BYTES&nbsp; MAX_BYTES&nbsp;&nbsp;&nbsp;&nbsp; =
BLOCKS MAX_BLOCKS DRO<br class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=
=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =
=E2=80=94<br class=3D"">
=
USERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; =
TESTE_MUFALANI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 NO</p><p =
class=3D"">SQL&gt; revoke dba from teste_mufalani;</p><p =
class=3D"">SQL&gt; select * from dba_ts_quotas where =
username=3D=E2=80=99TESTE_MUFALANI=E2=80=99;</p><p =
class=3D"">TABLESPACE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; BYTES&nbsp; MAX_BYTES&nbsp;&nbsp;&nbsp;&nbsp; =
BLOCKS MAX_BLOCKS DRO<br class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=
=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =
=E2=80=94<br class=3D"">
=
USERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; =
TESTE_MUFALANI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 NO</p><p =
class=3D""><br class=3D""></p><p class=3D"">On 11g&nbsp;</p><p =
class=3D"">SQL&gt; select version from v$instance;</p><p =
class=3D"">VERSION<br class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=93<br class=3D"">
11.2.0.4.0</p><p class=3D"">SQL&gt; create user teste_mufalani =
identified by teste_mufalani quota unlimited on users;</p><p =
class=3D"">SQL&gt; grant dba to teste_mufalani;</p><p class=3D"">SQL&gt; =
select * from dba_ts_quotas where username=3D=E2=80=99TESTE_MUFALANI=E2=80=
=99;</p><p =
class=3D"">TABLESPACE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; BYTES&nbsp; MAX_BYTES&nbsp;&nbsp;&nbsp;&nbsp; =
BLOCKS MAX_BLOCKS DRO<br class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=
=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =
=E2=80=94<br class=3D"">
=
USERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; =
TESTE_MUFALANI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 NO</p><p =
class=3D"">SQL&gt; revoke dba from teste_mufalani;</p><p =
class=3D"">SQL&gt; select * from dba_ts_quotas where =
username=3D=E2=80=99TESTE_MUFALANI=E2=80=99;</p><p class=3D"">The tbs =
quotas&nbsp;<span class=3D"">were</span> <span =
class=3D"">disappeared.</span></p><p class=3D"">Not happened on =
12c&nbsp;</p><p class=3D"">SQL&gt; select version from v$instance;</p><p =
class=3D"">VERSION<br class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=93<br class=3D"">
12.1.0.2.0</p><p class=3D"">SQL&gt; create user teste_mufalani =
identified by teste_mufalani quota unlimited on user<code =
class=3D"">s;</code></p><p class=3D"">SQL&gt; grant dba to =
teste_mufalani;</p><p class=3D"">SQL&gt; select * from dba_ts_quotas =
where username=3D=E2=80=99TESTE_MUFALANI=E2=80=99;</p><p =
class=3D"">TABLESPACE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=
USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 BYTES&nbsp; MAX_BYTES&nbsp;&nbsp;&nbsp;&nbsp; BLOCKS MAX_BLOCKS DRO<br =
class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=
=E2=80=94- =E2=80=94=E2=80=94=E2=80=94-<br class=3D"">
=
USERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
=
TESTE_MUFALANI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 NO</p><p =
class=3D"">SQL&gt; revoke dba from teste_mufalani;</p><p =
class=3D"">SQL&gt; select * from dba_ts_quotas where =
username=3D=E2=80=99TESTE_MUFALANI=E2=80=99;</p><p =
class=3D"">TABLESPACE_NAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=
USERNAME&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 BYTES&nbsp; MAX_BYTES&nbsp;&nbsp;&nbsp;&nbsp; BLOCKS MAX_BLOCKS DRO<br =
class=3D"">
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=
=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=
=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94 =
=E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=E2=80=94- =E2=80=94=E2=80=94=
=E2=80=94- =E2=80=94=E2=80=94=E2=80=94-<br class=3D"">
=
USERS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
=
TESTE_MUFALANI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
-1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -1 NO<span =
style=3D"font-family: Helvetica, Arial, sans-serif;" =
class=3D"">&nbsp;</span></p></div><div class=3D""><div class=3D""><p =
style=3D"font-family: Helvetica, Arial, sans-serif; font-size: 12px; =
line-height: 12px; margin-bottom: 10px;" class=3D"">All the best,<br =
class=3D""><a href=3D"http://www.mufalani.com.br" =
style=3D"text-decoration: none;" class=3D"">&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span><br class=3D""></a><span =
style=3D"font-weight: bold; color: rgb(33, 33, 33); display: inline;" =
class=3D"">Rodrigo Mufalani</span><span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"display: =
inline;" class=3D"">-</span><span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"color: =
rgb(33, 33, 33); display: inline;" class=3D"">Diretor =
T=C3=A9cnico</span><span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"display: =
inline;" class=3D"">|</span><span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:rodrigo@mufalani.com.br" style=3D"color: rgb(71, 124, =
204); text-decoration: none; display: inline;" =
class=3D"">rodrigo@mufalani.com.br</a><span =
class=3D"Apple-converted-space">&nbsp;</span>|<span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"color: =
rgb(33, 33, 33); display: inline;" class=3D"">+55 21 988 994 817<br =
class=3D""></span><span style=3D"font-weight: bold; color: rgb(33, 33, =
33); display: inline;" class=3D"">Mufalani</span><span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"display: =
inline;" class=3D"">-</span>&nbsp;<span style=3D"color: rgb(33, 33, 33); =
display: inline;" class=3D"">+55 21 3193 0326</span><span =
class=3D"Apple-converted-space">&nbsp;</span>|<span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"color: =
rgb(33, 33, 33); display: inline;" class=3D"">Rua Alm Grenfall, 405, Bl =
3, Sl 310, Centro Empresarial<br class=3D"">Washington Luiz,</span><span =
class=3D"Apple-converted-space">&nbsp;</span><span style=3D"color: =
rgb(33, 33, 33); display: inline;" class=3D"">Duque de Caxias, RJ | CEP =
25085-009</span><span class=3D"Apple-converted-space">&nbsp;</span>|<span =
class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:rodrigo@mufalani.com.br" style=3D"color: rgb(71, 124, =
204); text-decoration: none; display: inline;" =
class=3D"">www.mufalani.com.br</a><a href=3D"http://www.mufalani.com.br" =
style=3D"color: rgb(71, 124, 204); text-decoration: none; display: =
inline;" class=3D""><br class=3D""></a><a =
href=3D"http://www.mufalani.com.br" style=3D"text-decoration: none;" =
class=3D""><img =
src=3D"http://mufalani.com.br/wp-content/uploads/2015/10/logo_mufalani.png=
" alt=3D"Mufalani" width=3D"180" height=3D"73" border=3D"0" =
class=3D""></a><img =
src=3D"http://mufalani.com.br/wp-content/uploads/2016/07/ACELogo.bmp" =
alt=3D"acelogo" width=3D"190" height=3D"73" class=3D""></p><p =
style=3D"font-size: 0px; line-height: 0; font-family: Helvetica, Arial, =
sans-serif;" class=3D"">&nbsp;<a href=3D"http://www.mufalani.com.br" =
style=3D"text-decoration: none;" class=3D"">&nbsp;<span =
class=3D"Apple-converted-space">&nbsp;</span></a></p>
</div>
<br class=3D""></div></body></html>=

--Apple-Mail=_7A69D475-91BB-4554-974A-3EDC65537D88--
--
http://www.freelists.org/webpage/oracle-l


