Calculation engine determination method and device

The invention provides a calculation engine determination method and equipment. In the embodiment, the method comprises the steps of obtaining a to-be-processed data operation statement; determining first memory consumption of a first engine for executing the data operation statement; wherein the fi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: REN ZHONGTAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a calculation engine determination method and equipment. In the embodiment, the method comprises the steps of obtaining a to-be-processed data operation statement; determining first memory consumption of a first engine for executing the data operation statement; wherein the first engine is an engine based on a memory, and the first engine is used for processing target data; determining the current memory remaining amount of the total memory allocated to the first engine; and if the current memory remaining amount is greater than the first memory consumption amount, determining that the first engine processes the data operation statement. Therefore, the intelligent selection of the engine is realized, and the balance of efficiency and stability is realized. 本发明提供了一种计算引擎确定方法及设备。在实施例中,该方法包括:获取待处理的数据操作语句;确定第一引擎执行所述数据操作语句的第一内存消耗量;其中,第一引擎为基于内存的引擎,第一引擎用于处理目标数据;确定分配给第一引擎的总的内存的当前内存剩余量;若所述当前内存剩余量大于所述第一内存消耗量,确定所述第一引擎处理所述数据操作语句。由此,实现了引擎的智能化选择,实现效率和稳定性的平衡。