All Products
Search
Document Center

ApsaraDB for OceanBase:Manage active outlines

Last Updated:Oct 22, 2024

During system operation, to fine-tune the execution plans of SQL, one can actively bind execution plans or indexes to guide the SQL engine to follow a better execution plan. Additionally, to address emergencies, some temporary optimization measures might be adopted, such as binding execution plans, binding indexes, and implementing throttling. This topic explains how to view active outlines within an OceanBase cluster, how to unbind execution plans and indexes, and how to cancel throttling.

View active outlines

  1. Log on to the ApsaraDB for OceanBase console.

  2. In the left-side navigation pane, choose Autonomy Service > Diagnostics Center.

  3. In the Instance Details section, click the name of the target instance.

    The system automatically redirects to the diagnostics center.

  4. In the left-side navigation pane, click Optimization Management.

  5. On the Active Outlines tab, you can view the outlines that are currently active.

    Note

    SQLs dynamically bound through Autonomous Service will be aggregated and displayed as one entry.

Unbind execution plans

  1. On the Active Outlines tab, view the outlines that have bound execution plans.

  2. Proceed to unbind the execution plans.

    • For individual operations: Find the target outline, and click Unbind Outline under the Actions column.image

    • For batch operations: Find the outlines marked with Aggregated, and click Unbind Outline under the Actions column.image

  3. In the pop-up confirmation box, click OK.

Unbind indexes

  1. In the Active Outlines tab, view the outlines that have bound indexes.

  2. Proceed to unbind the indexes.

    • For individual operations: Find the target outline, and click Unbind Outline under the Actions column.

    • For batch operations: Find the outlines marked with Aggregated, and click Unbind Outline under the Actions column.

  3. In the pop-up confirmation box, click OK.

Cancel throttling

  1. In the Active Outlines tab, view the outlines that have been throttled.

  2. Proceed to cancel throttling.

    • For individual operations: Find the target outline, and click Cancel Throttling under the Actions column.

    • For batch operations: Find the outlines marked with Aggregated, and click Cancel Throttling under the Actions column.

  3. In the pop-up confirmation box, click OK.