Get the Most out of SQL Server Standard Edition Or How to be a SQL Miser.

Slides:



Advertisements
Similar presentations
Windows XP System Restore July 22 nd, 2006 CAEUG Meeting.
Advertisements

Big Data Working with Terabytes in SQL Server Andrew Novick
A comparison of MySQL And Oracle Jeremy Haubrich.
Novell Server Linux vs. windows server 2008 By: Gabe Miller.
Configuring Windows Vista Security Chapter 3. IE7 Pop-up Blocker Pop-up Blocker prevents annoying and sometimes unsafe pop-ups from web sites Can block.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Lesson 18 – INSTALLING AND SETTING UP WINDOWS 2000 SERVER.
1.1 Installing Windows Server 2008 Windows Server 2008 Editions Windows Server 2008 Installation Requirements X64 Installation Considerations Preparing.
Chapter 7: Configuring Disks. 2/24 Objectives Learn about disk and file system configuration in Vista Learn how to manage storage Learn about the additional.
Advanced Databases Basic Database Administration Guide to Oracle 10g 1.
5.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 5: Working with File Systems.
How to Install Windows 7.
SQL Server 2008 for Hosting Key Questions to Address How can SQL Server save your costs? How can SQL Server help you increase customer base? How can.
VMware vCenter Server Module 4.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
Today’s Agenda Chapter 12 Admin Tasks Chapter 13 Automating Admin Tasks.
Oracle Memory Configuration on Windows Server Configuring Large Memory for Oracle on 32-bit and 64-bit Windows.
Chapter 7 Installing and Using Windows XP Professional.
Hands-On Microsoft Windows Server 2008 Chapter 1 Introduction to Windows Server 2008.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Hands-On Microsoft Windows Server 2008
WINDOWS XP PROFESSIONAL Bilal Munir Mughal Chapter-1 1.

5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
A+ Guide to Software Managing, Maintaining and Troubleshooting THIRD EDITION Chapter 9 Managing Memory.
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
Installing and Configuring IIS. Reliable IIS 6.0 uses a new request-processing architecture and application-isolation environment that enables individual.
CERN - IT Department CH-1211 Genève 23 Switzerland t Tier0 database extensions and multi-core/64 bit studies Maria Girone, CERN IT-PSS LCG.
Chokchai Junchey Microsoft Product Specialist Certified Technical Training Center.
SQL2005 Cluster Build. IP Request Request 6 IP Addresses – One for EACH SQL virtual server (2) – One for the cluster – One for Distributed Transaction.
Designing and Deploying a Scalable EPM Solution Ken Toole Platform Test Manager MS Project Microsoft.
Block1 Wrapping Your Nugget Around Distributed Processing.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 13 Understanding and Installing Windows 2000 and Windows NT.
Chapter 14 Supporting Windows 2000 Professional. 14 You Will Learn… n About the different operating systems within the Windows 2000 suite n About the.
 Database Administration Installing Oracle 11g & Creating Database.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
SQL Server 2000 Sys Admin Jeremiah Curtis Engineering Services
IS 221: DATABASE ADMINISTRATION Lecture 2: Installing Oracle 10g or 11g & Creating Database. Information Systems Department 1.
Alwayson Availability Groups
CEG 2400 FALL 2012 Windows Servers Network Operating Systems.
Introduction to Exadata X5 and X6 New Features
Copyright Sammamish Software Services All rights reserved. 1 Prog 140  SQL Server Performance Monitoring and Tuning.
1 BCS 4 th Semester. Step 1: Download SQL Server 2005 Express Edition Version Feature SQL Server 2005 Express Edition SP1 SQL Server 2005 Express Edition.
ITMT 1371 – Window 7 Configuration 1 ITMT Windows 7 Configuration Chapter 8 – Managing and Monitoring Windows 7 Performance.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
2V0-621 VMware Certified Professional 6 - Data Center Virtualization Beta.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
Hitting the SQL Server “Go Faster” Button Rob Douglas #509 | Brisbane 2016.
Installing Windows 7 Lesson 2.
Working with Windows 7 at CERN
vSphere 6 Foundations Beta Question Answer
DIT314 ~ Client Operating System & Administration
VSPHERE 6 FOUNDATIONS BETA Study Guide QUESTION ANSWER
Get the Most out of SQL Server Standard Edition
Microsoft SQL Server 2014 for Oracle DBAs Module 8
SECTION 1: Add-ons to PowerPoint
Hitting the SQL Server “Go Faster” Button
Installing Software Tutorial 11.
Windows Azure Migrating SQL Server Workloads
Creating a Windows Server 2012 R2 Datacenter Virtual machine
Creating a Windows Server 2016 Datacenter Virtual machine
Introduction of Week 3 Assignment Discussion
Hitting the SQL Server “Go Faster” Button
Windows xp professional
HC Hyper-V Module GUI Portal VPS Templates Web Console
Microsoft SQL Server 2014 for Oracle DBAs Module 2
Oracle Memory Configuration on Windows Server
Your Data Any Place, Any Time
Hybrid Buffer Pool The Good, the Bad and the Ugly
Presentation transcript:

