因用户错误创建index报ORA-01129错误
数据库版本 SQL select * from v$version;BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit ProductionPL/SQL Release 11.2.0.4.0 - Production
数据库版本
SQL> select * from v$version; BANNER -------------------------------------------------------------------------------- Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production PL/SQL Release 11.2.0.4.0 - Production CORE 11.2.0.4.0 Production TNS for HPUX: Version 11.2.0.4.0 - Production NLSRTL Version 11.2.0.4.0 - Production
报ORA-01129错误
SQL> create index SERIVCE.ind_xifenfei on SERVICE.t_user(create_date); create index SERIVCE.ind_xifenfei on SERVICE.t_user(create_date) * ERROR at line 1: ORA-01129: user's default or temporary tablespace does not exist
查询表空间信息
SQL> select TABLESPACE_NAME,CONTENTS,STATUS from dba_tablespaces where TABLESPACE_NAME in ('SERVICE','TEMP'); TABLESPACE_NAME CONTENTS STATUS ------------------------------ --------- --------- SERVICE PERMANENT ONLINE TEMP TEMPORARY ONLINE
通过分析,证明相关的表空间都存在,进一步检查sql语句,发现SERVICE被错误的书写为了SERIVCE,检查SERIVCE用户.
SQL> select count(*) from dba_users where username='SERIVCE'; COUNT(*) ---------- 0
通过分析,可以知道是因为index对应的用户不存在,从而出现了ORA-01129的错误,按道理应该报ORA-01918,而不是ORA-01129.查询MOS发现Bug 17058847 Creating index in non existing schema results in ORA-1129 and not ORA-1918
- DBA_HIST_TBSPC_SPACE_USAGE查询undo表空间异常BUG
- 永久表空间出现临时段不能扩展原因探讨
- Enterprise Manager Database Express 12c 欣赏
- inactive transaction branch等待事件
- ORACLE 12C 支持在相同列创建多个索引
- 记录AUTO_SPACE_ADVISOR_JOB导致负载异常
- MOS又一次不靠谱—ORA-27163: out of memory
- oracle之datafile,tablespace
原文地址:因用户错误创建index报ORA-01129错误, 感谢原作者分享。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Solution to Windows Update prompt Error 0x8024401c error

How does Go language implement the addition, deletion, modification and query operations of the database?

Detailed tutorial on establishing a database connection using MySQLi in PHP

How does Hibernate implement polymorphic mapping?

iOS 18 adds a new 'Recovered' album function to retrieve lost or damaged photos

An in-depth analysis of how HTML reads the database

Operation content of creating balanced relationship diagram using PPT

Tips and practices for handling Chinese garbled characters in databases with PHP
