Skip to main content
sjhwang
Staff
Staff
Nov 28, 2014 3:15 AM UTC

Technical Tip: How to check SQL Database rebuild progress on FortiAnalyzer

  • Apr 16, 2026 11:42 AM UTC
  • 0 replies
  • 22066 views

Description


This article explains how to monitor the progress of an SQL Database rebuild. Rebuilding the SQL database can be a lengthy process if FortiAnalzyer has a large volume of raw logs.

 

Scope

 

FortiAnalyzer.

Solution


Before FortiAnalyzer 5.2.1, the only direct method of determining the status of the rebuild was to use the following command:

 

diagnose sql status rebuild-db


The following is a sample output:

 

The log SQL database rebuild has progressed to 6%.

Starting in FortiAnalyzer 5.2.1, the rebuild status is also displayed in the FortiAnalyzer dashboard.

db_rebuild_gui.gif

 

Other indirect methods of observing the progress of the SQL database rebuild include:

 

diagnose log device<----- Shows the database value increase for devices & ADOMs.

diagnose sql show db-size <----- Will show the database size increasing.

 

  • Log View: Logs will start to appear as the database is populated.
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024