Get the Most out of SQL Server Standard Edition Or How to be a SQL Miser

About Diane Since 1984, I have been in IT. My SQL language and data management experience began in the 90’s, using an Informix database with ARC/Info. I subsequently migrated the data into Oracle, becoming an Oracle Certified DBA. In the early 2000’s I developed data models with ERwin and databases in Oracle and SQL Server for web sites. In 2002 I became a SQL Server DBA for a very busy data center. Currently, as a SQL Server DBA at Economic Research Institute, I manage the database systems in a data center and a co- location site.

Why Standard Edition? SQL Server Enterprise Edition (EE) far more expensive than Standard Edition (SE) Many small business systems are SE Some applications use SE

Pricing Windows 2008 R2 EditionCost Standard Edition$1,209 Enterprise Edition$3,999 SQL Server 2008 R2 EditionCost Per Processor Standard Edition$7, Enterprise Edition$27,495.00

Planning Identify which servers and applications might not require EE or are already SE What features do you really need? What actually improves performance for SE?

EE Features (not in SE) Primarily for very large databases Concurrency – Transaction isolation Level Snapshot Partitioning Data Compression Backup Compression (before 2008 R2) Online Indexing Clustering more than 2 nodes Resource Governor

Limit Development Features Do not want to be dependent on EE features Use the same configuration for development as production Develop and test in SE

Maximize Resources RAM Windows Critical SQL Server After Windows is optimized

Maximize Resources CPU 64 bit better than 32 bit Dual core better than single core Quad core better than dual core

Maximize Resources I/O Same basic tuning as with EE Without the EE features

System Recommendations Windows Server Enterprise 64 bit Very important Higher maximum RAM SQL Server Standard Edition 64 bit 64 bit is highly recommended over 32 bit

Windows 2008 Windows 2008 R2 (64 bit only) MaxSE 32 bitSE 64 bitEE 32 bitEE 64 bit RAM4 GB32 GB64 GB2 TB CPU4488

SQL Server 2008 R2 MaxSEEE CPU88 RAM64 GB2 TB Size524 PB

Shock! n’ AWE! Windows Standard Edition 32 bit normally limited to 4GB RAM 2 GB for Windows 2 GB for application

Windows 32 bit (x86) Windows 32 bit enterprise or data center edition (not standard edition) Set PAE (Physical Address Extension) Edit Boot.ini Add to the last line: /PAE Reboot server for PAE to take affect

Shock! For example: The available RAM changed from 4 GB to 8 GB

AWE! SQL Server Set Address Windowing Extensions (AWE) Increases the available RAM for SQL Server Adjust the maximum memory in SQL SERVER

Enable AWE on 32 bit Enable in SQL Server Management Studio – Right click the server – Properties – Memory – Check mark: Use AWE to allocate memory – Enter: Minimum server memory (in MB) Maximum server memory (in MB) Restart SQL Server service

Enable AWE on 32 bit Or use sp_configure – sp_configure 'show advanced options', 1 – RECONFIGURE – GO – sp_configure 'awe enabled', 1 – RECONFIGURE – GO

Increase SQL Server Memory – exec sp_configure 'show advanced options', 1; – reconfigure; – exec sp_configure; – exec sp_configure 'min server memory (MB)', 2000; – reconfigure; – exec sp_configure 'max server memory (MB)', 6000; – reconfigure; – exec sp_configure; Restart SQL Server service

Lock Pages in Memory For 64-bit, only SQL Server EE can use lock pages in memory If you receive the following message – Address Windowing Extensions (AWE) requires the 'lock pages in memory' privilege which is not currently present in the access token of the process.

Lock pages in Memory Run gpedit.msc. Group Policy – Computer Configuration – Windows Settings – Security Settings – Local Policies Select User Rights Assignment folder. – details pane

Lock pages in Memory Double-click Lock pages in memory Local Security Policy Setting – Add User or Group Add an account with privileges to run sqlservr.exe – Enter the Windows account Restart SQL Server service

Turn off Hyper-Threading Turn off Hyper-Threading on the server Hyper-Threading and SQL Server both use the L1 cache Conflict with each other

Turn off Hyper-Threading If the number of CPUs is twice the physical processors, disable Hyper-Threading During boot up, get into the system settings Processor Settings Logical Processor Change from Enabled to Disabled Reboot Verify in Task Manager

Database Backup Compression 2008 R2 SE has backup compression 2005 and 2008 can use third party – Red Gate SQL Backup – Quest LiteSpeed – Others

Performance Tuning Same as EE except avoid EE features Tuning more critical in SE I/O – Efficient disk configuration – Indexes Identify high cost queries – Query tuning – Stored procedure tuning

ALTER INDEX Use REORGANIZE instead of ONLINE ALTER INDEX MyIndexName ON MyTableName REORGANIZE;

Recap Maximize Windows Server version Enterprise 64 bit Tune 32 bit SQL Server Standard Edition 64 bit Tune 32 bit

Questions ??? LinkedIn PASS WIT Virtual Chapter Slides will be on PNWSQL site