dbTalk Databases Forums  

Default tablespace for a suer

comp.databases.oracle.server comp.databases.oracle.server


Discuss Default tablespace for a suer in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Peter
 
Posts: n/a

Default Re: Default tablespace for a suer - 06-25-2003 , 04:32 PM






On Wed, 25 Jun 2003 23:05:47 +0200, Sybrand Bakker
<gooiditweg (AT) sybrandb (DOT) demon.nl> wrote:

Quote:
On Wed, 25 Jun 2003 20:52:10 GMT, Peter <peter (AT) nomorenewsspammin (DOT) ca
wrote:

I just want to stimulate discussions here. Reading the manual is nice
but not as intelluectually stimulating as discussing openly here.
Like I said before, I have read the manual several times.

Thanks

You have *LOOKED* at it, you didn't read it. And you don't
'stimulate', you just *BORE* and *ANNOY*
You don't want to pay for a course, so you decided to *misuse* this
group

Truly, I have read the manual thoroughly, not just skimmed through it.
If I need to take a course I do not have to pay for it, but there is
no need for me to take it now because I am doing it on the job.

Thanks



Reply With Quote
  #12  
Old   
Norman Dunbar
 
Posts: n/a

Default Default tablespace for a suer - 06-26-2003 , 05:23 AM






Which is why I always create users with zero quota on system.
Saves this sort of trouble and avaoids IMPort problems later in life.

Cheers,
Norm.


-----Original Message-----
From: oratune (AT) msn (DOT) com (David Fitzjarrell) [mailtoratune (AT) msn (DOT) com]
Posted At: Wednesday, June 25, 2003 5:53 PM
Posted To: server
Conversation: Default tablespace for a suer
Subject: Re: Default tablespace for a suer


That should show you that SYSTEM is the default tablespace and the
temporary tablespace ... a scary proposition.

David Fitzjarrell



Reply With Quote
  #13  
Old   
Tanel Poder
 
Posts: n/a

Default Re: Default tablespace for a suer - 06-26-2003 , 10:23 AM



I think all quotas are zero by default, if not explicitly set when creating
a user.
The real problem is, that lot of people still use connect and resource
roles, which they grant to all users.
The resource role has unlimited tablespace privilege and thats why you got
lots of crap in system ts.

Tanel.

Quote:
Which is why I always create users with zero quota on system.
Saves this sort of trouble and avaoids IMPort problems later in life.

Cheers,
Norm.


-----Original Message-----
From: oratune (AT) msn (DOT) com (David Fitzjarrell) [mailtoratune (AT) msn (DOT) com]
Posted At: Wednesday, June 25, 2003 5:53 PM
Posted To: server
Conversation: Default tablespace for a suer
Subject: Re: Default tablespace for a suer


That should show you that SYSTEM is the default tablespace and the
temporary tablespace ... a scary proposition.

David Fitzjarrell





Reply With Quote
  #14  
Old   
Norman Dunbar
 
Posts: n/a

Default Default tablespace for a suer - 06-27-2003 , 02:29 AM



Morning Tanel,

Quote:
I think all quotas are zero by default, if not explicitly set when
creating
a user.
True, but see later !

Quote:
The real problem is, that lot of people still use connect and
resource
roles, which they grant to all users.
Not me. I create a special role and grant that. Only the explicitly
required privs are granted to the role - connect, resourcse and dba are
granted to no-one !

Quote:
The resource role has unlimited tablespace privilege and thats why
you got
lots of crap in system ts.
Yes I know, but I don't grant it.

Importing does this :

1. Place objects in the tablespace they came from - if that is available
and the user has quota.

2. If (1) fails, place objects in users own default tablespace -
assuming quota is available.

3. If (2) fails (because user has NO quota in default tablespace) then
use SYSTEM.


Note, this was true at version 7 when I first did dba and backup &
recovery courses. I have come a cropper with this in the past, but I
have not tested the 'theory' on 8i and 9i databases. It is also more
likely to occur if the import is being done by a dba user.

If I get time soon, I'll have a test and see what occurs.


Cheers,
Norman.

--
-----------------------------------------------------------------
Norman Dunbar (at home on Linux)
Oracle (AT) mssqlBountifulSolutions (DOT) co.uk

(Delete a Microsoft database name to reply - clue, mssql !)
-----------------------------------------------------------------







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.