SQL Server 2005 SP2 Israeli SQL Server User Group March 2005 Ami Levin

Slides:



Advertisements
Similar presentations
Yukon – What is New Rajesh Gala. Yukon – What is new.NET Framework Programming Data Types Exception Handling Batches Databases Database Engine Administration.
Advertisements

Module 13: Performance Tuning. Overview Performance tuning methodologies Instance level Database level Application level Overview of tools and techniques.
Advanced SQL Schema Customization & Reporting Presented By: John Dyke As day to day business needs become more complex so does the need for specifically.
CC SQL Utilities.
Module 12: Auditing SQL Server Environments
Module 17 Tracing Access to SQL Server 2008 R2. Module Overview Capturing Activity using SQL Server Profiler Improving Performance with the Database Engine.
A comparison of MySQL And Oracle Jeremy Haubrich.
Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide May 16 – 18, 2007 Copyright 2007, Data Access Worldwide Standardizing Application.
SQL Server Replication
Chapter 9 Auditing Database Activities
Fundamentals, Design, and Implementation, 9/e Chapter 11 Managing Databases with SQL Server 2000.
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 11 Database Performance Tuning and Query Optimization.
Concepts of Database Management Sixth Edition
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Passage Three Introduction to Microsoft SQL Server 2000.
1 Chapter Overview Transferring and Transforming Data Introducing Microsoft Data Transformation Services (DTS) Transferring and Transforming Data with.
Chapter 1 Introduction Outstanding Features About This Book 1. A novel writing style is adopted to try to attract students’ or beginning programmers’ interesting.
Module 18 Monitoring SQL Server 2008 R2. Module Overview Monitoring Activity Capturing and Managing Performance Data Analyzing Collected Performance Data.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Module 1: Introduction to Microsoft SQL Server 7.0.
Overview of SQL Server Alka Arora.
Chapter 4 SQL. SQL server Microsoft SQL Server is a client/server database management system. Microsoft SQL Server is a client/server database management.
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
How a little code can help with support.. Chris Barba – Developer at Cimarex Energy Blog:
9 Chapter Nine Extracting and Transforming Data with SQL Server 2000.
ASP.NET Programming with C# and SQL Server First Edition
SQL Server 2008 for Developers John
Concepts of Database Management Seventh Edition
Sofia, Bulgaria | 9-10 October SQL Server 2005 High Availability for developers Vladimir Tchalkov Crossroad Ltd. Vladimir Tchalkov Crossroad Ltd.
Module 7: Fundamentals of Administering Windows Server 2008.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
Module 11: Programming Across Multiple Servers. Overview Introducing Distributed Queries Setting Up a Linked Server Environment Working with Linked Servers.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
Concepts of Database Management Seventh Edition
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
Module 6: Implementing SQL Server Replication in an Enterprise Environment.
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
1 Chapter Overview Performing Configuration Tasks Setting Up Additional Features Performing Maintenance Tasks.
A Brief Documentation.  Provides basic information about connection, server, and client.
Module 14 Monitoring and Optimizing SharePoint Performance.
By Shanna Epstein IS 257 September 16, Cnet.com Provides information, tools, and advice to help customers decide what to buy and how to get the.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 9 Auditing Database Activities.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
 Replication is the process of copying database information  Replication is used for:  Backing up your database  Migrating to a new server  Mirroring.
1 Chapter Overview Defining Operators Creating Jobs Configuring Alerts Creating a Database Maintenance Plan Creating Multiserver Jobs.
Module 5: Implementing Merge Replication. Overview Understanding Merge Replication Architecture Implementing Conflict Resolution Planning and Deploying.
SQL Query Analyzer. Graphical tool that allows you to:  Create queries and other SQL scripts and execute them against SQL Server databases. (Query window)
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Creating Simple and Parallel Data Loads With DTS.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to SQL Server  Working with MS SQL Server and SQL Server Management Studio.
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.
Microsoft BI Online Training AcuteSoft: India: , Land Line: +91 (0) USA: , UK.
SQL Database Management
DBMS Programs MS SQL Server & MySQL
With Temporal Tables and More
SQL Server Monitoring Overview
Database Performance Tuning and Query Optimization
Introduction of Week 3 Assignment Discussion
Chapter 8 Advanced SQL.
Chapter 11 Database Performance Tuning and Query Optimization
Chapter 11 Managing Databases with SQL Server 2000
Michelle Haarhues Keeping up with SSMS.
Ch 10. Maintaining and Automating SQL Server
Presentation transcript:

SQL Server 2005 SP2 Israeli SQL Server User Group March 2005 Ami Levin

