Method and device for generating database partition execution plan
An execution plan and database technology, applied in the database field, can solve problems such as low reliability, low processing efficiency, and impracticality, and achieve the effect of enhancing operation stability, avoiding chain problems, and reducing maintenance costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0036] In practical applications, when the database parameter CURSOR_SHARING is set to FORCE, since the database shares the execution plan of the partition by default, for the small partition and the initial partition, if the execution plan of the shared index scan is used, the execution cost is the same as that of using a single partition The cost of full table scan is about milliseconds. For example, for a small partition or initial partition with only a few records, the cost of using a single partition full table scan is 3, and the actual processing time is about 0.01 seconds. Using index scan The cost is 5, the actual processing time is about 0.015 seconds, and the perceived difference in execution efficiency is small; for large partit...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 