Skip to content

CTA statistics

Introduction

There is a strong need of knowing the statistics of the files and the physical space these files occupy in CTA.

In CASTOR, the statistics were computed by an Oracle database Job running everyday that computed and stored the statistics in a table UsageStats located in the same database.

In order to get rid of PL/SQL code from the CTA Catalogue, two C++ tools are used to do statistics with CTA:

  • cta-statistics-update that computes and stores the per-tape statistics in the CTA Catalogue (more details here)
  • cta-statistics-save that computes per-VirtualOrganization and total usage statistics and stores these statistics into a MySQL database for monitoring (more details here)

This documentation will explain how the two CTA statistics tools work and how to configure them.