Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. IT Analytics Help
  3. Section IV. End user
  4. Work with the SQL template designer
  5. Sample SQL Queries
  6. Example of Sums in a SQL Template

Example of Sums in a SQL Template

The following steps can be used to create the NetBackup Catalog Space by Client List. This example demonstrates how to include sums of a field.

  1. In the SQL Template Designer, check Host Groups and Client Scope.

  2. In the Query window, enter the following select statement and click Validate Query:

    SELECT client_host_name, sum(nbr_of_files),sum(nbr_of_files)*150/1024/1024
    FROM apt_v_nbu_job_detail
    WHERE client_id in (${hosts})
    AND summary_status is not null
    AND expiration_date <= sysdate
    GROUP BY client_host_name
    ORDER BY sum(nbr_of_files) DESC
    
  3. In the Formatting window, select all the fields to be displayed and display the report as a Table.

  4. Click Next, enter a report name and click Finish.The output will look something like this:

Feedback

Was this page helpful?
Previous

Example of a Sparkline Query in a SQL Template

Next

Example of Using a Special Character as a Literal in a SQL Query

Feedback

Was this page helpful?