Avamar: 22602 - Il database ha rilevato un errore: Overflow dei campi numerici

Summary: Gli eventi non confermati mostrano "The database detected an error" quando la media del carico di Avamar Server è superiore a 999.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

La console Avamar Administrator o l'interfaccia utente Avamar (AUI) mostra questo errore evento:

The database encountered an error.

 

Eventi non confermati che mostrano il messaggio di errore.
 

Code: 22602
Error: numeric field overflow
Detail: A field with precision 5, scale 2 must round to an absolute value less than 10^3.

Cause

Questo avviso viene visualizzato perché load_avg supera 999,99, che non può essere archiviato durante l'inserimento a causa del vincolo di tipo numerico(5,2) sulla colonna load_avg.

In alcuni scenari, questo evento si verifica durante il processo di Garbage Collection (GC).

Resolution

Questo avviso può essere tranquillamente ignorato. 
  • Questo problema è stato risolto nella versione 19.12.0-186
  • È stato rilevato, tuttavia, che per gli ambienti aggiornati a questa versione, la colonna load_avg non è stato corretto ed è rimasto come "numeric(5,2)" invece di "numeric(6,2)".

Da una nuova installazione di Avamar 19.12.0-186:

admin@avamar-lab1:~/>: psql -d mcdb -p 5555 -U admin -c "\d sv_node_util"
Table "public.sv_node_util"
         Column         |            Type             | Collation | Nullable | Default
------------------------+-----------------------------+-----------+----------+---------
 date_time              | timestamp without time zone |           | not null |
 node                   | character varying           |           | not null |
 load_avg               | numeric(6,2)                |           |          |
 cpu_user_pct           | numeric(5,2)                |           |          |
 cpu_sys_pct            | numeric(5,2)                |           |          |
 net_ping               | numeric(6,2)                |           |          |
 net_in_kbytes_per_sec  | integer                     |           |          |
 net_out_kbytes_per_sec | integer                     |           |          |
 disk_reads_per_sec     | integer                     |           |          |
 disk_writes_per_sec    | integer                     |           |          |
 state                  | character varying           |           |          |
 utilization            | numeric(5,2)                |           |          |
 diskreadonly           | smallint                    |           |          |
Indexes:
    "sv_node_util_pkey" PRIMARY KEY, btree (date_time, node)
 

Da una versione di upgrade di Avamar 19.12.0-186:

admin@avamar-lab2:~/>: psql -d mcdb -p 5555 -U admin -c "\d sv_node_util"
                              Table "public.sv_node_util"
         Column         |            Type             | Collation | Nullable | Default
------------------------+-----------------------------+-----------+----------+---------
 date_time              | timestamp without time zone |           | not null |
 node                   | character varying           |           | not null |
 load_avg               | numeric(5,2)                |           |          |
 cpu_user_pct           | numeric(5,2)                |           |          |
 cpu_sys_pct            | numeric(5,2)                |           |          |
 net_ping               | numeric(6,2)                |           |          |
 net_in_kbytes_per_sec  | integer                     |           |          |
 net_out_kbytes_per_sec | integer                     |           |          |
 disk_reads_per_sec     | integer                     |           |          |
 disk_writes_per_sec    | integer                     |           |          |
 state                  | character varying           |           |          |
 utilization            | numeric(5,2)                |           |          |
 diskreadonly           | smallint                    |           |          |
Indexes:
    "sv_node_util_pkey" PRIMARY KEY, btree (date_time, node)
 

Il team di progettazione ha preparato un documento di soluzione alternativa per correggere manualmente il database.

Contattare il supporto tecnico Dell per applicare questa soluzione alternativa.

Affected Products

Avamar, Avamar Server
Article Properties
Article Number: 000175128
Article Type: Solution
Last Modified: 18 Mar 2026
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.