Query2Vec: An Evaluation of NLP Techniques for Generalized Workload Analytics
원문 초록
We consider methods for learning vector representations of SQL queries to support generalized workload analytics tasks, including workload summarization for index selection and predicting queries that will trigger memory errors. We consider vector representations of both raw SQL text and optimized query plans, and evaluate these methods on synthetic and real SQL workloads. We find that general algorithms based on vector representations can outperform existing approaches that rely on specialized features. For index recommendation, we cluster the vector representations to compress large workloads with no loss in performance from the recommended index. For error prediction, we train a classifier over learned vectors that can automatically relate subtle syntactic patterns with specific errors raised during query execution. Surprisingly, we also find that these methods enable transfer learning, where a model trained on one SQL corpus can be applied to an unrelated corpus and still enable good performance. We find that these general approaches, when trained on a large corpus of SQL queries, provides a robust foundation for a variety of workload analysis tasks and database features, without requiring application-specific feature engineering.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
The Catechol Benchmark: Time-series Solvent Selection Data for Few-shot Machine Learning
Scalable and Interpretable Contextual Bandits: A Literature Review and Retail Offer Prototype
A Hybrid Quantum Classical Pipeline for X Ray Based Fracture Diagnosis
Fine-Tuning Self-Supervised Learning Models for End-to-End Pronunciation Scoring
RaMen: Multi-Strategy Multi-Modal Learning for Bundle Construction
Best Practices for Large-Scale, Pixel-Wise Crop Mapping and Transfer Learning Workflows
토론
이 논문과 연결된 포럼 글이 아직 없습니다.