SlideShare a Scribd company logo
1 of 42
BestPracticesonDeployingPROS withMicrosoftSQLServer MaximizevalueandoperationalefficiencyofPROSpricemanagementsoftware Dr.  Eduardo Castro, MSc ecastro@simsasys.com http://ecastrom.blogspot.com http://comunidadwindows.org http://tiny.cc/comwindows Facebook: ecastrom Twitter: edocastro
Agenda BriefoverviewofthePROSPricingSolutionSuite andMicrosoft®SQLServer®2008R2 SomebestpracticesforthePROSPricingSolutionSuite onSQLServer Summaryandlinksforfurtherinformation
PROSPricingSolutionSuite High-performancescalablearchitecture Hundredsofmanyearsofdevelopmentandscienceeffortarecontained inonecommonsetofcode Arobustplatformthatsupportshigh-performance scalabilityandthatishighlyconfigurable 5
ScientificAnalyticsProvidesVisibility Findandcorrectlow-performingcustomers Gainvisibilityintopriceandmarginleakage Pinpointrootcauseofperformanceand targetimprovement Identify“priceoutliers”withinsegment,target pricingimprovementstovalueproposition Catchchangesinpricingandprofittrendswith alerts Evaluateactionswith“what-if”scenarios Providebenchmarksforpricingimprovement Customers Markets and segments Targeted actions
DealOptimizerandPricingOptimizer Control complex prices Manage price changes Control quotes and deals Centralizecontrolandadministrationofprices Establishpriceguidance Improveplanningandmanagementofpricechanges Approvepricechangesthroughworkflow Communicatepricechangestothefield MakepricesavailableforuseinquotesandERP Analyzeprofitabilityofquotesbeforesendingto customers Feedbacktosalesondealmarginsusingallprices andcosts Ensurepriceguidanceandmargintargetsaremet Managedealapprovalprocess Pricing Optimizer Deal Optimizer
ExampleScenario Salesportalwithintegratedpricingdata Microsoft®Office Microsoft®Excel® Microsoft®Word Microsoft®Outlook® Microsoft®InfoPath® • • • • Microsoft®SharePoint® Server Businessprocessesandforms (WF) Portals Collaboration BusinessDataCatalog(BDC) • • • • MicrosoftDynamics®CRM MicrosoftSQLServer AnalysisServices(SSAS)and IntegrationServices(SSIS) ReportingServices(SSRS) • • Microsoft®Office CommunicationsServer andOfficeCommunicator Microsoft® PerformancePoint®Server
WhatDoesMicrosoftOffer? Microsoft®.NETsupportonservercore InternetInformationServices(IIS)7.0, Microsoft®ASP.NET,andPHP BettertogetherwithWindows®7 Providescloudplatformforscalableapps Automatedservicemanagement Familiarprogrammingmodel,tools Enterprise-classdataplatform Deliversascalablebusinessintelligence (BI)platform Bringsrelationaldatabasemanagement system(RDBMS)tothecloud Extendsline-of-businessapplications Richtools,platformservices Flexibledeployment
SQLServerEnterpriseBenefits Unplanned downtime Reducedowntime thatresultsfrom unexpectedevents Business intelligence Deliverbusinessinsight bytransformingdata intoactionable Disasterrecovery Reduceimpactand quicklyrecoverfrom disasters knowledge EnterpriseEdition Reporting Provideinformation tothepeoplewho needittomake gooddecisions Planneddowntime Reducedowntimefor regularlyscheduled maintenance Server consolidation Reducehardware andsoftwarecostsby combiningservers
Agenda BriefoverviewofthePROSPricingSolutionSuiteand SQLServer2008R2 SomebestpracticesforthePROSPricingSolution SuiteonSQLServer Summaryandlinksforfurtherinformation
SelectWhichFeatures toInstall Thechoicesshownarethe minimumfeaturesforaPROS PricingSolutionSuitedatabase installation
UseaLow-PrivilegeWindowsAccountfor DatabaseandSQLServerAgentServices ItisbesttouseadomainaccountinsteadofaSQLServer accountoralocalaccount ConfiguretheserviceaccountinSQL Server2008SetupattheServer Configurationstep Youcanchangetheserviceaccountlater byusingConfigurationManagerif necessary
GrantPermissiontothe SQLServerService AccounttoAllowFast FileInitializations WithSQLServerEnterprise,you caninitializedatafilesinstantly GrantthePerformvolume maintenancetaskspermission tousefastfileinitialization
SetCollationtoWindowsCollationwhen YouConfigureSQLServer2008 PROSPricingSolutionSuiteis designedtouseWindowsCollation withSQLServer2008 Collationletsthedatabaseengine accountforvarioussorting, comparisonoftextacrosslanguages, andcasesensitivity Setthecollationattheinstancelevel toensurethatitaffectsalldatabases thatareusedbyPROSsoftware SetthecollationatthetimeSQL Serverisinstalled
ChoosetheSecurityMode Configuretheserverauthenticationduringsetup –UseMixedModeauthentication –IftheSQLServerinstance isalreadyinstalled, modifythemodefrom SQLServerManagement Studio WhenchoosingMixedMode,youare requiredtoprovideastrongpassword forthebuilt-insystemadministrator (sa)account.
ConfiguretheDatabaseEngineService toAutomaticallyStart Decidewhichservicestoautomaticallystartduringserver configuration: ConfigureSQLServer Agentwithastartup typeofManualfor productiondatabase servers Configurethe WindowsServer® failoverclusterservice withastartuptypeof Manual Configureastand- alonedatabase instancewithastartup typeofAutomatic Afterinstallation,youcanchangeservicestartup typesinSQLServerConfigurationManager
UseBestPractices toSizeandPlace tempdb Movetempdbtoahigh- performance,fault-tolerant diskvolume(RAID1orRAID 10volumeonfastdisks,or solid-statedrive)during installationorbyusingthe ALTERDATABASEstatement Sizetempdbappropriately Presizetoasufficientlylargesize Ensurethatallthefilesintempdbare identicalinsizebecauseSQLServer 2008usesaproportional-fillalgorithm IncreasetheFILEGROWTHsettingto 50MB Consideraddingmultipledatafilesto thetempdbfilegroup
Configurethe MemoryforSQL Server IfyourPROSPricingSolutionSuite database(data+indexes)isoris expectedtobemuchlargerthanthe totalRAMonthedatabaseserver,PROS recommendsconfiguringtheminimum andmaximumservermemoryoptionsin SQLServer Physical RAM 8GB 16GB 24GB 32GB 48GB 64GB 96GB 128GB MinSQLServermemory 4,096MB 8,192MB 12,288MB 16,384MB 32,768MB 49,152MB 73,728MB 104,448MB MaxSQLServermemory 5,120MB(5GB) 12,288MB(12GB) 18,432MB(18GB) 25,600MB(25GB) 39,936MB(39GB) 56,320MB(55GB) 88,0640MB(86GB) 120,832MB(118GB)
UseData Compression (SQLServer EnterpriseOnly) Datacompressionprovidesspace savingsondisk Becausedatacompressionreduces theamountofdiskI/O,ittendsto improveperformance Datapagesarealsocompressedin thebufferpool,increasingthe effectiveamountofapplication datathatcanbeaccessedfromthe datacacheratherthandisk
Plan,Document, andTestthe Backupand RecoveryStrategy forthePROS Database Themostimportantongoingmaintenance taskforabusiness-criticaldatabasesuchas PROSPricingSolutionSuiteismanaging backups IfyouuseFullrecovery,backupmultiple timesperday IfyouuseSimplerecovery,backupatleast onceaday Storebackupsoffsitewheneverpossible Includeregularbackupsaspartofyour overallstrategy IfyouareusingSQLServer2008Enterprise, usebackupcompression o.
MonitorIndex Fragmentation,and DefragmentWhen Necessary Fragmentationcanreducethespeedof dataaccessandresultinslower applicationperformance Totellwhichindexeshave fragmentationproblems,use sys.dm_db_physical_stats() Trackfragmentationwith avg_fragmentation_in_percent,and chooseacourseofaction Notes: –Reorganizinganindexdoesnotblock useraccesstotheindex –Rebuildingorre-creatingtheindexdoes preventuseraccesstotheindex oToavoidblocking,useALTERINDEX REBUILDwiththeONLINE=ONoption oOnlineindexrebuildrequiresSQLServer 2008Enterprise Fragmentation <5% 5%-30% >30% Recommendedaction Donothing Reorganizewith ALTERINDEXREORGANIZE Rebuildwith ALTERINDEXREBUILDWITH (ONLINE=ON) or CREATEINDEXwithDROP_EXISTING=ON
CheckDatabaseIntegrityRegularly UseDBCCCHECKDB Itisbesttoincludedatabaseintegritychecksinascheduled job Ifproblemsaredetected,restorefromthebackup,orusea repairoptiononDBCCCHECKDB
UsethePROS Auto-Generated IndexedViews PROSautomaticallycreatesthe indexedviewstooptimizequeriesof lookups Indexedviewsareautomatically createdbasedonpricingdimension levels
SettheMaximum Degreeof Parallelism (MDOP)to1 Thisvalueidentifiesthenumber ofthreadsusedtoexecutea parallelplan Changingthissettingreduces blocking,deadlocks,andlocks PROSsoftwareparallelizeswork intheapplicationtier
PROSScientificAnalytics performanceisoptimizedusing AnalysisServices AnalysisServiceswilloptimizePROS performancebasedonuserqueries UseAnalysis ServicesUsage- BasedOptimization
ConsiderCube Partitioningwith MoreThan20 MillionRecords CubepartitioningallowsAnalysis Servicestoleveragemultiplecores –Improvescubeprocessingtime –Improvesquerytime Microsoftgenerallyrecommendsthat partitionsdonothavemorethan20 millionrecords Increasethemaximumnumberof databaseconnectionswhenthenumber ofpartitionsisabove10 –Formoreinformation,seesection 6.10oftheAnalysisServices PerformanceTuningGuide
IncreaseAnalysis ServicesThread Parameters Consideranincreaseof Threadpool/Query/MaxThreadstoless thanorequalto2timesthenumberof cores –Increasesthenumberofqueriesthatcan beservicesconcurrently Consideranincreaseof Threadpool/Process/MaxThreadstoless thanorequalto10timesthenumberof cores –Increasesthenumberofthreadsusedby thestorageengineduringqueryand processingoperations
LimittheNumber ofColumnsin Reportstoa SpecificWorkflow EaseofPROSconfigurationcan resultinmeasureexplosionon reports Limitthenumberofinitial measuresondefault configuration Usersarestillabletoaddand rearrangemeasuresandsaveas aFavorite
PROSInstallerallowsfor specificationofmultiplewebtier andapplicationtierprocesses PROSthreadingarchitectureand dramaticimprovementsincaching technologypromptuseoffewer processeswithincreasedthread limits FavorSingleWeb TierandApplication TierPROS Processesper Server
Consider BackgroundDeal Evaluationand ScheduledPrice Evaluation Largedealscanautomaticallybe senttothebackgroundfor evaluationtofreeupthe browserforotherPROSusage. Anemailissentwhen evaluationiscomplete. Masspriceevaluationscanbe triggeredadhocorputona schedulethroughtheuser interface.
Performance Tools System Performance Monitor (Perfmon) SQL Profiler Trace Dynamic Management Views/Functions DBCC commands SQLDiag (Shipped with SQL 2005/2008) SQLIO, SQLIOSim KernRate Debugging tools (Windbg, DebugDiag,…) More…
	Performance Tools Cont.	- What’s new in SQL Server 2008 Data Collector & Management Data Warehouse (MDW) Extended Events Activity Monitor New DMVs/DMFs
