我为用户授权resource,为什么就不能为用户分配表空间配额(quotas)呢?
resource与quotas是什么关系??

解决方案 »

  1.   

    just my personal understanding :  resource means you can create objects in your default tablespace .  but if you want to create objects on other tablespace , you have to be granted
    the quotas on other tablespaces .
      

  2.   

    但如果用户有了resource,就不能给该用户对其他tablespace进行quotas了
      

  3.   

    虽然unlimited tablespace权限不能赋给role,但是当把resource赋给用户时,该用户马上就有了unlimited tablespace权限,这个权限并不属于resource而且直接赋给那个用户的.
    如果你想对有resource的用户使用quota的话,你可以收回unlimited tablespace权限.
    revoke unlimited tablespace from 用户名;
    注意,是从用户收回,而不是从resource收回