Forum Discussion

Project_Man's avatar
17 years ago

SQL Queries on vaults

Guys,

I have a query already for finding how many items where archived in a particular period of time, see below:

 

Select count(*),min(archiveddate),max(archiveddate)

from saveset where archiveddate >'2008-03-04 22:00'

and archiveddate < '2008-03-05 6:00'

 

Does anyone know a query to find the SIZE of the archived items in a particular period?

 

Currently I note the size every day of the active vault and compare between days.

  • Select count(*),min(archiveddate),max(archiveddate), sum(itemsize)

    from saveset where archiveddate >'2008-03-04 22:00'

    and archiveddate < '2008-03-05 6:00'

     

    regards

    Joe