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

SystemEventテーブルは、時間の経過とともにサイズが蓄積される可能性があります。

written-by

Dávid Hegedüs

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

問題

  • SystemEventテーブルのサイズが大きくなり、面倒だと思うことがあるかもしれません。
  • SystemEventテーブルには、Staging用アセットの削除イベントが含まれています。 これらのイベントは、エクスポート/パブリッシュすることができます。

Environment

  • Liferay DXP 7.0+

解決策

  • 解決策としては、以下のポータルプロパティを必要に応じて設定し、定期的にエントリーをクリーニングすることです:
        # Set the interval in hours on how often CheckSystemEventMessageListener
    # will run to check for and delete system events that have been reached the
    # maximum age.
    #
    # Env: LIFERAY_STAGING_PERIOD_SYSTEM_PERIOD_EVENT_PERIOD_CHECK_PERIOD_INTERVAL
    #
    staging.system.event.check.interval=24
    #
    # Set this to the maximum age (in number of hours) that a system event will
    # be kept. Note that these settings may be overridden in Portal Settings for
    # each portal server or in Site Settings for each site.
    #
    # Env: LIFERAY_STAGING_PERIOD_SYSTEM_PERIOD_EVENT_PERIOD_MAX_PERIOD_AGE
    #
    staging.system.event.max.age=0

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base