legacy-knowledge-base
公開されました Jun. 30, 2025

SamlSpSession テーブルに多数のレコードがある

written-by

Madeleine Clay

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

問題

  • SamlSpSessionテーブルに大量のレコードがあり、アップグレードに問題が生じています。

環境

  • Portal 6.2
  • DXP 7.2
  • すべてのDXPバージョン

解決

  • 余分なレコードは、添付のgroovyスクリプトを使って削除することができます(このスクリプトはPortal 6.2とDXP 7.2で検証していますが、他のLiferayバージョンでも動作する可能性があります)。

:変更を行う前に、必ずデータベースのバックアップを取ってください。 本番環境で変更を行う前に、必ず下位の環境で変更をテストしてください。

データベースを手動で変更することは推奨されません。ご自身のビジネス ニーズとリスク要因に基づいて慎重に評価する必要があります。このような操作は、ご自身のチームの独自の裁量で実行してください。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base