zoukankan      html  css  js  c++  java
  • oracle报错ORA-01653 dba_free_space中没有该表空间

    新建了一个表空间t101,在dba_tablespaces和dba_data_files都出现了,在dba_free_space却没有,这个很有可能是表空间满了。

    插入数据会报错:ORA-01653: unable to extend table SYS.TEST by 128 in tablespace TBS1
    后就在dba_free_space里查不到tbs1了

    SQL> select tablespace_name,status from dba_tablespaces;

    TABLESPACE_NAME                                              STATUS
    ------------------------------------------------------------ ------------------
    SYSTEM                                                       ONLINE
    SYSAUX                                                       ONLINE
    UNDOTBS1                                                     ONLINE
    TEMP                                                         ONLINE
    USERS                                                        ONLINE
    TEST1                                                        ONLINE
    TEST2                                                        ONLINE
    TEST3                                                        ONLINE
    TEST4                                                        ONLINE
    T101                                                         ONLINE

    10 rows selected.

    SQL> select tablespace_name,status from dba_data_files;

    TABLESPACE_NAME                                              STATUS
    ------------------------------------------------------------ ------------------
    USERS                                                        AVAILABLE
    UNDOTBS1                                                     AVAILABLE
    SYSAUX                                                       AVAILABLE
    SYSTEM                                                       AVAILABLE
    TEST1                                                        AVAILABLE
    TEST2                                                        AVAILABLE
    TEST3                                                        AVAILABLE
    TEST4                                                        AVAILABLE
    T101                                                         AVAILABLE

    9 rows selected.

    SQL> select distinct tablespace_name from dba_free_space;

    TABLESPACE_NAME
    ------------------------------------------------------------
    SYSAUX
    UNDOTBS1
    TEST3
    USERS
    SYSTEM
    TEST2
    TEST4
    TEST1

    8 rows selected

    解决方法:增加表空间大小

  • 相关阅读:
    codeforces 814B An express train to reveries
    codeforces 814A An abandoned sentiment from past
    codeforces 785D D. Anton and School
    codeforces 785C Anton and Fairy Tale
    codeforces 791C Bear and Different Names
    AOP详解
    Spring集成JUnit测试
    Spring整合web开发
    IOC装配Bean(注解方式)
    IOC装配Bean(XML方式)
  • 原文地址:https://www.cnblogs.com/xiaojianblogs/p/7560890.html
Copyright © 2011-2022 走看看