Live registration reopens October 1, 2026, in 10d 14h 08mNotify me

Indexing and Statistics

Designing, evaluating, maintaining, and troubleshooting indexes and statistics.

568 associated posts270 primary posts

Production DBA

Office Hours, Text Edition: No-Brainer Questions

For my Office Hours streams on my Twitch channel, y'all post questions at PollGab and upvote the ones you'd like to see me discuss on the stream. However, not all questions require a video answer. Here are some simple no-brainer ones:

Q: BehindTheScenesDBA: With all its limitations, what do you think about memory-optimized tables? Have you recommended to a client to use it?

Read more about Office Hours, Text Edition: No-Brainer Questions 10 comments — Join the discussion
Performance Tuning

When Should You Use DESC in Indexes?

The short answer is that if your query orders columns by a mix of ascending and descending order, back to back, then the index usually needs to match that same alternating order. Now, for the long answer. When you create indexes, you can either create them in ascending order - which is the default: [crayon-6aafacaa5d8f4976015419/] Or…

Read more about When Should You Use DESC in Indexes? 8 comments — Join the discussion