zoukankan      html  css  js  c++  java
  • 创建表空间时ora-01119和ora-27040的处理

    创建时出错:

    SQL> create tablespace gaotbs logging datafile '/u01/app/datafiles/gaodata1.dbf'                                
      2  size 50M autoextend on next 50M maxsize 2048M                                
      3  extent management local;                                
    create tablespace gaotbs logging datafile '/u01/app/datafiles/gaodata1.dbf'                                
    *                                
    ERROR at line 1:                                
    ORA-01119: error in creating database file '/u01/app/datafiles/gaodata1.dbf'                                
    ORA-27040: file create error, unable to create file                                
    Linux-x86_64 Error: 2: No such file or directory   

    这是因为,目录尚未建立:

    [root@o_target ~]# su - oracle                            
    [oracle@o_target ~]$ cd /u01/app                            
    [oracle@o_target app]$ ls                            
    arch  arch1_6_842088414.dbf  oracle  oraInventory                            
    [oracle@o_target app]$ mkdir datafiles                            
    [oracle@o_target app]$ ls                            
    arch  arch1_6_842088414.dbf  datafiles  oracle  oraInventory                            
    [oracle@o_target app]$                             

    建立好目录后,再次执行:

    SQL> create tablespace gaotbs logging datafile '/u01/app/datafiles/gaodata1.dbf'                            
      2  size 50M autoextend on next 50M maxsize 2048M                            
      3  extent management local;                            
                                
    Tablespace created.                            
                                
    SQL>                             

              

  • 相关阅读:
    Tensorflowlite移植ARM平台iMX6
    人生信条集
    浅谈聚类
    常用距离度量方法大全
    sklearn学习小结
    SpringBoot 2.x版本+MultipartFile设置指定文件上传大小
    SpringBoot无法访问webapp目录下的文件
    idea搜索不到任何插件
    Caused by: org.springframework.data.mapping.PropertyReferenceException: No property id found for type Users!
    Annotation-specified bean name 'userDaoImpl' for bean class [***] conflicts with existing, non-compatible bean definition of same name and class [***]
  • 原文地址:https://www.cnblogs.com/gaojian/p/3612845.html
Copyright © 2011-2022 走看看