4paradigm / 4paradigm/OpenMLDB

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

オープン
#4,031 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
C++
スター
1.7k
フォーク
331
平均マージ
12日 12時間
マージ済み PR(30日)
1

説明

**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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
sql
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。