Top Banner
Is “the bigger the better” valid in the database world? Best practices around VLDBs HP FastTrack Solution Tips, tricks and gotchas with multi- TB databases
16

Is "the bigger the beter" valid in the database world

May 15, 2015

Download

Technology

Ivan Donev

What are the best practices for building and managing very large database environments? How can we get an advantage from implementing HP's FastTrack Solution? We will share some real-world tips and tricks around the management of multi-terabyte databases.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Is "the bigger the beter" valid in the database world

Is “the bigger the better” valid in the database world?Best practices around VLDBs

HP FastTrack Solution

Tips, tricks and gotchas with multi-TB databases

Page 2: Is "the bigger the beter" valid in the database world

About me

2 |

Ivan Donev, MCT

SQL Server Technology Team Lead, HP

Page 3: Is "the bigger the beter" valid in the database world

Agenda

Introduction Best practices in configuration HP FastTrack Reference Architecture 4.0 Share the experience

3 |

Page 4: Is "the bigger the beter" valid in the database world

Introduction

More data Needs larger hardware Needs optmization Needs time Requires more responsiblities

More responsibilities Need more attention Require more knowledge Give you more headaches

4 |

Page 5: Is "the bigger the beter" valid in the database world

Best practices - IO

Hardware - trust your vendor Follow the Storage Top 10 Best Practices HBA Queue Depth TEST, TEST, TEST

5 |

Page 6: Is "the bigger the beter" valid in the database world

Best practices – SQL Server

Startup options -E and T1117 T834?

MaxServerMemory MaxDop – never leave it to 0 Local policy

Lock pages in memory Perform Volume maintenance tasks

Resource governor!

6 |

Page 7: Is "the bigger the beter" valid in the database world

Best practices – Inside SQL Server

TempDB Microsoft rules – 1 file per CPU Experience

Partitioning Compression – be careful! Column Store index Maintenance, maintenance, maintenance!!!

7 |

Page 8: Is "the bigger the beter" valid in the database world

HP FastTrack 4.0

Prebuild Hardware for best performance

Configuration Guide Performance

8 |

Page 9: Is "the bigger the beter" valid in the database world

Let’s talk about reality

The hardware - HP DL980 G7 2TB RAM 8x8-core Intel Xeon => 128 logical CPUs Storage – dedicated P2000 and XP24000

The Software Windows Server 2008 R2 with SP1 SQL Server 2008 R2 Enterprise with CU7

9 |

Page 10: Is "the bigger the beter" valid in the database world

10 |

Page 11: Is "the bigger the beter" valid in the database world

Let’s talk about reality - servicing

T834 flag or why the engine is not booting up Patching and ugrade

Upgrade from SQL Server 2005 to 2008 R2 Approach Licensing Bugs

11 |

Page 12: Is "the bigger the beter" valid in the database world

Let’s talk about reality - maintenance

Examine fragmentation Do not forget about statistics Check the integrity

Size matters

Autogrowth and proportional fill

12 |

Page 13: Is "the bigger the beter" valid in the database world

Let’s talk about reality - compression

Estimate compression gain Compress and keep compressing How do we reclaim the space?

Moving object to new file Shrinking

13 |

Page 14: Is "the bigger the beter" valid in the database world

IT DEPENDS

14 |

IS THE BIGGER THE BETTER?

Page 15: Is "the bigger the beter" valid in the database world

15 |

THANK YOU !

Page 16: Is "the bigger the beter" valid in the database world

Sponsors