System, method and computer-readable medium for dynamic skew avoidance for generic queries
Abstract
A system, method, and computer-readable medium that facilitate dynamic skew avoidance are provided. The disclosed mechanisms advantageously do not require any statistic information regarding which values are skewed in a column on which a query is applied. Query selectivity is evaluated at a check point and thereby facilitates accurate detection of an overloaded processing module. The successful detection of an overloaded processing module causes other processing modules to stop sending more skewed rows to the overloaded processing module. Detection of an overloaded processing module is made when the overloaded processing module has received more rows than a target number of rows. Further, skewed rows that are maintained locally rather than redistributed to a detected processing module may result in more processing modules becoming overloaded. Advantageously, the disclosed mechanisms provide for a final redistribution adjustment to provide for even distribution of rows among all processing modules.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method that facilitates skew avoidance when processing a query by a plurality of processing modules, comprising: receiving, by the plurality of processing modules, the query to be processed, wherein each of the plurality of processing modules has a respective subset of rows of a table on which the query is applied allocated thereto; processing the query, by the plurality of processing modules, a predefined percentage of the respective subset of rows allocated thereto; upon completion of processing of the predefined percentage of the respective subset of rows associated with the query, calcul
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (2)
- Dominguez-Sal et al., Cache-Aware Load Balancing for Question Answering, Oct. 2008, CIKM '08, ACM.
- Poosala et al. "Estimation of Query-Result Distribution and its Application in Parallel-Join Load Balancing." Proceedings of the 22nd VLDB Conference. Mumbai (Bombay), India, 1996.