MDW Architecture MDW Host MDW Client Workstation Target Server Snapshot Data Management Studio dcexec.exe MDW Reports SSIS Pkgs Cache Files Collection Set Metadata SQL Agent Job Metadata msdb
Management Data Warehouse Time line Navigation control Resource usage
New and Improved DMVs Memory allocation tracking sys.dm_os_memory_brokers sys.dm_os_memory_nodes Reqource Governor sys.dm_resource_governor_configuration sys.dm_resource_governor_resource_pools sys.dm_resource_governor_workload_groups Query performance (hash value for query and plan) sys.dm_exec_query_stats Sys.dm_exec_requests sys.dm_exec_procedure_stats sys.dm_exec_trigger_stats More…
Bottleneck Analysis Bottleneck – A point or component of a process where throughput is the slowest. Understanding where time is spent Elapsed Time = Running + Waiting Key is the waiting - what type of wait(s)?
Disk I/O Bottleneck Analysis Monitor and identify I/O bottleneck Resource Monitor & Performance Monitor MDW DMV & Extended Events What is driving high I/O load? Inefficient query plan Too much data to read/write Slow I/O subsystem
Resource Monitor File level I/O throughput and disk response time
Agenda BriefoverviewofthePROSPricingSolutionSuiteand SQLServer2008 SomebestpracticesforthePROSPricingSolutionSuite onSQLServer Summaryandlinksforfurtherinformation
Summary SQLServer2008R2 isreadyformission- critical,enterprise deploymentsof PROSPricing SolutionSuite Usingthebest practicesdescribedin thispresentationhelps avoidandminimize performanceproblems Thestrategicalliance betweenPROSand Microsoftdelivers measurablebenefits
LinksforFurtherInformation Readthe“MicrosoftSQLServer2008R2Partner SolutionCaseStudy” SQLServer2008informationcanbefoundinBooksOnline  SQL Server 2008 Books Online: http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983- 4D7A-B628-0A98145BCB97&displaylang=en SQL Server 2008R2 Product Documentation (TechNet): http://technet.microsoft.com/en-us/library/bb418439(SQL.10).aspx SQL Server“Denali” Product Documentation (TechNet): http://technet.microsoft.com/en-us/library/bb418432(SQL.10).aspx – – – SeetheSQL Server Best Practices(http://technet.microsoft.com/en- us/sqlserver/bb671430.aspx)portalfortechnicalwhitepapers,theSQLServerBest PracticesToolbox,Top10Lists,andotherresources TheSQL Server Analysis Services Performance Guide (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3be0488d-e7aa- 4078-a050-ae39912d2e43&DisplayLang=en)providesthedetailsbehindthebest practicesmentioned  
QuestionsandAnswers SubmittextquestionsbyusingtheAskbutton Don’tforgettofilloutthesurvey Forupcomingandpreviouslylivewebcasts,visit www.microsoft.com/webcast Gotwebcastcontentideas?Contactusat http://go.microsoft.com/fwlink/?LinkId=41781
BestPracticesonDeployingPROS withMicrosoftSQLServer MaximizevalueandoperationalefficiencyofPROSpricemanagementsoftware Dr.  Eduardo Castro, MSc ecastro@simsasys.com http://ecastrom.blogspot.com http://comunidadwindows.org http://tiny.cc/comwindows Facebook: ecastrom Twitter: edocastro

