Skip to content
DbaFix
Just share answer and question for fixing database problem
MENU
  • HOME

Tag: clustered-index

Column as an Included column or as a key column

By adminPosted on March 18, 2023

Question : I have a query which has an optional where condition on column classID(not unique). This same classID is […]

Difference between Clustered Index and Unique Clustered Index? [closed]

By adminPosted on March 16, 2023

Question : Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the […]

Lookup table for a one-to-many relationship

By adminPosted on March 9, 2023

Question : I have a tickets table with an id that I need to associate to a lookup table where […]

When all you indexes have included all the other columns, do you still have the penalty for a wide clustered index?

By adminPosted on February 25, 2023

Question : So I hear sometimes that I should not use a clustered index on a wide column, mainly because […]

How to speed up query on table with millions of rows

By adminPosted on February 16, 2023

Question : The Issue: I’m working on a big table that consists about 37mln rows. Data include measurements of many […]

Avoiding a sort on an already clustered index for group by

By adminPosted on February 14, 2023

Question : On a table T with two fields, pid and did, the following query results in a seq. scan […]

Are page numbers of a book a good analogy for a clustered index? [closed]

By adminPosted on February 3, 2023

Question : Closed. This question is off-topic. It is not currently accepting answers. This question does not appear to belong […]

Table design for efficiently retrieving “most recent row” per FK’d item whose PK is a GUID

By adminPosted on February 1, 2023

Question : Database is SQLAzure I’ve a recent requirement to store incremental updates in status against an Order item, whose […]

SQL Server: Clustered index, sorting and pagination

By adminPosted on January 30, 2023

Question : In my application, several times I have to show results that are paginated and sorted by some field. […]

How to efficiently create a new PRIMARY KEY CLUSTERED definition online

By adminPosted on January 28, 2023

Question : Given a table with a PRIMARY KEY definition (acting as the clustered index), I want to efficiently change […]

  • 1
  • 2
  • 3
  • …
  • 25

Recent Posts

  • Foreign Key to Multicolumn Primary Key?
  • Speed up INSERTs
  • Regularly updating table with huge amount of rows
  • How can I create a gapless sequence?
  • Unable to Query Very Large Table
  • Why should I create an ID column when I can use others as key fields? [duplicate]
  • Force NOW to return new timestamps without committing the transaction
  • MariaDB on Windows Server 2012 R2 – out of memory
  • How to easily convert a comma seperated list of ids into a table of rows
  • clusterdb stopped working for PostgreSQL database in Ubuntu 12.04 server
  • Slow MySQL query
  • Database design : hotel room and its detail
  • How to use GROUP BY in an efficient way without losing attributes? [closed]
  • Query execution time is random, need to identify the root cause
  • Returning data where all categories exactly match
  • Partitioning increases CPU usage in mariadb
  • How to script out push subscription creation at the subscriber?
  • Can a transitive join loop infinitely?
  • 2 similar queries in large sql server table – 1 takes too long
  • Select data from another database instance on the same server in sql server

Categories

  • Database Backup
  • Database Design
  • Database Index
  • Database Optimization
  • InnoDB
  • Join
  • MariaDB
  • MongoDB
  • MySQL
  • Oracle
  • Performance
  • Permissions
  • Postgresql
  • Query Performance
  • Replication
  • Security
  • SQL Server
Proudly powered by WordPress / Support by: DizzyCoding