legacy-knowledge-base
公開されました Sep. 10, 2025

Oracle Databaseをお使いの場合、再インデックス作成時にORA-01795が表示されます。

written-by

Brian Suh

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • Oracle Database ユーザーの場合、再インデックス作成時に ORA-01795 を示すエラーが表示されることがあります。
    • ORA-01795: リスト内の式の最大数は 1000 です。

Environment

  • Liferay DXP 7.3

解決策

  • value.object.finder.cache.list.threshold property (in portal-ext.properties) を調整してみてください。 このプロパティは、同じファインダパスと引数でキャッシュするオブジェクトの最大数のリスト閾値を設定するものである。 初期値は10,000に設定されています。
  • この動作を経験した一部の購読者は、 value.object.finder.cache.list.threshold の値を1000に設定することで恩恵を受けることが判明しています。
    • 例えば、portal-ext.properties の value.object.finder.cache.list.threshold=1000 を追記します。
    • このプロパティの値をOracleがサポートする最大値まで下げているため、Liferayアプリケーションに明らかなパフォーマンスの影響はないはずです。 成功したクエリーの増加により、データベースのCPU負荷がわずかに増加することがあります。


追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base