java.io.IOException: ORA-01652: 一時セグメントを拡張できない
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
症状
Confluence cannot be started or some operations/tasks cannot be performed.
atlassian-confluence.log
に次のメッセージが表示される。
Could not create Oracle LOB; nested exception is java.io.IOException: ORA-01652: unable to extend temp segment by <number> in tablespace <tempfile>
原因
Oracle is not able to extend the size for the tablespace as it has reached the maximum defined size of the tablespace in which the Confluence database resides
ソリューション
The value of 2GB (2000M) given here is an example. The exact value will depend on how large your existing segment is, and the value in the error message. Consider increasing the segment by at least the value shown in the error message.
Increase the temp segment size by running the following SQL query. In this example, the size is increased to 2000 MB.
alter database tempfile '/path/to/tempfile.dbf' resize 2000m;
If you hit into an error which is:
ERROR at line 1:
ORA-02231: missing or invalid option to ALTER DATABASE
You can run this query instead:
alter database datafile '/path/to/tempfile.dbf' autoextend on maxsize 2000M;
For more information on this, please refer to the Oracle documentation