Sql server 2012_sp1_04_of_12_peace_of_mind_level300_dark_deck
 

Sql server 2012_sp1_04_of_12_peace_of_mind_level300_dark_deck

on

  • 535 views

 

Statistics

Views

Total Views
535
Views on SlideShare
535
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Sql server 2012_sp1_04_of_12_peace_of_mind_level300_dark_deck Sql server 2012_sp1_04_of_12_peace_of_mind_level300_dark_deck Presentation Transcript

  • PEACE OF MINDMission Critical Confidence
  • THE FANTASTIC 12 OF 2012 1 2 3 4 5 6 7 8 9 10 11 12
  • PEACE OF MINDHELP ENSURE PEACE OF MIND WITH THE RIGHT TOOLS, SERVICES & SUPPORT
  • PRODUCT IMPROVEMENTSDistributed Replay: Production-like application testing
  • DISTRIBUTED REPLAY
  • DISTRIBUTED REPLAY DATA & WORKFLOW
  • PREPROCESS & REPLAY STEPS
  • REPLAY OPTIONS FOR SEQUENCE CONTROL
  • ADDITIONAL REPLAY FEATURESAdded type support for: sql_variant, money, small moneyHealthmon for deadlock detectionConfigurable query timeoutResult trace collectionExecution success/failureExecution elapsed time (microsec)(On/Off) # of rows in result sets(On/Off) result set contentsSupported SQL Server versions:
  • DISTRIBUTED REPLAY PERFORMANCE & SCALABILITY40 playbacks tested internally:Most run equally fast compared toSQL ProfilerSome run 3x – 10x faster than SQL ProfilerDistributed Replay can scale-out whenneeded, SQL Profiler has no option
  • SYSTEM CENTER ADVISOR
  • SYSTEM CENTER ADVISOR INFRASTRUCTURE
  • PROACTIVE KNOWLEDGE ABOUT SQL SERVER
  • SYSTEM CENTER FOR SQL SERVER DBAS: WHAT & WHY?Improved enterprise-grade database compete (MSFT)Improve the DBA experienceGain enterprise-level visibility into application and database healthManage large virtualized SQL Server environments from single gridmanagement toolLoad balance across physical hosts to maximize hardware investmentsHigh availability with Live MigrationAutomate database provisioningi.e. ACE Insurance, multi-national insurance companyTakes 2-6 weeks to provision databasesAutomate database backups
  • SYSTEM CENTER 2012 OVERVIEWSystem Center + SQL Server: Better togetherImproved compete scenarios against Oracle for large enterprise databasefootprintCustomers leverage a solution they may already ownA complete solution from MicrosoftSystem Center extends into private & public clouds
  • SQL SERVER PERFORMANCE BI IN SCOMPowerPivot & Power View with Tabular models add a newdimension to SCOM data warehouse beyond SCOMReport Builder report models
  • BENEFITS OF ALWAYSON MONITORING IN SCOM
  • OTHER ENHANCEMENTS
  • SYSTEM CENTER DATA PROTECTION MANAGER 2012
  • DPM VALUEApplication-aware disk-to-disk solutionDramatically reduce disk required for SQL Server backupsSimple to setup and useExtended restore requests to Service Desk
  • MAP – FEATURE HIGHLIGHTS
  • MAP 7.0 RELEASENew CapabilitiesSQL Server 2012 Discovery and AssessmentWindows 8 and Windows Server 2012 ReadinessVMware-based virtual machines to Hyper-VAssessmentLinux servers on Hyper-V AssessmentDesktop virtualization AssessmentLync 2012 Licensing AssessmentIn-App Feedback
  • SQL SERVER 2012 EXPRESS LOCALDBWhat is LocalDB?Light-weight version of SQL Server ExpressBenefitsInstallation reduction from 7 min to 1 minInternet connection NOT needed during SetupFewer failure points during SetupResources are not needed when MAP is not runningLimitsEach user has their own LocalDB user instanceDatabase are not shareable, but can be exported/imported
  • SQL SERVER DISCOVERY IMPROVEMENTSExisting ProblemsSQL Server discovery is a lengthy processExisting data collection is too extensiveUnclear which scenario should be selectedGoalsImprove user experience on how to discoverSQL ServerProvide option to quickly discover SQL ServerOnly collect data needed for SQL ServerAssessments and Reports
  • DISCOVERING SQL SERVER SCENARIOSWindows ComputersDiscovers SQL Server and a lot moreSQL ServerDiscovers SQL Server and some Windows ServerinformationOnly the SQL Server reports will be fully populatedSQL Server Inventory with DatabaseDetailsConnects to SQL Server InstanceVMwareTo obtain VMware Host info
  • IMPROVEMENTS95% data reduction79% time reduction for well behaved machines20% time reduction overall
  • UPGRADE ADVISOR
  • UPGRADE PLANNING - PRE-UPGRADECheck environmentRun SQL Server Upgrade AdvisorRun SQL Server Best Practices Analyzer (BPA)Check database consistency (DBCC CHECKDB)Reduce database size (DBCC SHRINKDATABASE)Verify if trace flags should be carried forwardBack up your environmentSystem and user databases including DTS/SSIS packages, DLLs, security keys, etc…Document the entire upgrade process in detail and verify everystep/parameter including dependent components/teams and rollbackCheck for and include latest updates
  • UPGRADE PLANNING - THE UPGRADEVerify upgrade checklistPerform the upgradeVerify upgrade completion and correctnessCheck server, storage and network healthBack up databases after upgradingGo/no-go (checkpoint)Troubleshoot failuresDetermine if rollback is necessaryFinal QA checksSwitch to production
  • UPGRADE DECISIONS & TASK LISTSUpgrade paths: During upgrade:Pros & cons of in-place vs. side-by-side Coordinate migration & testing effortsupgrades SQL 2012 Upgrade AssistantWays to Install SQL 2012: Maintain open & timely communicationFrom the installation wizard (Setup) Mitigate risks & minimize downtimeFrom the command prompt Post-upgrade:Using a configuration file (from a POC): Perform key post-upgrade tasksunattended installs Set up a monitor systemPre-upgrade:Start preparation early and plan wellCreate a SQL version support by app matrixSend out Questionnaire to app owner ASAP
  • SQL SERVER 2012 MAJOR UPGRADE MATRIXVersions can be upgraded to SQL 2012 directlySQL Server 2005 SP4 or laterSQL Server 2008 SP2 or laterSQL Server 2008 R2 SP1 or laterVersions can’t be upgraded to SQL Server 2012 directlySQL Server 2000 SP4 or older: Need to do 2+ upgrades to get to SQL Server 2012
  • SQL SERVER 2012 OS SUPPORT MATRIXSQL Server 2012 supported on these Operating Systems:Windows Vista SP2Windows Server 2008 SP2Windows Server 2008 R2 SP1Windows 7 SP1Windows Server 2012
  • UPGRADE TOOLS*http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=8161
  • RELATED CONTENTAdditional ResourcesMAP 7.0 Overview: http://www.microsoft.com/mapMAP Feedback alias: MAPfdbk@microsoft.com.MAP Team Blog: http://blogs.technet.com/mapblogMAP TechNet: http://technet.microsoft.com/en-us/library/bb977556.aspxSQL Licensing Whitepaper: SQL Licensing Whitepaper
  • WE ARE SEEING IT FIRST-HAND
  • DATABASE AND APPLICATION MIGRATION PROCESS
  • SQL SERVER MIGRATION ASSISTANT (SSMA)Microsoft supported tool to automate all phases of database migration
  • SSMA – FEATURE HIGHLIGHTS
  • SSMA MIGRATION PATH
  • MANY CUSTOMERS WHO HAVE MIGRATED TO SQL SERVER
  • CUSTOMER TESTIMONIALS ABOUT THE SSMA TOOLLearn what some of our customers are saying about the SSMA tool
  • CONVERTING DATA TYPES Dynamic precision and scale Convert to maximum possible NUMBER, VARCHAR2 NUMBER converted to float(53), which has the maximum precision from SQL Server floating-point Wider range of supported value numbers Oracle stores from 4712 while SQL Server’s VARCHAR2 converted to VARCHAR(MAX) DATETIME stores from 01/01/1753 and DATETIME2 stores from 01/01/0001 Project setting TIMESTAMP has nanosecond precision while Specify how to handle out of bound values during DATETIME2 stores up to 100 nanoseconds data migration Error, null, closest supported value Complex data type User defined type: Object type, collections Raise conversion message when user defined type is used in table, view, and PL/SQL program
  • CONVERTING ORACLE PACKAGES Oracle specific implementation to logically Convert to procedure and function with the group schema objects following naming convention dbo.PACKAGENAME$MODULENAME Compare to SQL Server’s Schema: No concept of global package objects Emulate package variable by storing values Variables and constants in a central table No concepts of private/public objects Private functions, procedures, types Inline substitution for module nesting Module nesting Definition of procedures/functions Inside other modules
  • CONVERTING PROCEDURES AND FUNCTIONS No big differences between procedure and Functions converted to function and stored function in Oracle procedure when containing operations Error handling forbidden in functions are needed DML statement: update, insert, delete Such procedures have $IMPL suffix Temporary table access Extended stored procedure to call procedure Calling procedures (except extended procedures) within function and emulate autonomous Parameter transaction Support IN, OUT and IN OUT parameters master..xp_ora2ms_exec2 Scale and precision not specified Parameter overloading Procedures don’t return result sets Use cursors, records and collection as output parameter Autonomous Transaction
  • CONVERTING ORACLE TRIGGERS FOR EACH ROW trigger Row-level triggers are emulated with a The most common Oracle trigger which fires for cursor loop and generate ROWID for table each row of the source statement. with trigger. SQL Server only supports statement level trigger BEFORE triggers are converted to INSTEAD Before trigger OF trigger Possible to modify the actual field values that will be Incorporate triggering statement into the stored in the table, or even cancel the execution trigger body Cursor loop to handle affected multiple rows Allow multiple trigger for each events (INSERT or UPDATE) Logic from all BEFORE triggers on that table SQL Server only support one trigger per event into a single target trigger.
  • CONVERTING ORACLE SEQUENCES Generate number sequence – not bound SQL Server 2012 SEQUENCE to a table One table per sequence NEXTVAL method to generate next value of Uses IDENTITY a sequence Get values through procedures/functions CURRVAL method to retrieve current value Maintenance of the sequence (bound to current Additional procedures to drop/create session scope) Limitation Min/Max values are not enforced Functions are slower Use extended stored procedure to exec procedure some options not available NOCYCLE, NOCACHE, NOORDER
  • © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademar ks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accu racy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.