Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

Like this presentation? Why not share!

Who Needs Stored Procedures Anyway?

on

  • 2,540 views

 

Statistics

Views

Total Views
2,540
Slideshare-icon Views on SlideShare
2,540
Embed Views
0

Actions

Likes
0
Downloads
6
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

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

    Who Needs Stored Procedures Anyway? Who Needs Stored Procedures Anyway? Presentation Transcript

    • 23ª Reunião Lisboa - 24/09/2011 http://netponto.org Who needs Stored Procedures anyway? Niko Neugebauer
    • Patrocinadores desta reunião
    • Patrocinadores desta reunião
    • Niko NeugebauerSQL Server MVPMCITP Developer 2005Líder e fundador da comunidade SQLPort(http://www.sqlport.com)Mentor Regional PASS para «Western Europe»Consultor da Novabase
    • Agenda• Query Analizer• Queries (aka «Ad Hoc»)• Parametrization: Simple/Forced• Stored Procedures• Memory• Justin Bieber
    • Query Analizer• Analise do Query, Compilação, Geração do plano e ... Execução Compiler Plano de Query Execução
    • Memory• I just can’t get enough• I just can’t get enough• ....• I just can’t get enough• I just can’t get enough
    • Queries «Ad Hoc»Demo
    • Parametrization• Simple• Forced
    • Stored Procs• In da House• É como Java vs Native Code
    • Memory• SQL Server 2008 and SQL Server 2005 SP2* 75% of visible target memory from 0-4GB+ 10% of visible target memory from 4Gb-64GB+ 5% of visible target memory > 64GB• SQL Server 2005 RTM and SQL Server 2005 SP1* 75% of visible target memory from 0-8GB+ 50% of visible target memory from 8Gb-64GB+ 25% of visible target memory > 64GB• SQL Server 2000* SQL Server 2000 4GB upper cap on the plan cache
    • Optimizaçãoexec sp_configure show advanced options, 1;reconfigure;exec sp_configure optimize for ad hoc workloads, 1Reconfigure;
    • ReferênciasProcedure Cache and Optimization for Adhoc Workloads(Kim Tripp) – http://www.sqlskills.com/BLOGS/KIMBERLY/post/Procedure-cache-and- optimizing-for-adhoc-workloads.aspxQuery Parametrization – http://weblogs.sqlteam.com/dang/archive/2009/06/27/Forced- Parameterization-A-Turbo-Button.aspx
    • Questões?
    • Patrocinadores desta reunião
    • Patrocinadores desta reunião
    • Próximas reuniões presenciais• 24/09/2011 – Setembro (2 anos!)• 29/10/2011 – Outubro• 19/11/2011 – Outubro (Coimbra)• 26/11/2011 – Novembro Reserva estes dias na agenda! :)
    • Obrigado!Niko Neugebauerinfo@webcaravela.comhttp://pt.linkedin.com/in/webcaravelahttp://sqlport.comhttp://twitter.com/NikoNeugebauer