---
title: "Discussion on \"Two SQL primitives for when alert clustering gets it wrong\" | Hashnode"
description: "Discussion on \"Two SQL primitives for when alert clustering gets it wrong\". Why every AIOps clustering system needs a manual override, the two Postgres functions that implement split and merge with a full audit trail, and the race condition we found when shipping it."
url: "https://hashnode.com/posts/two-sql-primitives-for-when-alert-clustering-gets-it-wrong/69fed25c911eb1590173fb2a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Two SQL primitives for when alert clustering gets it wrong](https://culpritai.hashnode.dev/two-sql-primitives-for-when-alert-clustering-gets-it-wrong?utm_source=hashnode&utm_medium=feed)

Why every AIOps clustering system needs a manual override, the two Postgres functions that implement split and merge with a full audit trail, and the race condition we found when shipping it.

May 9 · 14 min read · culpritai.hashnode.dev  
Read the article

-   [#alert-correlation](https://hashnode.com/tag/alert-correlation)
-   [#aiops](https://hashnode.com/tag/aiops)
-   [#incident-management](https://hashnode.com/tag/incident-management)
-   [#postgres](https://hashnode.com/tag/postgres)

## Written by

[Stella Lin](https://hashnode.com/@stellalin)

@stellalin

  
[View profile](https://hashnode.com/@stellalin)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