More Related Content

Viewers also liked

Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...
Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...
Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...
Viktor Zagreba
 
Certificate of Recognition - Prof. Joyce Kirk
Certificate of Recognition - Prof. Joyce KirkCertificate of Recognition - Prof. Joyce Kirk
Certificate of Recognition - Prof. Joyce Kirk
Mai Trinh
 

Viewers also liked (12)

147 Cedar Hills Drive
147 Cedar Hills Drive147 Cedar Hills Drive
147 Cedar Hills Drive
 
Sourcing talent key recruiting differentiator part 1 B
Sourcing talent  key recruiting differentiator part 1 BSourcing talent  key recruiting differentiator part 1 B
Sourcing talent key recruiting differentiator part 1 B
 
Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...
Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...
Стан безпеки дорожнього руху на вулиці Дніпровській у місті Павлограді та рек...
 
амила
амилаамила
амила
 
Proposal pembuatan seo
Proposal pembuatan seoProposal pembuatan seo
Proposal pembuatan seo
 
Certificate of Recognition - Prof. Joyce Kirk
Certificate of Recognition - Prof. Joyce KirkCertificate of Recognition - Prof. Joyce Kirk
Certificate of Recognition - Prof. Joyce Kirk
 
What is Social Media and Why Should I Care?
What is Social Media and Why Should I Care?What is Social Media and Why Should I Care?
What is Social Media and Why Should I Care?
 
