4paradigm / 4paradigm/OpenMLDB

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

Đang mở
#4,031 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
C++
Star
1.7k
Fork
331
Merge trung bình
12 ngày 12 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
sql
Lĩnh vực
databases
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.