Oracle 表空间扩容

今天接到业务工程师反馈的一个 Oracle 数据库问题,对方反馈业务停摆了,客户端报错信息如下:

通过错误号 ORA-01654 可以大致判断出故障原因是表空间满了。通过命令行工具 oerr 也可查看错误号对应的错误信息:

    $ oerr ORA 01654
    01654, 00000, "unable to extend index %s.%s by %s in tablespace %s"
    // *Cause: Failed to allocate an extent of the required number of blocks for
    // an index segment in the tablespace indicated.
    // *Action: Use ALTER TABLESPACE ADD DATAFILE statement to add one or more
    // files to the tablespace indicated.
    <br>