Path: text.usenetserver.com!out01a.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!post01.iad01!not-for-mail
Date: Sun, 09 Sep 2007 10:06:31 -0700
From: DA Morgan <damorgan@psoug.org>
Organization: Puget Sound Oracle Users Group
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: comp.databases.oracle.server
Subject: Re: SYSTEM and SYSAUX Tablespace Opinions Requested
References: <ztGDi.5676$z_5.943@nlpi069.nbdc.sbc.com> <fbphmh$r1h$1@news2.zwoll1.ov.home.nl> <1189212617.179635@bubbleator.drizzle.com> <fc0g08$1n4$1@news2.zwoll1.ov.home.nl>
In-Reply-To: <fc0g08$1n4$1@news2.zwoll1.ov.home.nl>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <1189357583.610941@bubbleator.drizzle.com>
Cache-Post-Path: bubbleator.drizzle.com!unknown@216.162.218.178
X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/)
Lines: 70
X-Complaints-To: abuse@csolutions.net
Xref: usenetserver.com comp.databases.oracle.server:434659
X-Received-Date: Sun, 09 Sep 2007 13:06:24 EDT (text.usenetserver.com)

Frank van Bortel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> DA Morgan wrote:
>> Frank van Bortel wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Dereck L. Dietz wrote:
>>>> In the database I work on at work it appears that there are many user
>>>> accounts which have been created with the system privilege UNLIMITED
>>>> TABLESPACE.
>>> Those account probably have the RESOURCE role granted.
>>> In previous releases (it started with 8.0, iirc), RESOURCE had
>>> unlimited tablespace.
>>>
>>>> I brought this to the attention of my manager mentioning that no user
>>>> account should have any tablespace quota in those two tablespaces. 
>>>> He had me write it up and then forwarded it to the off-site DBA to
>>>> see what he thought of my suggestions.
>>> SYSTEM - OK, SYSAUX, why not? A TS just as any other.
>> Ouch. That hurt. SYSAUX is not just another tablespace. There are very
>> specific rules as to what can move into and out of SYSAUX.
>>
>> col occupant_name format a30
>> col schema_name format a30
>> col move_procedure format a50
>>
>> SELECT occupant_name, schema_name, move_procedure
>> FROM v_$sysaux_occupants
>> ORDER BY 1;
>>
>> It might not hurt ... but neither does locking down security and
>> putting schemas where they can do no harm.
> 
> undoubtedly Oracle had a cunning plan while making up sysaux,
> so your query will work (hopefully in real life versions, too)...
> But even then - what does it show?
> 
> The point was: should users have quota on sysaux. My
> response was why not, (in that respect) sysaux is an ordinary
> tablespace - au contraire to system, which will cause
> an instance to behave very strange indeed when filled up
> and an extend is needed.
> 
> Any thoughts on granting quota to users on SYSAUX
> - --
> Regards,
> Frank van Bortel

According to my understanding of what Oracle has documented we are
supposed to treat SYSAUX with the same "hands-off" we do SYSTEM.

Here's what the docs say:
"The SYSAUX tablespace serves as an auxiliary tablespace to the SYSTEM 
tablespace. Because it is the default tablespace for many Oracle 
Database features and products that previously required their own 
tablespaces, it reduces the number of tablespaces required by the 
database and that you must maintain. Other functionality or features 
that previously used the SYSTEM tablespace can now use the SYSAUX 
tablespace, thus reducing the load on the SYSTEM tablespace."

http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/create003.htm#BABFHHAG
-- 
Daniel A. Morgan
University of Washington
damorgan@x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
