Skip to content

sams.aggregator.SoftwareAccounting

Stores aggregated informtion into the Software Accounting database.

Used by the sams-aggregator

Related to sams.backend.SoftwareAccounting

Config options

jobid_hash_size

Number of jobs in each database

Default: All in one file.

db_path

Path to where the sqlite database files are stored.

cluster

cluster (used for calculating SGAS recordid)

file_pattern

Name of the database based on the jobid_hash.

Default: sa-%(jobid_hash)d.db

sqlite_temp_store

sqlite temp_store pragma (DEFAULT, FILE or MEMORY) DEFAULT is normally FILE but is dependent on compile time options of the sqlite library.

Default: DEFAULT

Example configuration

sams.aggregator.SoftwareAccounting:
  jobid_hash_size: 0
  file_pattern: "sa-%(jobid_hash)d.db"
  db_path: /data/softwareaccounting/db
  cluster: CLUSTER.example.com
  sqlite_temp_store: DEFAULT