SYSTEM AND METHOD FOR PERFORMING A SORT OPERATION IN A RELATIONAL DATABASE MANAGER TO PASS RESULTS DIRECTLY TO A USER WITHOUT WRITING TO DISK

Patent №

US 5,089,985

Granted

1992-02-18

Filed 1988

Owner

INTERNATIONAL BUSINESS MACHINES CORPORATION

AI components

3

nlp · kr · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

07179181

In a relational database system, a method is utilized that increases the performance of the sort operation. An optimizer routine in the relational database manager analyzes a user's complete query to determine whether the final sorted results can be used directly by the user as sorting occurs. If the sort results can be used, the sort results are sent to Relational Data Services in the relational database manager for output to the user. Depending upon the determination made by the optimizer routine, one of two output modes for the final sorted sequence string of data are selected by the relational database manager. In disk output mode, the last pass of the final sorted sequence spring is written to disk. In fast direct output mode, the records of data are sent to the user as the final sorted sequence string is being merged during the last pass. The system and method of this invention reduces the total sort time by eliminating the overhead of writing the disk during the fast direct output mode. Also, the response time, or availability for each record is reduced since each record is retrieved or sent to the Relational Data Services immediately after it has been sorted into the final sort order instead of completing the entire sort first, and then writing to disk.

Natural languageKnowledge representationAI hardwareG06F 16/2453G06F 16/24556G06F 16/2457Y10S 707/99932Y10S 707/99937

AI classification

Natural language0.97
AI hardware0.91
Knowledge representation0.54
Planning0.01
Machine learning0.00
Speech0.00
Evolutionary computation0.00
Vision0.00

Ownership

INTERNATIONAL BUSINESS MACHINES CORPORATION

assignment · 48710055

Assignors

CHANG, PHILIP YEN-TANG, COYLE, DANIEL J. JR., MALKEMUS, TIMOTHY R., RODRIGUEZ, REBECCA A., WELTI, PHILIP J.

On an employer assignment, the assignors are typically the inventors.

From the same owner

© 2026 NYSGPT2525 LLC