3min chapter

Dear SQL DBA cover image

Why is My Query Faster on the Second Run?

Dear SQL DBA

CHAPTER

How to Test a Query Using a New View

This is just a normal view. It will still store the pages, just for the tables. So any query that uses those tables, whether its using a vew or not,. an can re use that stuff in the memory, in the buffer pool. This can make a huge difference in performance and make performance much faster when you're running a queryanYou want to test, hey, am i having to go read pages from a really easy way to do this in your management studio window is to set statistics io on.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode