4paradigm / 4paradigm/OpenMLDB

When executing 'SELECT COUNT(*) FROM t', the OpenMLDB service exits directly due to being OOM (Out Of Memory) killed.

Aperta
#4,031 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
C++
Stelle
1.7k
Fork
331
Merge medio
12g 12h
PR unite (30g)
1

Descrizione

**Bug Description**

In a bank customer anti-fraud scenario, the primary table t contains 400 million records with a single replica, and the memory utilization is 52%. After executing SELECT COUNT(*) FROM t, the OpenMLDB service exits. Checking the logs reveals an "oom_kill" event.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue is about an OOM kill when running SELECT COUNT(*) on a large table. Start by examining the query execution path for aggregate functions, particularly COUNT(*), in the OpenMLDB codebase. Look at memory management during full table scans and check for any known issues with memory allocation or query planning for large datasets. Review the logs for the oom_kill event details to understand the memory pressure. Testing on a smaller dataset to reproduce the memory growth pattern would be a first step.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
sql
Ambito
databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.