- In this section, I'd like to talk about…compression in SQL Server 2012.…We'll look at two different techniques…of compressing data…and talk a little bit about how they work.…I've staged some code for you…in your exercise files.…So I'm gonna take all of this…and copy it into a new query.…The syntax is fairly straightforward.…We're going to alter a table,…the table called SalesOrderDetail.…And we see in line 5,…we're going to set the data compression…equal to none.…
So I'll go ahead and execute that.…Says, "Command(s) completed successfully."…Now let's go and look at the size…of SalesOrderDetail…so we have something to compare it to.…SalesOrderDetail,…I'll right-click and go to Properties.…And in the Storage section,…we see the compression is set to None…and the size right now is 9.641 megabytes,…so about nine and a half megabytes uncompressed.…Our first option with data compression…is to use row compression.…
And when we do row compression,…each row is compressed…by changing the amount of space…used to store each field.…
Author
Released
3/23/2015- Planning the database infrastructure
- Designing databases vs. data warehouses
- Designing the physical database implementation
- Planning for partitioning
- Adding FileStream data
- Indexing
- Monitoring server health
- Managing SQL Server with PowerShell
Skill Level Intermediate
Duration
Views
Related Courses
-
Installing SQL Server 2012
with Gerry O'Brien3h 3m Beginner -
Querying Microsoft SQL Server 2012
with Gerry O'Brien5h 34m Beginner
-
Introduction
-
Welcome44s
-
Setting up for the course2m 12s
-
-
1. Designing a Database Server Infrastructure
-
2. Designing a Logical Database Schema
-
Designing OLTP databases1m 54s
-
Using first normal form3m 41s
-
Using second normal form3m 10s
-
Using third normal form2m 41s
-
Designing data warehouses3m 12s
-
-
3. Designing a Physical Database Implementation
-
Using multiple files5m 25s
-
Planning for partitioning5m 11s
-
Planning compression3m 59s
-
4. Incorporating Data Files into Databases
-
Enabling FileStream access2m 42s
-
Using FileStream data5m 3s
-
-
5. Tuning Database Performance
-
Understanding indexes3m 12s
-
Using indexes3m 24s
-
Working with query plans5m 35s
-
Indexing tips2m 51s
-
-
6. Policy-Based Management
-
7. Monitoring Server Health
-
Exploring health data5m 3s
-
8. Managing SQL Server with PowerShell
-
Conclusion
-
Goodbye1m 4s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Planning compression