Redistribution of bugs  cid=kb;en-us; cid=kb;en-us; cid=kb;en-us;  About 140 confirmed bugs fixed Most of them are concerned with AS Most of them are concerned with AS RTM SP SP2

Some interesting ones you might have suffered from and didn’t even know it…  FIX: SQL Server 2005 performance may be slower than SQL Server 2000 performance when you use an API server cursor FIX: SQL Server 2005 performance may be slower than SQL Server 2000 performance when you use an API server cursor  FIX: You notice additional random trailing character in values when you retrieve the values from a fixed-size character column or a fixed-size binary column of a table in SQL Server 2005 FIX: You notice additional random trailing character in values when you retrieve the values from a fixed-size character column or a fixed-size binary column of a table in SQL Server 2005  FIX: A query plan is not cached in SQL Server 2005 when the text of the hint is a large object FIX: A query plan is not cached in SQL Server 2005 when the text of the hint is a large object  FIX: Memory usage of the compiled query plan may unexpectedly increase in SQL Server 2005 FIX: Memory usage of the compiled query plan may unexpectedly increase in SQL Server 2005

  FIX: The BULK INSERT statement may not return any errors when you try to import data from a text file to a table by using the BULK INSERT statement in Microsoft SQL Server 2005  FIX: A query may take longer to run in SQL Server 2005 SP1 than it takes to run in the original release version of SQL Server 2005 or in SQL Server 2000 FIX: A query may take longer to run in SQL Server 2005 SP1 than it takes to run in the original release version of SQL Server 2005 or in SQL Server 2000  FIX: System performance may be slow when an application submits many queries against a SQL Server 2005 database that uses simple parameterization FIX: System performance may be slow when an application submits many queries against a SQL Server 2005 database that uses simple parameterization  FIX: SQL Server 2005 may overestimate the cardinality of the JOIN operator when a SQL Server 2005 query contains a join predicate that is a multicolumn predicate FIX: SQL Server 2005 may overestimate the cardinality of the JOIN operator when a SQL Server 2005 query contains a join predicate that is a multicolumn predicate  FIX: The SQL Server 2005 query optimizer may incorrectly estimate the cardinality for a query that has a predicate that contains an index union alternative FIX: The SQL Server 2005 query optimizer may incorrectly estimate the cardinality for a query that has a predicate that contains an index union alternative  FIX: You may notice a large increase in compile time when you enable trace flags 2389 and 2390 in SQL Server 2005 Service Pack 1 FIX: You may notice a large increase in compile time when you enable trace flags 2389 and 2390 in SQL Server 2005 Service Pack 1

 FIX: A query may take a long time to compile when the query contains several JOIN clauses against a SQL Server 2005 database FIX: A query may take a long time to compile when the query contains several JOIN clauses against a SQL Server 2005 database  FIX: A deadlock occurs and a query never finishes when you run the query on a computer that is running SQL Server 2005 and has multiple processors FIX: A deadlock occurs and a query never finishes when you run the query on a computer that is running SQL Server 2005 and has multiple processors  FIX: When you run a query that references a partitioned table in SQL Server 2005, query performance may decrease FIX: When you run a query that references a partitioned table in SQL Server 2005, query performance may decrease  FIX: You may receive incorrect results when you use the bulk copy program command-line utility to import data in SQL Server 2005 FIX: You may receive incorrect results when you use the bulk copy program command-line utility to import data in SQL Server 2005  FIX: A partitioned table may generate an inefficient query plan when you run a Transact-SQL query that uses the Top n clause on a partitioned table in SQL Server 2005 FIX: A partitioned table may generate an inefficient query plan when you run a Transact-SQL query that uses the Top n clause on a partitioned table in SQL Server 2005  FIX: The restore operation may take a long time to finish when you restore a database in SQL Server 2005 FIX: The restore operation may take a long time to finish when you restore a database in SQL Server 2005

 FIX: You may receive different date values for each row when you use the GETDATE() function within a case statement in SQL Server 2005 FIX: You may receive different date values for each row when you use the GETDATE() function within a case statement in SQL Server 2005  FIX: SQL Server Agent does not send an alert quickly or does not send an alert when you use an alert of the SQL Server event alert type in SQL Server 2005 FIX: SQL Server Agent does not send an alert quickly or does not send an alert when you use an alert of the SQL Server event alert type in SQL Server 2005  FIX: Some search results are missing when you perform a full-text search operation on a Windows SharePoint Services 2.0 site after you upgrade to SQL Server 2005 FIX: Some search results are missing when you perform a full-text search operation on a Windows SharePoint Services 2.0 site after you upgrade to SQL Server 2005  FIX: The full-text index population for the indexed view is very slow in SQL Server 2005 FIX: The full-text index population for the indexed view is very slow in SQL Server 2005

