About 2,430,000 results
Open links in new tab
  1. sql - How does database indexing work? - Stack Overflow

    Given that indexing is so important as your data set increases in size, can someone explain how indexing works at a database-agnostic level? For information on queries to index a field, check …

  2. indexing - What is an index in SQL? - Stack Overflow

    Jun 2, 2010 · An index is used to speed up the performance of queries. It does this by reducing the number of database data pages that have to be visited/scanned. In SQL Server, a …

  3. indexing - What is a database index? - Stack Overflow

    Mar 6, 2013 · A database index also make it possible to enforce DB constraints. Many DB systems set a index on a set of columns referred to as PRIMARY KEY. Some DB systems …

  4. sql - When should I create database indexes? - Stack Overflow

    When to set index for a table, during table creation or on performance tuning? What are the advantages and disadvantages of indexing?

  5. sql - Rebuild all indexes in a Database - Stack Overflow

    Sep 10, 2015 · I have a very large SQL Server 2008 R2 database (1.5TB) and will be copying some data from column to column within the same table. I've been told that the schema has a …

  6. Multiple Indexes vs Multi-Column Indexes - Stack Overflow

    I agree with Cade Roux. This article should get you on the right track: Indexes in SQL Server 2005/2008 – Best Practices, Part 1 Indexes in SQL Server 2005/2008 – Part 2 – Internals One …

  7. What columns generally make good indexes? - Stack Overflow

    As a follow up to "What are indexes and how can I use them to optimise queries in my database?" where I am attempting to learn about indexes, what columns are good index candidates? …

  8. mysql - Why and where to use INDEXes - Stack Overflow

    Apr 24, 2015 · I'm quite new to database programming and I am wondering what the negative effects of indexes are? As far as I understood, indexes speed up operations which have to …

  9. Script for rebuilding and reindexing the fragmented index?

    Can anyone provide the script for rebuilding and re-indexing the fragmented index when 'avg_fragmentation_in_percent' exceeds certain limits (better if cursor is not used)?

  10. What is the difference between a primary key and an index key

    Jun 21, 2024 · A key (minimal superkey) is a set of attributes, the values of which are unique for every tuple (every row in the table at some point in time). An index is a performance …