How We Level Up HealthScore for 6000+ Data Marts and Prepare the DWH for AI

Dmitry Melezhikov17 Mar 2026

Problem

At Avito the analytical layer grew to 6700 marts across Vertica and Trino. Nobody could say quickly which data is usable, which is legacy, who owns a table or whether it can be trusted. Assigning BI partners to business domains for inventory never reached full coverage, so unowned marts kept consuming cluster resources.

Example from the article: in the author's hypothetical case, an analyst needs the count of people who saw and clicked an ad. After two days of searching chats they find an undocumented table dma.ads_2025, while a colleague's more accurate table, named test1234, stays invisible.

Solution in brief

Avito computes a daily HealthScore (0 to 100) for every mart from weighted quality, governance, freshness and performance factors, and a separate Importance score from usage and criticality. After the first run it moved from one score threshold to binary assurance criteria that certify only important "Core" candidate marts. Cleanup days ("subbotniks") then raised the scores.

Questions this case answers
  • How to rank thousands of tables by quality and importance when ownership and documentation are missing for many of them
  • How to turn a composite quality score that nobody can act on into binary criteria an owner can fix one by one
  • How to find out which of thousands of warehouse marts can be trusted and which are unowned legacy?
  • How to score the health of every data mart daily from query logs, catalog, scheduler and data quality results?

Tools and methods

  • HealthScore — weighted sum of normalized factors per mart, computed daily
  • Priority metric — combines low health and high importance to pick what to fix first
  • Assurance criteria and Core certification — binary pass/fail thresholds for important marts
  • Trino, Vertica, Redash — storage of results and dashboards (Overview, Detailed, Dynamic)
Continue reading — it's free

Google or a one-time email code. No password.