Presentation is loading. Please wait.

Presentation is loading. Please wait.

October 1-2 Ølensvåg. Hardcore SQL Session Code: SQL-401-Hardcore Speaker(s): Vidar Nordnes.

Similar presentations


Presentation on theme: "October 1-2 Ølensvåg. Hardcore SQL Session Code: SQL-401-Hardcore Speaker(s): Vidar Nordnes."— Presentation transcript:

1 October 1-2 Ølensvåg

2 Hardcore SQL Session Code: SQL-401-Hardcore Speaker(s): Vidar Nordnes

3 #thingsYouShouldNeverHearADBASay sa’s password is blank. Easier that way. Whops! Forgot the WHERE clause. Backups? What backups? I used a clustered index so it’ll be redundant! Hey, what were you storing in that database? Was it important? No reason, I’m just, uh, curious Why is my log file sooo much bigger than my database? DMV? Yeah I’ve got to go renew my license! Thanks for reminding me We’re migrating to Access Just put it all on one disk

4 Agenda: WHY shrink database is a big NO NO What happens when you press F5? How to read the Execution Plan Index maintenance Backup and restore strategies

5 WHY shrink database is a big NO NO

6 What happens when you press F5? Is this syntax ok? Algebrizer Query Optimization Execution Output: Processor tree Output: Execution plan Which tables? How many rows? Lowest cost?

7 How to read the Execution Plan Index Scan Index Seek Compute Scalar Delete Filter Hash Match Insert

8 Index Maintenance Remove Indexes Add Indexes Observe

9 Backup and restore strategies Backup types Full Differential Transaction Log Sunday MondayTuesdayWednesdayThursday FridaySaturday FullDiff Tran


Download ppt "October 1-2 Ølensvåg. Hardcore SQL Session Code: SQL-401-Hardcore Speaker(s): Vidar Nordnes."

Similar presentations


Ads by Google