Geek Sync – Understand Indexes to Write Better Queries
It’s relatively easy to learn how to query a database for information. SQL is a declarative language, meaning we simply tell the engine what to get, not how to get it. Some queries are fast, others are slow. We’ve all heard that an index will make the query faster, and often the solution to performance problems are indeed indexes. Why is that? What are they? How do you use them? With a good understanding of what indexes are and how the engine uses them, and by writing our queries with indexes in mind, we can make queries perform much faster.
In this session we’ll learn index basics and how to write queries that can take advantage of them for more efficient, better-performing queries.
Speaker: Janice Gerbrandt has been designing and implementing database solutions to improve business functionality since 2001. She is an active PASS member and leads her local user group and a virtual group, as well as organizing SQL Saturday Victoria.