NYU: Measurement Fundamentals
NYU: Measurement FundamentalsNYU: Measurement Fundamentals
NYU: Measurement Fundamentals
 
Holy Prophet PBUH as most mercyful
Holy Prophet PBUH as most mercyfulHoly Prophet PBUH as most mercyful
Holy Prophet PBUH as most mercyful
 
Dottorato ramus presentazione
Dottorato ramus presentazioneDottorato ramus presentazione
Dottorato ramus presentazione
 
Personal branding workshop: All you need to know about Personal Branding by A...
Personal branding workshop: All you need to know about Personal Branding by A...Personal branding workshop: All you need to know about Personal Branding by A...
Personal branding workshop: All you need to know about Personal Branding by A...
 
How to Experience a Living Volcano
How to Experience a Living VolcanoHow to Experience a Living Volcano
How to Experience a Living Volcano
 

Similar to Mejores Practicas Implementar PRO SQL Server

OTTAVIO C. D'ANGELIS DDD
OTTAVIO C. D'ANGELIS DDDOTTAVIO C. D'ANGELIS DDD
OTTAVIO C. D'ANGELIS DDD
Tavio D'Angelis
 
Soroka Resume 2016 Rev.2
Soroka Resume 2016 Rev.2Soroka Resume 2016 Rev.2
Soroka Resume 2016 Rev.2
Andrew Soroka
 
A tendência do desenvolvimento de software gerenciado e operado na nuvem
A tendência do desenvolvimento de software gerenciado e operado na nuvemA tendência do desenvolvimento de software gerenciado e operado na nuvem
A tendência do desenvolvimento de software gerenciado e operado na nuvem
Ricardo Serradas
 

Similar to Mejores Practicas Implementar PRO SQL Server (20)

Resume
ResumeResume
Resume
 
Resume Chris Mascuilli 3
Resume Chris Mascuilli 3Resume Chris Mascuilli 3
Resume Chris Mascuilli 3
 
TVS for vROps - Microsoft SCOM
TVS for vROps - Microsoft SCOMTVS for vROps - Microsoft SCOM
TVS for vROps - Microsoft SCOM
 
OTTAVIO C. D'ANGELIS DDD
OTTAVIO C. D'ANGELIS DDDOTTAVIO C. D'ANGELIS DDD
OTTAVIO C. D'ANGELIS DDD
 
Resume
ResumeResume
Resume
 
KamleshKumarPatel
KamleshKumarPatelKamleshKumarPatel
KamleshKumarPatel
 
Lalith Thota
Lalith ThotaLalith Thota
Lalith Thota
 
Skanthan thiru
Skanthan thiruSkanthan thiru
Skanthan thiru
 
Soroka Resume 2016 Rev.2
Soroka Resume 2016 Rev.2Soroka Resume 2016 Rev.2
Soroka Resume 2016 Rev.2
 
Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
Gapand 2017 - Diseñando Arquitecturas Serverless en AzureGapand 2017 - Diseñando Arquitecturas Serverless en Azure
Gapand 2017 - Diseñando Arquitecturas Serverless en Azure
 
A tendência do desenvolvimento de software gerenciado e operado na nuvem
A tendência do desenvolvimento de software gerenciado e operado na nuvemA tendência do desenvolvimento de software gerenciado e operado na nuvem
A tendência do desenvolvimento de software gerenciado e operado na nuvem
 
A tendência do desenvolvimento de software gerenciado e operado na nuvem
A tendência do desenvolvimento de software gerenciado e operado na nuvemA tendência do desenvolvimento de software gerenciado e operado na nuvem
A tendência do desenvolvimento de software gerenciado e operado na nuvem
 
