All fields

“Indexes” in Information Technology

53 questions across 4 technologies.

Information Technology

53 questions in 4 technologies

#QuestionTechnologyTopicLevel
1How do filtered indexes work, and what specific scenarios benefit most from using one? SQL Server › IndexesSQL ServerIndexesAdvanced
2How do you identify unused or duplicate indexes that might be safely removed to improve write performance? SQL Server › IndexesSQL ServerIndexesIntermediate
3What are delta stores and rowgroups in the context of columnstore indexes, and how do they affect performance over time? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesAdvanced
4What kinds of workloads benefit the most from columnstore indexes, and which workloads should avoid them? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesIntermediate
5Can you create indexes on a temporary table, and how does this compare to indexing options available for table variables? SQL Server › Temporary Tables & Table VariablesSQL ServerTemporary Tables & Table VariablesIntermediate
6What is a covering index, and how does it help avoid an expensive lookup operation? SQL Server › IndexesSQL ServerIndexesIntermediate
7What are Global Secondary Indexes and Local Secondary Indexes in DynamoDB? AWS › Amazon DynamoDBAWSAmazon DynamoDBIntermediate
8What are the memory and performance tradeoffs of adding RedisSearch indexes to a large existing dataset in Redis? Redis › RedisSearch (Full Text Search)RedisRedisSearch (Full Text Search)Advanced
9How can you properly optimize sqflite query performance for a genuinely large dataset using database indexes, and what genuine tradeoffs come together with actually adding an index to a given specific table? Flutter › SQLite & Local Databases (sqflite)FlutterSQLite & Local Databases (sqflite)Advanced
10What is an index in SQL Server, and how does it help speed up queries? SQL Server › IndexesSQL ServerIndexesBeginner
11What is the difference between a clustered index and a nonclustered index? SQL Server › IndexesSQL ServerIndexesBeginner
12How do you decide which columns to choose, and in what order, when creating a composite index covering multiple columns? SQL Server › IndexesSQL ServerIndexesIntermediate
13How does index fragmentation happen over time, and how do you address it? SQL Server › IndexesSQL ServerIndexesAdvanced
14What is a columnstore index in SQL Server, and how is it different from a regular index? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesBeginner
15What is the difference between a clustered columnstore index and a nonclustered columnstore index? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesBeginner
16What is a hash index, and how is it different from the more common B-tree index used for regular disk based tables? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsBeginner
17In what situations does SQL Server's query optimizer typically prefer a hash join over a nested loop join or a merge join? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsIntermediate
18What are the differences in how a hash index and a memory optimized nonclustered index handle range queries and equality lookups? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsIntermediate
19How would you decide whether to use a clustered columnstore index or a traditional partitioned rowstore table for a very large historical sales table? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesAdvanced
20How would you troubleshoot a query that is unexpectedly using a slow hash join when a much faster index seek and nested loop join should be possible? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsAdvanced
21What is a hash join, and how does SQL Server use it to combine two tables? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsBeginner
22How does columnstore compression work, and why does it typically achieve much higher compression ratios than regular row based storage? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesIntermediate
23What tools or queries can you use to monitor the health and effectiveness of a columnstore index over time? SQL Server › Columnstore IndexesSQL ServerColumnstore IndexesIntermediate
24How does the BUCKET_COUNT setting affect the performance of a hash index on a memory optimized table? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsIntermediate
25What happens when a hash join does not have enough memory available to build its hash table entirely in memory, and how does this affect performance? SQL Server › Hash Indexes & Hash Join OperationsSQL ServerHash Indexes & Hash Join OperationsAdvanced
26What is the difference between VARCHAR and NVARCHAR, and when should you choose one over the other? SQL Server › Data Types & Schema DesignSQL ServerData Types & Schema DesignBeginner
27What is full text search in SQL Server, and how is it different from a regular LIKE search? SQL Server › Full Text SearchSQL ServerFull Text SearchBeginner
28How do you create a full text index on a table so you can use full text search functions? SQL Server › Full Text SearchSQL ServerFull Text SearchBeginner
29What is In-Memory OLTP in SQL Server, and what performance benefit does it provide? SQL Server › In-Memory OLTP (Memory-Optimized Tables)SQL ServerIn-Memory OLTP (Memory-Optimized Tables)Beginner
30What is table partitioning in SQL Server, and what problem does it help solve for very large tables? SQL Server › PartitioningSQL ServerPartitioningBeginner
31What is an execution plan in SQL Server, and how does it help you understand query performance? SQL Server › Query Optimization & PlansSQL ServerQuery Optimization & PlansBeginner
32What is the difference between a table scan and an index seek in an execution plan, and why does this distinction matter for performance? SQL Server › Query Optimization & PlansSQL ServerQuery Optimization & PlansBeginner
33How do you correctly combine WHERE and HAVING in the same query to filter both individual rows and grouped results? SQL Server › Aggregate Functions & GROUP BYSQL ServerAggregate Functions & GROUP BYIntermediate
34How is a unique constraint different from a primary key constraint, and when would you use one instead of the other? SQL Server › Constraints (Primary Key, Foreign Key, Check & Unique)SQL ServerConstraints (Primary Key, Foreign Key, Check & Unique)Intermediate
35What is the performance impact of using a cursor compared to a set based operation on a large table, and why does this difference occur? SQL Server › CursorsSQL ServerCursorsIntermediate
36How do computed columns work in SQL Server, and what are some practical use cases for them? SQL Server › Data Types & Schema DesignSQL ServerData Types & Schema DesignIntermediate
37How do you perform a proximity search using full text search, finding rows where two words appear near each other? SQL Server › Full Text SearchSQL ServerFull Text SearchIntermediate
38What SQL Server edition requirements exist for using In-Memory OLTP features? SQL Server › In-Memory OLTP (Memory-Optimized Tables)SQL ServerIn-Memory OLTP (Memory-Optimized Tables)Intermediate
39How does partition elimination improve query performance for a partitioned table? SQL Server › PartitioningSQL ServerPartitioningIntermediate
40How do outdated or missing statistics affect the query optimizer's ability to choose an efficient execution plan? SQL Server › Query Optimization & PlansSQL ServerQuery Optimization & PlansIntermediate
41What are the most common causes of poor query performance that you should check first when troubleshooting a slow query? SQL Server › Query Optimization & PlansSQL ServerQuery Optimization & PlansIntermediate
42What is a schema bound view, and what specific benefit does the WITH SCHEMABINDING option provide? SQL Server › ViewsSQL ServerViewsIntermediate
43What is an indexed view, and how can it improve the performance of complex, frequently run queries? SQL Server › ViewsSQL ServerViewsIntermediate
44How do you rank and sort full text search results by their relevance to the search query? SQL Server › Full Text SearchSQL ServerFull Text SearchAdvanced
45How does SQL Server's query optimizer decide which physical join algorithm, such as nested loops, merge join, or hash join, to actually use for a given query? SQL Server › JoinsSQL ServerJoinsAdvanced
46What are the performance considerations and limitations of querying JSON data stored as text compared to using normalized relational columns? SQL Server › JSON Support in SQL ServerSQL ServerJSON Support in SQL ServerAdvanced
47How would you troubleshoot a linked server query that is running much slower than expected? SQL Server › Linked ServersSQL ServerLinked ServersAdvanced
48What performance considerations should you keep in mind when using MERGE against very large source and target tables? SQL Server › Merge Statement (Upsert)SQL ServerMerge Statement (Upsert)Advanced
49What requirements must be satisfied for the ALTER TABLE SWITCH PARTITION operation to work correctly when moving data between tables? SQL Server › PartitioningSQL ServerPartitioningAdvanced
50What performance considerations should you keep in mind when using PIVOT or UNPIVOT on very large datasets? SQL Server › Pivoting & Unpivoting DataSQL ServerPivoting & Unpivoting DataAdvanced
51How would you use query hints to influence the optimizer's behavior when you have determined the default execution plan is genuinely suboptimal? SQL Server › Query Optimization & PlansSQL ServerQuery Optimization & PlansAdvanced
52How does an XML index improve query performance against large or frequently queried XML columns? SQL Server › XML Data Type & QueryingSQL ServerXML Data Type & QueryingAdvanced
53What design changes can you make to application code and database access patterns to reduce the frequency of deadlocks? SQL Server › DeadlocksSQL ServerDeadlocksAdvanced