`
hulu26
  • 浏览: 224984 次
  • 性别: Icon_minigender_2
  • 来自: 上海
社区版块
存档分类
最新评论

ORA-03217: 更改 TEMPORARY TABLESPACE 的选项无效

UP 
阅读更多
symptom: ALTER TABLESPACE BEGIN BACKUP fails
symptom: ORA-03217: invalid option for alter of TEMPORARY TABLESPACE
cause:   Alter database and alter tablespace will not work on locally managed tempfiles as they have no reference in the data dictionary. There is no to back up the tempfiles as they are used and destroyed every time you start up and shut down the database.

Oracle9i 以上本地管理的temp表空间是不能使用 alter database , alter tablespace 来更改的。因为他们 在数据字典中没有参考信息。 也不需要备份tempfile 文件 。

There is no need to backup the temporary locally manged tablespaces because:
1. Locally managed tempfiles are always set to NOLOGGING mode. So thus will have no undo.
2. Extents are managed by bitmap in each datafile to keep track of free or used status of blocks in that datafile.
3. The data dictionary does not manage the tablespace.
4. Rollback information is not generated because there is no update on the data dictionary
5. Media recovery does not recognize tempfiles.
分享到:
评论

相关推荐

    oracle 12 c ORA-01017: 用户名/口令无效; 登录被拒绝

    TEMPORARY TABLESPACE xxx_tmp; ``` **3. PDB 的管理** - **切换 PDB**:为了执行针对特定PDB的操作,首先需要通过`ALTER SESSION SET CONTAINER`命令切换到目标PDB。 - 示例命令: ```sql ALTER SESSION SET ...

    Oracle 如何解决 ORA-01187:无法从文件中读取

    SQL> create temporary tablespace temp1 tempfile '+DATA/ORCLCDB/ORCLPDB/temp1_01.dbf' size 10m autoextend on next 10m maxsize unlimited; 3. 切换默认临时表空间 然后,我们需要将默认临时表空间切换到 ...

    oracle 错误一览表

    - **描述**:无效的控制文件ID。 - **解决方法**:检查控制文件是否正确无误,并确保所有相关文件都可用。 #### ORA-00027: Unable to delete current undo - **描述**:无法删除当前的撤销记录。 - **解决方法**:...

    Oracle导dmp出现文件ORA-12154: TNS: 无法解析指定的连接标识符问题的解决方案

    CREATE USER testdb65 IDENTIFIED BY "testdb65" DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; GRANT CONNECT, DBA TO testdb65; ``` 然后创建新的表空间,并指定数据文件路径和大小: ``` CREATE ...

    oracle 命令(包括生成数据库实例、表空间、授权用户)

    CREATE TABLESPACE test_tablespace DATAFILE 'D:\oracle\oradata\test\test.dbf' SIZE 100M AUTOEXTEND ON NEXT 100M MAXSIZE UNLIMITED; ``` 这里创建了一个名为`test_tablespace`的表空间,并指定了其数据文件的...

    oracle常用命令

    - 命令:`CREATE TEMPORARY TABLESPACE 临时表空间名 TEMPFILE 路径 SIZE 大小;` - 功能:创建临时表空间,用于存储排序操作和其他临时数据,提高查询性能。 4. **更改存储设置** - 命令:`ALTER TABLESPACE 表...

    oracle12C从安装到程序连接的一系列问题

    CREATE USER c##user IDENTIFIED BY password DEFAULT TABLESPACE data_tablespace TEMPORARY TABLESPACE temp_tablespace; ``` 4. **授权**: - 授予必要的权限: ```sql GRANT CONNECT, RESOURCE TO c##user; ...

    Oracle数据库操作常见错误及解决方案

    3. **更改用户临时表空间**: 使用`ALTER USER username TEMPORARY TABLESPACE new_tablespace_name`命令将用户临时表空间更改为有足够空间的表空间。 4. **添加数据文件**: 如果需要,可以通过`ALTER TABLESPACE`...

    Oracle导dmp出现文件ORA-12154 TNS 无法解析指定的连接标识符解决方案

    create user testdb65 identified by "testdb65" default tablespace users temporary tablespace temp; grant connect, dba to testdb65; ``` 3. **创建表空间**:根据需要创建新的表空间。 ```sql CREATE ...

    Oracle数据库速查手册

    3. **临时表空间**:`CREATE TEMPORARY TABLESPACE`用于创建临时表空间,存储临时对象,如排序结果,以减少对永久表空间的压力。可以指定临时文件来存储这些临时数据。 表空间管理还包括调整大小、更改属性、添加或...

    oracle里的常用命令

    - `CREATE TEMPORARY TABLESPACE temp TEMPFILE 'c:\oracle\oradata\temp01.dbf' SIZE 500M EXTENT MANAGEMENT LOCAL UNIFORM SIZE 10M;` - 解析:临时表空间用于存储临时对象,如排序和聚合操作,这些对象在会话...

    Oracle常见错误代码的分析与解决

    4. 或者,可以通过`ALTER USER username TEMPORARY TABLESPACE new_temp_tablespace`命令更改特定用户的临时表空间,将其指向一个更大的表空间。 在处理这些错误时,应始终保持对数据库性能的监控,确保数据库的...

    Oracle常用命令集

    create temporary tablespace temp tempfile 'c:\oracle\oradata\temp01.dbf' size 100m autoextend on; ``` - 解释:此命令用于创建一个临时表空间。临时表空间主要用于存储临时数据,如排序操作过程中产生的...

    oracle笔记大全

    - 示例:`create user username identified by password default tablespace users temporary tablespace temp;` - **授权**: - 命令格式:`grant 权限列表 to 用户名;` - 示例:`grant connect, resource to ...

    ora分析脚本

    Usage: ora [-u user] [-i instance#] <command> [] General -u user/pass use USER/PASS to log in -i instance# append # to ORACLE_SID -sid <sid> set ORACLE_SID to sid -top # limit some large queries ...

    rman_study

    SQL> create user rman identified by rman default tablespace rmants temporary tablespace tempquota unlimited on rmants; SQL> grant recovery_catalog_owner to rman ; ``` 3. **创建恢复目录** ```bash ...

Global site tag (gtag.js) - Google Analytics