Analysis method and apparatus for a parallel system
First Claim
1. A method of using a test system to plan the execution of a query in a target system, comprising:
- receiving environment information that indicates how the target system is configured;
storing cost data that indicates, for each of multiple query-execution options, the cost in computing resources associated with choosing that option in the target system; and
using the environment information and the cost data in determining a query plan for the target system.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus of analyzing a target system comprises receiving information relating to an environment of the target system and storing cost data based on the environment information. The plan and its estimated performance for a query may be determined based on the cost data. The environment information may pertain to the environment of a parallel system (e.g., a multi-node parallel system, a single-node parallel system having plural central processing units or a system running plural virtual processors) that is running a parallel database. The cost data may identify a number of nodes in the target system, a number of central processing units in each node of the target system, and other types of system information. The cost data may be stored in a relational table having a plurality of rows. Each row of the relational table may correspond to a different target system. The cost data is used to emulate the environment of the target system and is usable by an optimizer module to derive a query plan for an SQL (structured query language) query having the lowest (or lower) cost.
-
Citations
30 Claims
-
1. A method of using a test system to plan the execution of a query in a target system, comprising:
-
receiving environment information that indicates how the target system is configured;
storing cost data that indicates, for each of multiple query-execution options, the cost in computing resources associated with choosing that option in the target system; and
using the environment information and the cost data in determining a query plan for the target system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A test system for use in planning the execution of a query in a target system comprising:
-
an interface to receive environment information that indicates how the target system is configured;
a storage device storing cost data that indicates, for each of multiple query-execution options, the cost in computing resources associated with choosing that option in the target system; and
an optimizer module executable to determine an access plan of a the query based on the environment information and the cost data. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30)
-
Specification