HomeMogDBMogDB StackUqbar
v2.1

Documentation:v2.1

Supported Versions:

Other Versions:

SQL Hints

Availability

This feature is available since MogDB 1.1.0.

Introduction

SQL hints can be used to override execution plans.

Benefits

Improves SQL query performance.

Description

In plan hints, you can specify a join order; join, stream, and scan operations, the number of rows in a result, and redistribution skew information to tune an execution plan, improving query performance.

Enhancements

The session-level optimizer parameters can be set by using planhint.

The specified subquery can be not expanded.

GPC can be disabled for a single query.

Constraints

None.

Dependencies

None.

Copyright © 2011-2024 www.enmotech.com All rights reserved.