Find and submit bugs and suggestions 

Additional functionality  Maintenance plans SSIS no longer required for using M.P. SSIS no longer required for using M.P. Support for multiple schedules Support for multiple schedules Support for multi-server environments Support for multi-server environments Logging to remote servers Logging to remote servers Clean up task in the wizard Clean up task in the wizard * Important note! Must update pre SP2 cleanup tasks Must update pre SP2 cleanup tasks Minimal interval was in days, SP2 adds hoursMinimal interval was in days, SP2 adds hours for details for details

VARDECIMAL storage option  Only in Enterprise Edition (Developer/Evaluation)  Implemented at table level Physical structural change in table and indexes. Physical structural change in table and indexes. Will lock the table exclusively for the duration of the change. Will lock the table exclusively for the duration of the change.  Run sp_db_vardecimal_storage_format to enable the database, and then sp_tableoption, to enable for the appropriate tables. sp_db_vardecimal_storage_formatsp_tableoptionsp_db_vardecimal_storage_formatsp_tableoption  Cannot be used for system databases 

Logon Triggers USE master; CREATE LOGIN login_test WITH PASSWORD = '3KHJ6dhx(0xVYsdf' GRANT VIEW SERVER STATE TO login_test; CREATE TRIGGER connection_limit_trigger ON ALL SERVER WITH EXECUTE AS 'login_test' FOR LOGON AS BEGIN IF ORIGINAL_LOGIN()= 'login_test' AND (SELECT COUNT(*) FROM sys.dm_exec_sessions WHERE is_user_process = 1 AND original_login_name = 'login_test') > 3 ROLLBACK; END; 

Additional functionality  Common criteria certification  Sqllogship application  SMO enhancements Table.CheckIdentityValue() Table.CheckIdentityValue() Column.AddDefaultConstraint() Column.AddDefaultConstraint()  Replication enhancements In Enterprise Edition, you can now initialize subscriptions to snapshot and transactional publications by using a database snapshot. In Enterprise Edition, you can now initialize subscriptions to snapshot and transactional publications by using a database snapshot. Merge replication now provides a stored procedure that regenerates the triggers, stored procedures, and views that are used to track data changes. Merge replication now provides a stored procedure that regenerates the triggers, stored procedures, and views that are used to track data changes. See sp_vupgrade_mergeobjects.See sp_vupgrade_mergeobjects.sp_vupgrade_mergeobjects.

Compatibility issues  Windows Vista  Office 2007  SharePoint Services 3.0  Oracle data sources that run on version or later for reporting services  Hyperion System 9.3 BI+ Enterprise Analytics data source

Tools enhancements  Management studio custom reports  Scripting Generate script wizard Generate script wizard More control on scripting options More control on scripting options Tools -> Options -> Scripting tabTools -> Options -> Scripting tab  Graphical show plan improved spacing  Linked server dialog box “Test Connection”  For a full list see

Separate features downloads  SQL Server express SP  Updated Books On Line ds/books.mspx ds/books.mspx ds/books.mspx ds/books.mspx  SQL Server 2005 feature pack Feb fa42ec403d17&displaylang=en fa42ec403d17&displaylang=en fa42ec403d17&displaylang=en fa42ec403d17&displaylang=en  Updated samples and sample databases ecf7-9f af89-6ad8702e4e6e&displaylang=en ecf7-9f af89-6ad8702e4e6e&displaylang=en ecf7-9f af89-6ad8702e4e6e&displaylang=en ecf7-9f af89-6ad8702e4e6e&displaylang=en AdventureWorksLT Diet version AdventureWorksLT Diet version

Best practices analyzer CTP  Analyzes SQL Server databases and server configurations with a set of predefined “best practices” rules and generates recommendations.  s.aspx?FamilyId=DA0531E4-E94C FA-F0E3FBD05E63&displaylang=en s.aspx?FamilyId=DA0531E4-E94C FA-F0E3FBD05E63&displaylang=en s.aspx?FamilyId=DA0531E4-E94C FA-F0E3FBD05E63&displaylang=en

Performance dashboard  You are not supposed to see this Official announcement will be in a few weeks so don’t tell anyone I showed it to you… Official announcement will be in a few weeks so don’t tell anyone I showed it to you…  Quest, Symantec etc. beware…  Quest, Symantec etc. beware… Demo