Introducing 3 FREE Smart solutions for SQL Server (Adi Sapir, Docco Labs)
As Database experts, we work with SQL Server Databases on a daily basis. We face the same problems every SQL Administrator and/or developer does. And – we spend our time writing solutions for these problems! In this session Adi will introduce the following 3, totally FREE solutions:
· ClipTable – A revolutionary new *anything* to SQL Table importer
· Database File Explorer – a much easier way to explore our database->filegroups->files->storage mapping
· Log Table Viewer – a complete client/server logger solution for SQL Server
Introducing 3 FREE Smart solutions for SQL Server (Adi Sapir, Docco Labs)
As Database experts, we work with SQL Server Databases on a daily basis. We face the same problems every SQL Administrator and/or developer does. And – we spend our time writing solutions for these problems! In this session Adi will introduce the following 3, totally FREE solutions:
· ClipTable – A revolutionary new *anything* to SQL Table importer
· Database File Explorer – a much easier way to explore our database->filegroups->files->storage mapping
· Log Table Viewer – a complete client/server logger solution for SQL Server
Big Data and New Challenges for DBAs (Michael Naumov, LivePerson)
Hadoop has become a popular platform for managing large datasets of structured and unstructured data. It does not replace existing infrastructures, but instead augments them. Most companies will still use relational databases for transactional processing and low-latency queries, but can benefit from Hadoop for reporting, machine learning or ETL. This session will cover:
What is Hadoop and why do I care?
What do people do with Hadoop?
How can SQL Server DBAs add Hadoop to their architecture?
Common Errors That Effect Performance (Adi Cohen, Naya-Tech)
There are a few common errors that have a negative effect on performance. In this session we will review some of them, see why they impact performance and provide alternative solutions. Among the issues we will cover are:
· Misunderstanding of the query plan when using procedures
· Query plan differences between procedures and ad-hoc batches
· The differences between a temporary table and a table variable
· And many more…
Who is afraid of Columnstore Indexes? (Michael Zilberstein, DB-Art)
This talk describes new SQL Server 2012 feature called "columnstore index". In this session we will learn about the differences between columnstore indexes and B-Tree indexes we are used to work with. We will see when it is best to use and when not to use this new index. We will cover limitations that columnstore index imposes on the tables that use it and how to live with those limitations. Like in all my sessions, I won't let you go without some internals – how columnstore index is organized on a physical level and how Query Processor works this new type of index. And of course Demos, Demos, Demos…
Big Data and New Challenges for DBAs (Michael Naumov, LivePerson)
Hadoop has become a popular platform for managing large datasets of structured and unstructured data. It does not replace existing infrastructures, but instead augments them. Most companies will still use relational databases for transactional processing and low-latency queries, but can benefit from Hadoop for reporting, machine learning or ETL. This session will cover:
What is Hadoop and why do I care?
What do people do with Hadoop?
How can SQL Server DBAs add Hadoop to their architecture?
Common Errors That Effect Performance (Adi Cohen, Naya-Tech)
There are a few common errors that have a negative effect on performance. In this session we will review some of them, see why they impact performance and provide alternative solutions. Among the issues we will cover are:
· Misunderstanding of the query plan when using procedures
· Query plan differences between procedures and ad-hoc batches
· The differences between a temporary table and a table variable
· And many more…
Who is afraid of Columnstore Indexes? (Michael Zilberstein, DB-Art)
This talk describes new SQL Server 2012 feature called "columnstore index". In this session we will learn about the differences between columnstore indexes and B-Tree indexes we are used to work with. We will see when it is best to use and when not to use this new index. We will cover limitations that columnstore index imposes on the tables that use it and how to live with those limitations. Like in all my sessions, I won't let you go without some internals – how columnstore index is organized on a physical level and how Query Processor works this new type of index. And of course Demos, Demos, Demos…
3. קצת על עצמי
02 שנה בתחום ה-Databases •
התחלתי עם 5 Oracle •
Oracle DBA •
11 שנה ב- Precise •
ניהול הפיתוח ב- Preciseשל כל מוצרי ניטור •
ה-Databases
כיום Kaminario CTO •
3
6. .02 שנה. אותו דיסק. כמעט
Database -שליפת %1 מה
1990 1994 1998 2003 2011
1 2 3.5 18 11.5
Min Min Min Min Hours
1.4 GB 4 GB 9 GB 73 GB 2 TB
6
7. מה זה ?SSD
• Solid State Disk
• שני סוגים עיקריים:
– Flash SSD
– DRAM SSD
• :Flash SSD
– מהירות קריאה מאוד גבוה
– מהירות כתיבה לא עיקבית
– מספר מוגבל של כתיבות
• – DRAM SSDמהיר יותר מ- ,Flashללא מגבלות
בכתיבה
7
9. - Flash SSDמבט מבפנים
• קריאה וכתיבה מתבצעות ברזולוציה של Page
0 PLANE 1 PLANE • לא ניתן לעדכן Page
REG REG
מוחקים לוגית וכותבים ל- Pageאחר
• מחיקה פיזית ניתן לבצע אך ורק
ברזולוציה של בלוק
• ניתן למחוק בלוק מס' מוגבל של פעמים
• מהירות:
קריאה מהירה מאוד (52 מיקרושניה)
0 DIE מחיקה פיזית איטית מאוד (5.1 מילישניה)
• מגבלות ה Flashמטופלות ברמת התוכנה
9
11. האצת SQL Serverבאמצעות SSD
• זיהוי I/O Wait
• בהתאם לצואר הבקבוק ניתן להאיץ את כל ה-Instance
או את חלקו:
– העברת כל ה- Instanceלאחסון מבוסס SSD
– העברת -Databaseים הדורשים האצה
– העברת ה tempdb
11
12. מדדי ביצועים בעולם האחסון
• - Throughputקצב העברה
– לדוגמא: 500 MB/s
• – I/Os Per Second – IOPSמספר פעולות I/Oלשניה
– לדוגמא: 10,000 IOPS
• - Latencyזמן תגובה לפעולת I/O
– לדוגמא: )5 ms (millisecond
21
13. מדדים עיקריים
טווח עבור טווח עבור דיסקים תאור מדד מקור
SSD
.I/O Wait המדד החשוב ביותר לזיהוי IO Waits: sys.dm_os_wait_stats DMV
זמן המתנה ממוצע נותן הערכה לגבי PAGEIOLATCH
Latency WRITELOG
IO_COMPLETION
בין עשרות 1–5ms for log I/O – חשוב בLatency Average Disk sec/Read Perfmon
מיקרושניה 5-10ms for data ראנדומלי Average Disk sec/Write
למספר 10-30ms for DWH
מילישניה
לשניהGBs לשניהMBs מאות – חשוב בThroughput Disk Read Bytes/sec Perfmon
סידרתיI/O Disk Write Bytes/sec
מאות אלפים עשרות אלפים I/O – חשוב בIOPS Disk Reads/sec Perfmon
ראנדומלי Disk Writes /sec
8 עבור פעילות ראנדומליתKB I/O Size Average Disk Bytes/Read Perfmon
(Index Seek) Average Disk Bytes/Write
215 עבור סריקה של טבלה אוKB עד
(Scan) אינדקס
.Latency גדול מגדיל את הQueue I/O Queue Size Average Disk Queue Length Perfmon
בפעילות ראנדומלית חשוב לשמור על Current Disk Queue Length
.ערכים נמוכים
DB ברמתI/O מדדי sys.dm_io_virtual_file_stats DMV
13