Add Partition Management as Physical DDL statements

Đang mở
#19,410 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
sql
Lĩnh vực
databases, documentation

Hướng nghiên cứu

Bắt đầu với đoạn “Physical DDL statements” trong tài liệu ddl-introduction được liên kết và so sánh cách diễn đạt của đoạn này với các phần được tham chiếu về bảng phân vùng, bao gồm Global Indexes. Cập nhật danh sách câu lệnh để bao quát các thao tác quản lý phân vùng áp dụng được, đồng thời xác minh rằng tài liệu kết quả phản ánh chính xác khi chúng sao chép dữ liệu hoặc tạo lại chỉ mục.

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

Mô tả

Change Request

Please answer the following questions before submitting your issue. Thanks!

  1. Describe what you find is inappropriate or missing in the existing docs.

in https://docs.pingcap.com/tidb/stable/ddl-introduction paragraph "Physical DDL statements" it says:
"Currently, physical DDL statements only include ADD INDEX and lossy column type changes", but Partition management statements like ALTER TABLE t REORGANIZE PARTITION ..., ALTER TABLE t PARTITION BY ... and ALTER TABLE t REMOVE PARTITIONING should also be considered as physical DDL statements, since they will both copy data to new partitions as well as recreate indexes. In addition, if using Global Indexes with partitioned tables, also DROP/TRUNCATE PARTITION will become Physical DDLs.

  1. Describe your suggestion or addition.
    "Currently, physical DDL statements include ADD INDEX, some partitioning management statements and lossy column type changes"

  2. Provide some reference materials (such as documents and websites) if you could.
    https://docs.pingcap.com/tidb/stable/ddl-introduction
    https://docs.pingcap.com/tidb/stable/partitioned-table#reorganize-partitions
    https://docs.pingcap.com/tidb/stable/partitioned-table#manage-hash-and-key-partitions
    https://docs.pingcap.com/tidb/stable/partitioned-table#convert-a-partitioned-table-to-a-non-partitioned-table
    https://docs.pingcap.com/tidb/stable/partitioned-table#partition-an-existing-table
    https://docs.pingcap.com/tidb/dev/partitioned-table#global-indexes

Ngôn ngữ chính
Python
Star
616
Fork
724
Merge trung bình
2 ngày 5 giờ
Pull request đã merge (30 ngày)
168

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pingcap/docs

Tất cả issue của pingcap/docs

Issue tương tự

Thêm issue về Python

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.