4paradigm / 4paradigm/OpenMLDB

query trace

Đang mở
#2,784 2 bình luận 0 reaction 1 người được giao Được @aceforeverd nhận Xem trên GitHub
enhancement
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ả

Expose the execute info of each step to end user.

Still not well defined of those concepts

**execute info**
- execute time
- execute result (row data)

**step**
A query is executed by one or multiple runner plan

**end user**

Trace info can be available in cli and SDK. A system variable can exists to control run query trace on/off (off default).

------

*A general feature, open as issue for further tracking.*

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

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

Hướng nghiên cứu

The issue mentions exposing execute info (time, result) per step of a query runner plan to end users via CLI and SDK, with a system variable to toggle tracing. Start by examining the query execution engine and runner plan structure in the codebase. Look for existing logging or profiling mechanisms. Determine how to instrument steps to collect trace data and expose it through the CLI interface and SDK APIs. Define what a 'step' entails and how the trace data should be formatted.

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

Đánh giá

Công nghệ
cli, sql
Lĩnh vực
cli, database, observability
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/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.