4paradigm / 4paradigm/OpenMLDB
Delete unused index when deploy sql
- 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ả
OpenMLDB will create a default index if there is no index option in create statement. But this index may not be used in deployment SQL, which will use much memory. So we will delete the unused index when `Deploy` SQL
Hướng dẫn đóng góp
Hướng nghiên cứu
Look for the code that creates default indexes and the deployment SQL logic. Understand how indexes are tracked and which are considered 'unused' during deployment. The change likely involves modifying the index management logic in the deployment step to clean up unused indexes. Test by creating a table with a default index, deploying a SQL that doesn't use it, and verifying the index is removed without affecting performance.
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, machine-learning
- 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
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100