Update [Документация VAS Experts]

Update

If you have a large amount of received data, before update it is recommended to

  1. Stop receivers
    fastor-stop
  2. Wait for the completion of inserts into the database
    clickhouse-client --query="select * from system.processes sp where sp.query like 'insert into%'" | wc -l
  3. Stop DB
    fastor-db-stop

Updating is performed using the same scripts as in the Installation section.

In some systems, the database starts very slowly (from several minutes to several tens of minutes, especially in systems with long-term data storage) and when updating you may receive an error like ERROR: while updating DB scheme

Wait for the database to start. You can check the tail /var/log/clickhouse-server/clickhouse-server.log logs, or simply try to launch the clickhouse-client client - if there is a connection, then the database has started and is ready for connections.

After starting the database, run the command

fastor-db-scheme
Do not forget to execute
fastor-db-scheme

after update. This insures cases when the schema does not have time to update as a result of a long restart of the database.

If QoE Stor is installed on CentOS 7, use the Update on CentOS 7 guide.