【问题标题】:How to grant user space resource on the tablespace in oracle 12coracle 12c中如何在表空间上授予用户空间资源
【发布时间】:2017-12-05 02:57:10
【问题描述】:

我在 oracle 12c 标准版中创建了一个用户。

现在我尝试在 sql developer 中使用用户名和密码创建表,但出现以下错误。

SQL Error: ORA-01950: no privileges on tablespace 'USERS'01950. 00000 -  "no privileges on tablespace '%s'"

它也说明了原因和作用如下:

Cause:    User does not have privileges to allocate an extent in the
       specified tablespace.
Action:   Grant the user the appropriate system privileges or grant the user
           space resource on the tablespace.

谁能帮我解决这个问题。我的用户名是 c##santh

【问题讨论】:

    标签: oracle oracle-sqldeveloper oracle12c tablespace


    【解决方案1】:

    您需要将表空间的配额授予用户。表空间是一种逻辑组织可用于存储数据的磁盘空间的方法。通常我们会为普通用户提供固定数量的空间,即使在“存储便宜”的今天也是如此。例如,此命令将允许他们在 USERS 表空间上使用 128 兆字节的存储空间:

    alter user c##santh quota 128M on users;
    

    您使用 QUOTA UNLIMITED 代替,这显然对用户可以获取多少空间没有限制。无限配额适用于应用程序所有者架构。

    【讨论】:

    • 它帮助了我..谢谢
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-02-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-11-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多