Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Database Tricks that Every Developer and DBA MUST Know

445 views

Published on

Watch the companion webinar: http://forms.embarcadero.com/Pinal-Dave-Database-Tricks-2015

It is not unusual for a server to perform poorly causing developers and system administrators to scratch their heads while attempting to troubleshoot. Regardless of how great the hardware specifications, there can be many other issues that can cause the server to responds slower than expected.

Join SQL evangelist Pinal Dave and the Director of Software Consultants at Embarcadero Scott Walz as they provide tips and techniques to help DBAs and Developers manage and maintain their servers at optimal performance.

From this session you will learn:

+ How to improve database server implementation
+ Tips and techniques on improving server performance
+ How to avoid database performance problems before they happen

Published in: Software
  • Be the first to comment

Database Tricks that Every Developer and DBA MUST Know

  1. 1. EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES Performance in 60 Seconds - SQL Tricks Everybody MUST Know Pinal Dave
  2. 2. EMBARCADERO TECHNOLOGIES 2 Pinal Dave DON’T that isn’t FIX something BROKEN
  3. 3. EMBARCADERO TECHNOLOGIES Let’s Start with the Basics
  4. 4. EMBARCADERO TECHNOLOGIES Most Important Things
  5. 5. EMBARCADERO TECHNOLOGIES this is a database It uses SQL Server SQL Server uses files to store Data MDF/NDF LDF
  6. 6. EMBARCADERO TECHNOLOGIES fundamentals of databaseSQL Server MDF/NDF contains Data LDF contains Log Almost Everything – Tables, Index, Stored Procedures, Views, Jobs, Triggers, Logins, Constrains, Security Information, System Databases Rollback information for database NO Real Data
  7. 7. EMBARCADERO TECHNOLOGIES test results INSERT SELECT Data On Faster Log on Faster Data On Faster Log on Slower Data On Slower Log on Faster
  8. 8. EMBARCADERO TECHNOLOGIES Best Practices Do not store database in System Partition Use RAID 10 Format SAN Luns 64K Clusters Physically Separate MDF/NDF from LDF Pre-Size Database Files Fixed Autogrowth Value Configure Instant File Initialization (SQL Server 2008+) Use Backup Compression
  9. 9. EMBARCADERO TECHNOLOGIES Next Steps 9

×