Microsoft Dynamics AX
Microsoft Dynamics AXMicrosoft Dynamics AX
Microsoft Dynamics AX
 
Secure development in .NET with EPiServer Solita
Secure development in .NET with EPiServer SolitaSecure development in .NET with EPiServer Solita
Secure development in .NET with EPiServer Solita
 
ASP.NET Core dospělo už i v Linuxu
ASP.NET Core dospělo už i v LinuxuASP.NET Core dospělo už i v Linuxu
ASP.NET Core dospělo už i v Linuxu
 
Prashant Kumar
Prashant KumarPrashant Kumar
Prashant Kumar
 
Alfresco business process management
Alfresco business process managementAlfresco business process management
Alfresco business process management
 
ASPNET Roadmap
ASPNET RoadmapASPNET Roadmap
ASPNET Roadmap
 
Resume: DevOps/Technology Architect - Satya Prakash
Resume: DevOps/Technology Architect   -  Satya PrakashResume: DevOps/Technology Architect   -  Satya Prakash
Resume: DevOps/Technology Architect - Satya Prakash
 
GHC17 Abstract: From Monolith to Microservices
GHC17 Abstract: From Monolith to MicroservicesGHC17 Abstract: From Monolith to Microservices
GHC17 Abstract: From Monolith to Microservices
 

More from Eduardo Castro

More from Eduardo Castro (20)

Introducción a polybase en SQL Server
Introducción a polybase en SQL ServerIntroducción a polybase en SQL Server
Introducción a polybase en SQL Server
 
Creando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL ServerCreando tu primer ambiente de AI en Azure ML y SQL Server
Creando tu primer ambiente de AI en Azure ML y SQL Server
 
Seguridad en SQL Azure
Seguridad en SQL AzureSeguridad en SQL Azure
Seguridad en SQL Azure
 
Azure Synapse Analytics MLflow
Azure Synapse Analytics MLflowAzure Synapse Analytics MLflow
Azure Synapse Analytics MLflow
 
SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022SQL Server 2019 con Windows Server 2022
SQL Server 2019 con Windows Server 2022
 
Novedades en SQL Server 2022
Novedades en SQL Server 2022Novedades en SQL Server 2022
Novedades en SQL Server 2022
 
Introduccion a SQL Server 2022
Introduccion a SQL Server 2022Introduccion a SQL Server 2022
Introduccion a SQL Server 2022
 
Machine Learning con Azure Managed Instance
Machine Learning con Azure Managed InstanceMachine Learning con Azure Managed Instance
Machine Learning con Azure Managed Instance
 
Novedades en sql server 2022
Novedades en sql server 2022Novedades en sql server 2022
Novedades en sql server 2022
 
Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022Sql server 2019 con windows server 2022
Sql server 2019 con windows server 2022
 
Introduccion a databricks
Introduccion a databricksIntroduccion a databricks
Introduccion a databricks
 
Pronosticos con sql server
Pronosticos con sql serverPronosticos con sql server
Pronosticos con sql server
 
Data warehouse con azure synapse analytics
Data warehouse con azure synapse analyticsData warehouse con azure synapse analytics
Data warehouse con azure synapse analytics
 
Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2Que hay de nuevo en el Azure Data Lake Storage Gen2
Que hay de nuevo en el Azure Data Lake Storage Gen2
 
Introduccion a Azure Synapse Analytics
Introduccion a Azure Synapse AnalyticsIntroduccion a Azure Synapse Analytics
Introduccion a Azure Synapse Analytics
 
Seguridad de SQL Database en Azure
Seguridad de SQL Database en AzureSeguridad de SQL Database en Azure
Seguridad de SQL Database en Azure
 
Python dentro de SQL Server
Python dentro de SQL ServerPython dentro de SQL Server
Python dentro de SQL Server
 
Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft Servicios Cognitivos de de Microsoft
Servicios Cognitivos de de Microsoft
 
Script de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure EnclavesScript de paso a paso de configuración de Secure Enclaves
Script de paso a paso de configuración de Secure Enclaves
 
Introducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure EnclavesIntroducción a conceptos de SQL Server Secure Enclaves
Introducción a conceptos de SQL Server Secure Enclaves
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 

