Network


Latest external collaboration on country level. Dive into details by clicking on the dots.

Hotspot


Dive into the research topics where Milind M. Joshi is active.

Publication


Featured researches published by Milind M. Joshi.


international conference on management of data | 2001

Orthogonal optimization of subqueries and aggregation

Cesar A. Galindo-Legaria; Milind M. Joshi

There is considerable overlap between strategies proposed for subquery evaluation, and those for grouping and aggregation. In this paper we show how a number of small, independent primitives generate a rich set of efficient execution strategies —covering standard proposals for subquery evaluation suggested in earlier literature. These small primitives fall into two main, orthogonal areas: Correlation removal, and efficient processing of outerjoins and GroupBy. An optimization approach based on these pieces provides syntax-independence of query processing with respect to subqueries, i. e. equivalent queries written with or without subquery produce the same efficient plan. We describe techniques implemented in Microsoft SQL Server (releases 7.0 and 8.0) for queries containing sub-queries and/or aggregations, based on a number of orthogonal optimizations. We concentrate separately on removing correlated subqueries, also called “query flattening,” and on efficient execution of queries with aggregations. The end result is a modular, flexible implementation, which produces very efficient execution plans. To demonstrate the validity of our approach, we present results for some queries from the TPC-H benchmark. From all published TPC-H results in the 300GB scale, at the time of writing (November 2000), SQL Server has the fastest results on those queries, even on a fraction of the processors used by other systems.


international conference on management of data | 2007

Execution strategies for SQL subqueries

Mostafa Elhemali; Cesar A. Galindo-Legaria; Torsten Grabs; Milind M. Joshi

Optimizing SQL subqueries has been an active area in database research and the database industry throughout the last decades. Previous work has already identified some approaches to efficiently execute relational subqueries. For satisfactory performance, proper choice of subquery execution strategies becomes even more essential today with the increase in decision support systems and automatically generated SQL, e.g., with ad-hoc reporting tools. This goes hand in hand with increasing query complexity and growing data volumes, which all pose challenges for an industrial-strength query optimizer. This current paper explores the basic building blocks that Microsoft SQL Server utilizes to optimize and execute relational subqueries. We start with indispensable prerequisites such as detection and removal of correlations for subqueries. We identify a full spectrum of fundamental subquery execution strategies such as forward and reverse lookup as well as set-based approaches, explain the different execution strategies for subqueries implemented in SQL Server, and relate them to the current state of the art. To the best of our knowledge, several strategies discussed in this paper have not been published before. An experimental evaluation complements the paper. It quantifies the performance characteristics of the different approaches and shows that indeed alternative execution strategies are needed in different circumstances, which make a cost-based query optimizer indispensable for adequate query performance.


very large data bases | 2003

Statistics on views

Cesar A. Galindo-Legaria; Milind M. Joshi; Florian Waas; Ming-Chuan Wu

The quality of execution plans generated by a query optimizer is tied to the accuracy of its cardinality estimation. Errors in estimation lead to poor performance, erratic behavior, and user frustration. Traditionally, the optimizer is restricted to use only statistics on base table columns and derive estimates bottom-up. This approach has shortcomings with dealing with complex queries, and with rich languages such as SQL: Errors grow as estimation is done on top of estimation, and some constructs are simply not handled. In this paper we describe the creation and utilization of statistics on views in SQL Server, which provides the optimizer with statistical information on the result of scalar or relational expressions. It opens a new dimension on the data available for cardinality estimation and enables arbitrary correction. We describe the implementation of this feature in the optimizer architecture, and show its impact on the quality of plans generated through a number of examples.


international conference on data engineering | 2010

Polynomial heuristics for query optimization

Nicolas Bruno; Cesar A. Galindo-Legaria; Milind M. Joshi

Research on query optimization has traditionally focused on exhaustive enumeration of an exponential number of candidate plans. Alternatively, heuristics for query optimization are restricted in several ways, such as by either focusing on join predicates only, ignoring the availability of indexes, or in general having high-degree polynomial complexity. In this paper we propose a heuristic approach to very efficiently obtain execution plans for complex queries, which takes into account the presence of indexes and goes beyond simple join reordering. We also introduce a realistic workload generator and validate our approach using both synthetic and real data.


international conference on data engineering | 2008

Filtered Indices and Their Use in Flexible Schema Scenarios

Srini Acharya; Cesar A. Galindo-Legaria; Milind M. Joshi; Babu Krishnaswamy; Stefano Stefani; Pawel Terlecki

Efficient and convenient handling of heterogeneous data is a current challenge for data management systems. In this paper, we discuss several common relational approaches to represent heterogeneity and argue for a design based on a single wide-table, referred to as a flexible schema. For this scenario, we focus on partial indexation and its support for efficient data storage and processing. Filtered indices provide partial indexation functionality in the Microsoft SQL Server product. We describe here the implementation of this feature, including index utilization in queries, index maintenance and query parameterization issues. Our performance experiments validate the expected benefits of the approach in our implementation.


Archive | 1996

System and method for incremental change synchronization between multiple copies of data

Max L. Benson; Dinarte R. Morais; Scott Norin; William P. Champion; Thomas F. Fakes; Milind M. Joshi


Archive | 2001

Method and system for creating a database table index using multiple processors

Srikanth R. Avadhanam; Milind M. Joshi; Ajay Kalhan; Srikumar Rangarajan; Tsvi M. Reiter


Archive | 2005

Structured indexes on results of function applications over data

Conor Cunningham; Eric N. Hanson; Milind M. Joshi; Cesar A. Galindo-Legaria; Florian Waas


Archive | 1996

Method, computer program product, and system for creating and displaying a categorization table

Darren A. Shakib; William H. Rockenbeck; Max L. Benson; Milind M. Joshi


Archive | 2004

System and method for segmented evaluation of database queries

Cesar A. Galindo-Legaria; Goetz Graefe; Milind M. Joshi; Ross T. Bunker

Collaboration


Dive into the Milind M. Joshi's collaboration.

Researchain Logo
Decentralizing Knowledge