Legacy Knowledge Base
公開されました Jun. 30, 2025

DDMTemplateVersionテーブルをクリーンアップすることは可能ですか? どうやって?

Written By

Jose L. Bango

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • DDMTemplateVersionテーブルには多くのレコードがあり、使用していません。
  • 加えて、ちょっとしたパフォーマンスの問題を引き起こすこともある。
  • あのテーブルをきれいにすることは可能ですか?

環境

  • Liferay DXP 7.4+

解像度

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

データベースを手動で変更することは推奨されず、自社のビジネスニーズとリスク要因に基づいて慎重に評価されるべきである。 そのような手術はすべて、あなた自身のチームの独断で行われる。

  • これは古い実装で、UIのどこにも使われていない。
  • カスタム・コードによるバージョン管理を使用していない場合は、添付のスクリプトを使って削除することができる。 DDMTemplateVersionから最新バージョンに対応するレコード以外のすべてのレコードを削除する。
Did this article resolve your issue ?

Legacy Knowledge Base