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

ファイルシステムからDBストアに移行した文書の総数を取得するにはどうすればよいですか?

written-by

Prarthana Jadhav

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

問題

  • ファイルシステムからDBストアにデータを移行した場合、ポータルから文書数を取得する方法。

環境

  • Liferay DXP 7.0

解像度

  • DB Storeをリポジトリとして使用する場合、ファイルは2つのテーブル 'dlfileentry' と 'dlcontent' テーブルに格納されます。
    • "dlfileentry" テーブルには、ポータルで入力/アップロードされたドキュメントの情報が格納されています。 したがって、この表の行数の合計は、ポータルサイトの文書の総数を示している
    • 'dlcontent' テーブルは、入力/アップロードされた文書のデータを格納する。 ここでは、ドキュメントのサイズ/ページに応じて行数を変えています。

追加情報

  • データ移行
  • データ移行前にアップロードしたファイルをランダムにダウンロードし、そのファイルがダウンロードされれば、ファイルの移行は成功です。
did-this-article-resolve-your-issue

legacy-knowledge-base