Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement Placement Rule In SQL User Journey #45384

Closed
15 of 33 tasks
nolouch opened this issue Jul 17, 2023 · 0 comments
Closed
15 of 33 tasks

Enhancement Placement Rule In SQL User Journey #45384

nolouch opened this issue Jul 17, 2023 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@nolouch
Copy link
Member

nolouch commented Jul 17, 2023

Enhancement

Placement Rule functionality, which allows users to define a set of rules to control the placement of data across the cluster. These rules can be specified using SQL statements to ensure that data is distributed in a way that meets specific requirements, such as balancing data across nodes or ensuring that replicas are located in different data centers.

While the Placement Rule functionality is powerful, users have reported several issues with its usability and some bug issues that arise due to the diverse user scenarios, which have not been addressed or recommended. we should add more test cases add do some improvements, including:

  • Improved syntax and documentation
  • Limited constraint
  • More diagnosable

Docs

  • Enhance the Document about recommended usage (On-Prem Only) *: refine placement rule in sql docs docs-cn#15190
    • Cluster Level Availability Scenario
    • Data Consolidation (Physical Isolation) Scenario
    • Limitations and Maintenance
      • limit the rules number, limit the apps in isolation

Function Enhancement

Core Function

Observability

Test Cases

  • Availability Scenario
    • Cluster Level
    • DB/Table/Partition Level
    • With Tiflash
  • Isolation Scenario
    • 1-10 Apps Physical Isolation
    • Hot/Cold Data Isolation (not recommended for user)
  • Others
    • The Boundary of Rule numbers (performance)
    • Verify SQL generates the right rule on the PD side
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant