You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2021/06/15 19:54:00 UTC

[jira] [Updated] (HDDS-5332) Add a new DB to be used with Namespace Summaries

     [ https://issues.apache.org/jira/browse/HDDS-5332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siyao Meng updated HDDS-5332:
-----------------------------
    Description: 
Need a new DBProvider for this.

Table schema:

{code}
objectId --> class NSSummary
{code}

New class NSSummary should at least include these fields:

1. Total number of files *directly*[1] under this directory,
2. Total size of files directly under this directory,
3. File Size Buckets of files directly under this directory.

Note: [1] *directly* means not counting files under any subdirectories, for now. We could further optimize the speed later by trading more writes (propagating the statistics any layers deep upwards) with speed.

  was:
Need a new DBProvider for this.

Table schema:

{code}
objectId --> class NSSummary
{code}

New class NSSummary:

Total number of files *directly* under this directory,
Total size of files directly under this directory,
File Size Buckets of files directly under this directory.

Note: *directly* means not counting files under any subdirectories, for now. We could further optimize the speed later by trading more writes (propagating the statistics any layers deep upwards) with speed.


> Add a new DB to be used with Namespace Summaries
> ------------------------------------------------
>
>                 Key: HDDS-5332
>                 URL: https://issues.apache.org/jira/browse/HDDS-5332
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Siyao Meng
>            Assignee: Yuan Gu
>            Priority: Major
>
> Need a new DBProvider for this.
> Table schema:
> {code}
> objectId --> class NSSummary
> {code}
> New class NSSummary should at least include these fields:
> 1. Total number of files *directly*[1] under this directory,
> 2. Total size of files directly under this directory,
> 3. File Size Buckets of files directly under this directory.
> Note: [1] *directly* means not counting files under any subdirectories, for now. We could further optimize the speed later by trading more writes (propagating the statistics any layers deep upwards) with speed.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org