The invention relates to the technical field of distributed storage
system monitoring, and particularly discloses a
metadata real-time monitoring method, device and equipment of a distributed storage
system. The method comprises the following steps of: dynamically loading a
file system mirror image to construct an initial memory
metadata model by deploying an auditing service which is physically isolated from a main node and a standby node; subscribing
metadata change event streams published by log nodes in real time, and incrementally updating the model after
time sequence sorting and conflict detection; key dimension fields are extracted and converted into a structured format, and after batch compression, the key dimension fields are synchronized to an index engine to construct a dual-path index; and generating cross-level
directory topology analysis, a user behavior portrait and storage block distribution early warning in response to query. According to the method, the problems of high time
delay, metadata splitting and main node performance interference caused by
offline analysis in a traditional scheme are solved, second-level updated full-quantity metadata acquisition and multi-dimensional real-time analysis are realized, and the monitoring efficiency and storage optimization capability of a massive
file system are remarkably improved.