cancel
Showing results for 
Search instead for 
Did you mean: 

EV archive question

GTK
Level 6

Hi

 

what is the quickest way to tell how much data was archived per EV server over night? is it via SQL? if so can someone provide the SQL query?

 

Thanks

Greg

1 ACCEPTED SOLUTION

Accepted Solutions

AKL
Level 6
Certified

select "Archived Date" = left (convert (varchar, archiveddate,20),14),

"Hourly Rate" = count (*),

"MB (original)" = sum (originalsize)/1024/1024,

"MB (compressed)" = sum (itemsize)/1024

from saveset,savesetproperty

where saveset.savesetidentity = savesetproperty.savesetidentity

and archiveddate > dateadd("hh", -24, getdate ())

group by

left (convert (varchar, archiveddate,20),14)

order by

"Archived Date"

desc

View solution in original post

4 REPLIES 4

LCT
Level 6
Accredited Certified

You can install EV Reporting and it will tell you what you need. please refer to the Install and Admin Guide for install and configuring EV reporting.

RahulG
Level 6
Employee

AKL
Level 6
Certified

select "Archived Date" = left (convert (varchar, archiveddate,20),14),

"Hourly Rate" = count (*),

"MB (original)" = sum (originalsize)/1024/1024,

"MB (compressed)" = sum (itemsize)/1024

from saveset,savesetproperty

where saveset.savesetidentity = savesetproperty.savesetidentity

and archiveddate > dateadd("hh", -24, getdate ())

group by

left (convert (varchar, archiveddate,20),14)

order by

"Archived Date"

desc

GTK
Level 6

thanks guys for all your help, i have got it sorted now