Mejores Practicas Implementar PRO SQL Server

  • 1. BestPracticesonDeployingPROS withMicrosoftSQLServer MaximizevalueandoperationalefficiencyofPROSpricemanagementsoftware Dr. Eduardo Castro, MSc ecastro@simsasys.com http://ecastrom.blogspot.com http://comunidadwindows.org http://tiny.cc/comwindows Facebook: ecastrom Twitter: edocastro
  • 2. Agenda BriefoverviewofthePROSPricingSolutionSuite andMicrosoft®SQLServer®2008R2 SomebestpracticesforthePROSPricingSolutionSuite onSQLServer Summaryandlinksforfurtherinformation
  • 3. PROSPricingSolutionSuite High-performancescalablearchitecture Hundredsofmanyearsofdevelopmentandscienceeffortarecontained inonecommonsetofcode Arobustplatformthatsupportshigh-performance scalabilityandthatishighlyconfigurable 5
  • 4. ScientificAnalyticsProvidesVisibility Findandcorrectlow-performingcustomers Gainvisibilityintopriceandmarginleakage Pinpointrootcauseofperformanceand targetimprovement Identify“priceoutliers”withinsegment,target pricingimprovementstovalueproposition Catchchangesinpricingandprofittrendswith alerts Evaluateactionswith“what-if”scenarios Providebenchmarksforpricingimprovement Customers Markets and segments Targeted actions
  • 5. DealOptimizerandPricingOptimizer Control complex prices Manage price changes Control quotes and deals Centralizecontrolandadministrationofprices Establishpriceguidance Improveplanningandmanagementofpricechanges Approvepricechangesthroughworkflow Communicatepricechangestothefield MakepricesavailableforuseinquotesandERP Analyzeprofitabilityofquotesbeforesendingto customers Feedbacktosalesondealmarginsusingallprices andcosts Ensurepriceguidanceandmargintargetsaremet Managedealapprovalprocess Pricing Optimizer Deal Optimizer
  • 6. ExampleScenario Salesportalwithintegratedpricingdata Microsoft®Office Microsoft®Excel® Microsoft®Word Microsoft®Outlook® Microsoft®InfoPath® • • • • Microsoft®SharePoint® Server Businessprocessesandforms (WF) Portals Collaboration BusinessDataCatalog(BDC) • • • • MicrosoftDynamics®CRM MicrosoftSQLServer AnalysisServices(SSAS)and IntegrationServices(SSIS) ReportingServices(SSRS) • • Microsoft®Office CommunicationsServer andOfficeCommunicator Microsoft® PerformancePoint®Server
  • 7. WhatDoesMicrosoftOffer? Microsoft®.NETsupportonservercore InternetInformationServices(IIS)7.0, Microsoft®ASP.NET,andPHP BettertogetherwithWindows®7 Providescloudplatformforscalableapps Automatedservicemanagement Familiarprogrammingmodel,tools Enterprise-classdataplatform Deliversascalablebusinessintelligence (BI)platform Bringsrelationaldatabasemanagement system(RDBMS)tothecloud Extendsline-of-businessapplications Richtools,platformservices Flexibledeployment
  • 8. SQLServerEnterpriseBenefits Unplanned downtime Reducedowntime thatresultsfrom unexpectedevents Business intelligence Deliverbusinessinsight bytransformingdata intoactionable Disasterrecovery Reduceimpactand quicklyrecoverfrom disasters knowledge EnterpriseEdition Reporting Provideinformation tothepeoplewho needittomake gooddecisions Planneddowntime Reducedowntimefor regularlyscheduled maintenance Server consolidation Reducehardware andsoftwarecostsby combiningservers
  • 9. Agenda BriefoverviewofthePROSPricingSolutionSuiteand SQLServer2008R2 SomebestpracticesforthePROSPricingSolution SuiteonSQLServer Summaryandlinksforfurtherinformation
  • 10. SelectWhichFeatures toInstall Thechoicesshownarethe minimumfeaturesforaPROS PricingSolutionSuitedatabase installation
  • 11. UseaLow-PrivilegeWindowsAccountfor DatabaseandSQLServerAgentServices ItisbesttouseadomainaccountinsteadofaSQLServer accountoralocalaccount ConfiguretheserviceaccountinSQL Server2008SetupattheServer Configurationstep Youcanchangetheserviceaccountlater byusingConfigurationManagerif necessary
  • 12. GrantPermissiontothe SQLServerService AccounttoAllowFast FileInitializations WithSQLServerEnterprise,you caninitializedatafilesinstantly GrantthePerformvolume maintenancetaskspermission tousefastfileinitialization
  • 13. SetCollationtoWindowsCollationwhen YouConfigureSQLServer2008 PROSPricingSolutionSuiteis designedtouseWindowsCollation withSQLServer2008 Collationletsthedatabaseengine accountforvarioussorting, comparisonoftextacrosslanguages, andcasesensitivity Setthecollationattheinstancelevel toensurethatitaffectsalldatabases thatareusedbyPROSsoftware SetthecollationatthetimeSQL Serverisinstalled
  • 14. ChoosetheSecurityMode Configuretheserverauthenticationduringsetup –UseMixedModeauthentication –IftheSQLServerinstance isalreadyinstalled, modifythemodefrom SQLServerManagement Studio WhenchoosingMixedMode,youare requiredtoprovideastrongpassword forthebuilt-insystemadministrator (sa)account.
  • 15. ConfiguretheDatabaseEngineService toAutomaticallyStart Decidewhichservicestoautomaticallystartduringserver configuration: ConfigureSQLServer Agentwithastartup typeofManualfor productiondatabase servers Configurethe WindowsServer® failoverclusterservice withastartuptypeof Manual Configureastand- alonedatabase instancewithastartup typeofAutomatic Afterinstallation,youcanchangeservicestartup typesinSQLServerConfigurationManager
  • 16. UseBestPractices toSizeandPlace tempdb Movetempdbtoahigh- performance,fault-tolerant diskvolume(RAID1orRAID 10volumeonfastdisks,or solid-statedrive)during installationorbyusingthe ALTERDATABASEstatement Sizetempdbappropriately Presizetoasufficientlylargesize Ensurethatallthefilesintempdbare identicalinsizebecauseSQLServer 2008usesaproportional-fillalgorithm IncreasetheFILEGROWTHsettingto 50MB Consideraddingmultipledatafilesto thetempdbfilegroup
  • 17. Configurethe MemoryforSQL Server IfyourPROSPricingSolutionSuite database(data+indexes)isoris expectedtobemuchlargerthanthe totalRAMonthedatabaseserver,PROS recommendsconfiguringtheminimum andmaximumservermemoryoptionsin SQLServer Physical RAM 8GB 16GB 24GB 32GB 48GB 64GB 96GB 128GB MinSQLServermemory 4,096MB 8,192MB 12,288MB 16,384MB 32,768MB 49,152MB 73,728MB 104,448MB MaxSQLServermemory 5,120MB(5GB) 12,288MB(12GB) 18,432MB(18GB) 25,600MB(25GB) 39,936MB(39GB) 56,320MB(55GB) 88,0640MB(86GB) 120,832MB(118GB)
  • 18. UseData Compression (SQLServer EnterpriseOnly) Datacompressionprovidesspace savingsondisk Becausedatacompressionreduces theamountofdiskI/O,ittendsto improveperformance Datapagesarealsocompressedin thebufferpool,increasingthe effectiveamountofapplication datathatcanbeaccessedfromthe datacacheratherthandisk
  • 19. Plan,Document, andTestthe Backupand RecoveryStrategy forthePROS Database Themostimportantongoingmaintenance taskforabusiness-criticaldatabasesuchas PROSPricingSolutionSuiteismanaging backups IfyouuseFullrecovery,backupmultiple timesperday IfyouuseSimplerecovery,backupatleast onceaday Storebackupsoffsitewheneverpossible Includeregularbackupsaspartofyour overallstrategy IfyouareusingSQLServer2008Enterprise, usebackupcompression o.
  • 20. MonitorIndex Fragmentation,and DefragmentWhen Necessary Fragmentationcanreducethespeedof dataaccessandresultinslower applicationperformance Totellwhichindexeshave fragmentationproblems,use sys.dm_db_physical_stats() Trackfragmentationwith avg_fragmentation_in_percent,and chooseacourseofaction Notes: –Reorganizinganindexdoesnotblock useraccesstotheindex –Rebuildingorre-creatingtheindexdoes preventuseraccesstotheindex oToavoidblocking,useALTERINDEX REBUILDwiththeONLINE=ONoption oOnlineindexrebuildrequiresSQLServer 2008Enterprise Fragmentation <5% 5%-30% >30% Recommendedaction Donothing Reorganizewith ALTERINDEXREORGANIZE Rebuildwith ALTERINDEXREBUILDWITH (ONLINE=ON) or CREATEINDEXwithDROP_EXISTING=ON
  • 21. CheckDatabaseIntegrityRegularly UseDBCCCHECKDB Itisbesttoincludedatabaseintegritychecksinascheduled job Ifproblemsaredetected,restorefromthebackup,orusea repairoptiononDBCCCHECKDB
  • 22. UsethePROS Auto-Generated IndexedViews PROSautomaticallycreatesthe indexedviewstooptimizequeriesof lookups Indexedviewsareautomatically createdbasedonpricingdimension levels
  • 23. SettheMaximum Degreeof Parallelism (MDOP)to1 Thisvalueidentifiesthenumber ofthreadsusedtoexecutea parallelplan Changingthissettingreduces blocking,deadlocks,andlocks PROSsoftwareparallelizeswork intheapplicationtier
  • 24. PROSScientificAnalytics performanceisoptimizedusing AnalysisServices AnalysisServiceswilloptimizePROS performancebasedonuserqueries UseAnalysis ServicesUsage- BasedOptimization
  • 25. ConsiderCube Partitioningwith MoreThan20 MillionRecords CubepartitioningallowsAnalysis Servicestoleveragemultiplecores –Improvescubeprocessingtime –Improvesquerytime Microsoftgenerallyrecommendsthat partitionsdonothavemorethan20 millionrecords Increasethemaximumnumberof databaseconnectionswhenthenumber ofpartitionsisabove10 –Formoreinformation,seesection 6.10oftheAnalysisServices PerformanceTuningGuide
  • 26. IncreaseAnalysis ServicesThread Parameters Consideranincreaseof Threadpool/Query/MaxThreadstoless thanorequalto2timesthenumberof cores –Increasesthenumberofqueriesthatcan beservicesconcurrently Consideranincreaseof Threadpool/Process/MaxThreadstoless thanorequalto10timesthenumberof cores –Increasesthenumberofthreadsusedby thestorageengineduringqueryand processingoperations
  • 27. LimittheNumber ofColumnsin Reportstoa SpecificWorkflow EaseofPROSconfigurationcan resultinmeasureexplosionon reports Limitthenumberofinitial measuresondefault configuration Usersarestillabletoaddand rearrangemeasuresandsaveas aFavorite
  • 28. PROSInstallerallowsfor specificationofmultiplewebtier andapplicationtierprocesses PROSthreadingarchitectureand dramaticimprovementsincaching technologypromptuseoffewer processeswithincreasedthread limits FavorSingleWeb TierandApplication TierPROS Processesper Server
  • 29. Consider BackgroundDeal Evaluationand ScheduledPrice Evaluation Largedealscanautomaticallybe senttothebackgroundfor evaluationtofreeupthe browserforotherPROSusage. Anemailissentwhen evaluationiscomplete. Masspriceevaluationscanbe triggeredadhocorputona schedulethroughtheuser interface.
  • 30. Performance Tools System Performance Monitor (Perfmon) SQL Profiler Trace Dynamic Management Views/Functions DBCC commands SQLDiag (Shipped with SQL 2005/2008) SQLIO, SQLIOSim KernRate Debugging tools (Windbg, DebugDiag,…) More…
  • 31. Performance Tools Cont. - What’s new in SQL Server 2008 Data Collector & Management Data Warehouse (MDW) Extended Events Activity Monitor New DMVs/DMFs
  • 32. MDW Architecture MDW Host MDW Client Workstation Target Server Snapshot Data Management Studio dcexec.exe MDW Reports SSIS Pkgs Cache Files Collection Set Metadata SQL Agent Job Metadata msdb
  • 33. Management Data Warehouse Time line Navigation control Resource usage
  • 34. New and Improved DMVs Memory allocation tracking sys.dm_os_memory_brokers sys.dm_os_memory_nodes Reqource Governor sys.dm_resource_governor_configuration sys.dm_resource_governor_resource_pools sys.dm_resource_governor_workload_groups Query performance (hash value for query and plan) sys.dm_exec_query_stats Sys.dm_exec_requests sys.dm_exec_procedure_stats sys.dm_exec_trigger_stats More…
  • 35. Bottleneck Analysis Bottleneck – A point or component of a process where throughput is the slowest. Understanding where time is spent Elapsed Time = Running + Waiting Key is the waiting - what type of wait(s)?
  • 36. Disk I/O Bottleneck Analysis Monitor and identify I/O bottleneck Resource Monitor & Performance Monitor MDW DMV & Extended Events What is driving high I/O load? Inefficient query plan Too much data to read/write Slow I/O subsystem
  • 37. Resource Monitor File level I/O throughput and disk response time
  • 38. Agenda BriefoverviewofthePROSPricingSolutionSuiteand SQLServer2008 SomebestpracticesforthePROSPricingSolutionSuite onSQLServer Summaryandlinksforfurtherinformation
  • 39. Summary SQLServer2008R2 isreadyformission- critical,enterprise deploymentsof PROSPricing SolutionSuite Usingthebest practicesdescribedin thispresentationhelps avoidandminimize performanceproblems Thestrategicalliance betweenPROSand Microsoftdelivers measurablebenefits
  • 40. LinksforFurtherInformation Readthe“MicrosoftSQLServer2008R2Partner SolutionCaseStudy” SQLServer2008informationcanbefoundinBooksOnline  SQL Server 2008 Books Online: http://www.microsoft.com/downloads/details.aspx?FamilyId=765433F7-0983- 4D7A-B628-0A98145BCB97&displaylang=en SQL Server 2008R2 Product Documentation (TechNet): http://technet.microsoft.com/en-us/library/bb418439(SQL.10).aspx SQL Server“Denali” Product Documentation (TechNet): http://technet.microsoft.com/en-us/library/bb418432(SQL.10).aspx – – – SeetheSQL Server Best Practices(http://technet.microsoft.com/en- us/sqlserver/bb671430.aspx)portalfortechnicalwhitepapers,theSQLServerBest PracticesToolbox,Top10Lists,andotherresources TheSQL Server Analysis Services Performance Guide (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3be0488d-e7aa- 4078-a050-ae39912d2e43&DisplayLang=en)providesthedetailsbehindthebest practicesmentioned  
  • 41. QuestionsandAnswers SubmittextquestionsbyusingtheAskbutton Don’tforgettofilloutthesurvey Forupcomingandpreviouslylivewebcasts,visit www.microsoft.com/webcast Gotwebcastcontentideas?Contactusat http://go.microsoft.com/fwlink/?LinkId=41781
  • 42. BestPracticesonDeployingPROS withMicrosoftSQLServer MaximizevalueandoperationalefficiencyofPROSpricemanagementsoftware Dr. Eduardo Castro, MSc ecastro@simsasys.com http://ecastrom.blogspot.com http://comunidadwindows.org http://tiny.cc/comwindows Facebook: ecastrom Twitter: edocastro