+ All Categories
Home > Documents > SQL Server 2005 SP2

SQL Server 2005 SP2

Date post: 03-Jan-2016
Category:
Upload: wang-rosa
View: 29 times
Download: 0 times
Share this document with a friend
Description:
SQL Server 2005 SP2. Israeli SQL Server User Group March 2005 Ami Levin [email protected]. Redistribution of bugs. http://support.microsoft.com/default.aspx?scid=kb;en-us;921896 About 140 confirmed bugs fixed Most of them are concerned with AS. - PowerPoint PPT Presentation
16
SQL Server 2005 SQL Server 2005 SP2 SP2 Israeli SQL Server User Israeli SQL Server User Group Group March 2005 March 2005 Ami Levin Ami Levin [email protected] [email protected]
Transcript
Page 1: SQL Server 2005 SP2

SQL Server 2005 SP2SQL Server 2005 SP2

Israeli SQL Server User GroupIsraeli SQL Server User Group

March 2005March 2005

Ami LevinAmi Levin

[email protected]@gmail.com

Page 2: SQL Server 2005 SP2

Redistribution of bugsRedistribution of bugs

httphttp://://supportsupport..microsoftmicrosoft..comcom//defaultdefault..aspx?scidaspx?scid==kb;enkb;en--us;921896us;921896

About 140 confirmed bugs fixedAbout 140 confirmed bugs fixed Most of them are concerned with ASMost of them are concerned with AS

RTMRTM9.00.13999.00.1399

SP1SP19.00.20479.00.2047

SP2SP29.00.30429.00.3042

Page 3: SQL Server 2005 SP2

Some interesting ones you might have Some interesting ones you might have suffered from and didn’t even know it…suffered from and didn’t even know it…

917905917905 FIX: SQL Server 2005 performance may be slower than SQL FIX: SQL Server 2005 performance may be slower than SQL

Server 2000 performance when you use an API server Server 2000 performance when you use an API server cursorcursor

918276918276 FIX: You notice additional random trailing character in FIX: You notice additional random trailing character in

values when you retrieve the values from a fixed-size values when you retrieve the values from a fixed-size character column or a fixed-size binary column of a table in character column or a fixed-size binary column of a table in SQL Server 2005SQL Server 2005

918882918882 FIX: A query plan is not cached in SQL Server 2005 when FIX: A query plan is not cached in SQL Server 2005 when

the text of the hint is a large objectthe text of the hint is a large object 919636919636

FIX: Memory usage of the compiled query plan may FIX: Memory usage of the compiled query plan may unexpectedly increase in SQL Server 2005unexpectedly increase in SQL Server 2005

Page 4: SQL Server 2005 SP2

919775 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

919905919905 FIX: A query may take longer to run in SQL Server 2005 SP1 than it 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 takes to run in the original release version of SQL Server 2005 or in SQL Server 2000SQL Server 2000

920206920206 FIX: System performance may be slow when an application submits FIX: System performance may be slow when an application submits

many queries against a SQL Server 2005 database that uses simple many queries against a SQL Server 2005 database that uses simple parameterizationparameterization

920346920346 FIX: SQL Server 2005 may overestimate the cardinality of the JOIN FIX: SQL Server 2005 may overestimate the cardinality of the JOIN

operator when a SQL Server 2005 query contains a join predicate operator when a SQL Server 2005 query contains a join predicate that is a multicolumn predicatethat is a multicolumn predicate

920347920347 FIX: The SQL Server 2005 query optimizer may incorrectly estimate FIX: The SQL Server 2005 query optimizer may incorrectly estimate

the cardinality for a query that has a predicate that contains an index the cardinality for a query that has a predicate that contains an index union alternativeunion alternative

922063922063 FIX: You may notice a large increase in compile time when you FIX: You may notice a large increase in compile time when you

enable trace flags 2389 and 2390 in SQL Server 2005 Service Pack 1enable trace flags 2389 and 2390 in SQL Server 2005 Service Pack 1

Page 5: SQL Server 2005 SP2

922438922438 FIX: A query may take a long time to compile when the query FIX: A query may take a long time to compile when the query

contains several JOIN clauses against a SQL Server 2005 databasecontains several JOIN clauses against a SQL Server 2005 database 923605923605

FIX: A deadlock occurs and a query never finishes when you run the 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 query on a computer that is running SQL Server 2005 and has multiple processorsmultiple processors

923849923849 FIX: When you run a query that references a partitioned table in SQL FIX: When you run a query that references a partitioned table in SQL

Server 2005, query performance may decreaseServer 2005, query performance may decrease 924344924344

FIX: You may receive incorrect results when you use the bulk copy FIX: You may receive incorrect results when you use the bulk copy program command-line utility to import data in SQL Server 2005program command-line utility to import data in SQL Server 2005

924601924601 FIX: A partitioned table may generate an inefficient query plan when 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 you run a Transact-SQL query that uses the Top n clause on a partitioned table in SQL Server 2005partitioned table in SQL Server 2005

924807924807 FIX: The restore operation may take a long time to finish when you FIX: The restore operation may take a long time to finish when you

restore a database in SQL Server 2005restore a database in SQL Server 2005

Page 6: SQL Server 2005 SP2

925153925153 FIX: You may receive different date values for each row when you FIX: You may receive different date values for each row when you

use the GETDATE() function within a case statement in SQL Server use the GETDATE() function within a case statement in SQL Server 20052005

926612926612 FIX: SQL Server Agent does not send an alert quickly or does not 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 send an alert when you use an alert of the SQL Server event alert type in SQL Server 2005type in SQL Server 2005

927643927643 FIX: Some search results are missing when you perform a full-text FIX: Some search results are missing when you perform a full-text

search operation on a Windows SharePoint Services 2.0 site after search operation on a Windows SharePoint Services 2.0 site after you upgrade to SQL Server 2005you upgrade to SQL Server 2005

928537928537 FIX: The full-text index population for the indexed view is very slow FIX: The full-text index population for the indexed view is very slow

in SQL Server 2005in SQL Server 2005

Page 7: SQL Server 2005 SP2

Find and submit bugs and suggestionsFind and submit bugs and suggestions

httphttp://://connectconnect..microsoftmicrosoft..comcom//

Page 8: SQL Server 2005 SP2

Additional functionalityAdditional functionality Maintenance plansMaintenance plans

SSIS no longer required for using M.P.SSIS no longer required for using M.P. Support for multiple schedulesSupport for multiple schedules Support for multi-server environmentsSupport for multi-server environments Logging to remote serversLogging to remote servers Clean up task in the wizardClean up task in the wizard

* Important note!* Important note! Must update pre SP2 cleanup tasksMust update pre SP2 cleanup tasks

• Minimal interval was in days, SP2 adds hoursMinimal interval was in days, SP2 adds hours httphttp://://blogsblogs..msdnmsdn..comcom//sqlremsqlrem// for detailsfor details

Page 9: SQL Server 2005 SP2

VARDECIMAL storage optionVARDECIMAL storage option

Only in Enterprise Edition Only in Enterprise Edition (Developer/Evaluation)(Developer/Evaluation) Implemented at table levelImplemented 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 Will lock the table exclusively for the duration of the

change.change. Run Run sp_db_vardecimal_storage_formatsp_db_vardecimal_storage_format to enable to enable

the database, and then the database, and then sp_tableoptionsp_tableoption, to enable , to enable for the appropriate tables.for the appropriate tables.

Cannot be used for system databasesCannot be used for system databases httphttp://://msdn2msdn2..microsoftmicrosoft..comcom//enen--usus//librarylibrary//bb326755bb326755..aspxaspx

Page 10: SQL Server 2005 SP2

Logon TriggersLogon TriggersUSE master; USE master; CREATE LOGIN login_test CREATE LOGIN login_test WITH PASSWORD WITH PASSWORD = = '3KHJ6dhx'3KHJ6dhx((0xVYsdf' 0xVYsdf' GRANT VIEW SERVER STATE TO login_test; GRANT VIEW SERVER STATE TO login_test; CREATE TRIGGER connection_limit_trigger CREATE TRIGGER connection_limit_trigger ON ALL SERVER WITH EXECUTE AS 'login_test' ON ALL SERVER WITH EXECUTE AS 'login_test' FOR LOGON AS FOR LOGON AS BEGIN BEGIN IF ORIGINAL_LOGINIF ORIGINAL_LOGIN()= ()= 'login_test' 'login_test' AND AND ((SELECT COUNTSELECT COUNT(*) (*) FROM FROM

syssys..dm_exec_sessions WHERE is_user_process dm_exec_sessions WHERE is_user_process = = 1 1 AND original_login_name AND original_login_name = = 'login_test''login_test') ) > 3 > 3 ROLLBACK; ROLLBACK;

END; END; httphttp://://msdn2msdn2..microsoftmicrosoft..comcom//enen--usus//librarylibrary//bb326598bb326598..aspxaspx

Page 11: SQL Server 2005 SP2

Additional functionalityAdditional functionality Common criteria certificationCommon criteria certification

httphttp://://msdn2msdn2..microsoftmicrosoft..comcom//enen--usus//librarylibrary//bb153837bb153837..aspxaspx

Sqllogship applicationSqllogship application httphttp://://msdn2msdn2..microsoftmicrosoft..comcom//enen--usus//librarylibrary//bb283327bb283327..aspxaspx

SMO enhancementsSMO enhancements TableTable..CheckIdentityValueCheckIdentityValue() () ColumnColumn..AddDefaultConstraintAddDefaultConstraint()()

Replication enhancementsReplication enhancements In Enterprise Edition, you can now initialize subscriptions to In Enterprise Edition, you can now initialize subscriptions to

snapshot and transactional publications by using a database snapshot and transactional publications by using a database snapshot.snapshot.

Merge replication now provides a stored procedure that Merge replication now provides a stored procedure that regenerates the triggers, stored procedures, and views that are regenerates the triggers, stored procedures, and views that are used to track data changes. used to track data changes.

• See See sp_vupgrade_mergeobjects.sp_vupgrade_mergeobjects.

Page 12: SQL Server 2005 SP2

Compatibility issuesCompatibility issues

Windows VistaWindows Vista Office 2007Office 2007 SharePoint Services 3.0SharePoint Services 3.0 Oracle data sources that run on version Oracle data sources that run on version

9.2.0.3 or later for reporting services9.2.0.3 or later for reporting services Hyperion System 9.3 BIHyperion System 9.3 BI+ + Enterprise Enterprise

Analytics data source Analytics data source

Page 13: SQL Server 2005 SP2

Tools enhancementsTools enhancements

Management studio custom reportsManagement studio custom reports ScriptingScripting

Generate script wizardGenerate script wizard More control on scripting optionsMore control on scripting options

• Tools -> Options -> Scripting tabTools -> Options -> Scripting tab

Graphical show plan improved spacingGraphical show plan improved spacing Linked server dialog box “Test Connection”Linked server dialog box “Test Connection” For a full list see For a full list see

httphttp://://msdn2msdn2..microsoftmicrosoft..comcom//enen--usus//librarylibrary//bb283536bb283536..aspxaspx

Page 14: SQL Server 2005 SP2

Separate features downloadsSeparate features downloads

SQL Server express SP2SQL Server express SP2 httphttp://://gogo..microsoftmicrosoft..comcom//fwlinkfwlink//?linkid?linkid==6406464064

Updated Books On LineUpdated Books On Line httphttp://://wwwwww..microsoftmicrosoft..comcom//technettechnet//prodtechnolprodtechnol//sqlsql//20052005//

downloadsdownloads//booksbooks..mspxmspx SQL Server 2005 feature pack Feb. 2007SQL Server 2005 feature pack Feb. 2007

httphttp://://wwwwww..microsoftmicrosoft..comcom//downloadsdownloads//detailsdetails..aspx?aspx?familyidfamilyid==50b97994-8453-4998-8226-50b97994-8453-4998-8226-fa42ec403d17&displaylangfa42ec403d17&displaylang==enen

Updated samples and sample databasesUpdated samples and sample databases httphttp://://wwwwww..microsoftmicrosoft..comcom//downloadsdownloads//detailsdetails..aspx?aspx?

familyidfamilyid==e719ecf7-9f46-4312-af89-e719ecf7-9f46-4312-af89-6ad8702e4e6e&displaylang6ad8702e4e6e&displaylang==enen

AdventureWorksLT Diet versionAdventureWorksLT Diet version

Page 15: SQL Server 2005 SP2

Best practices analyzer CTPBest practices analyzer CTP

Analyzes SQL Server databases and Analyzes SQL Server databases and server configurations with a set of server configurations with a set of predefined “best practices” rules and predefined “best practices” rules and generates recommendations. generates recommendations.

httphttp://://wwwwww..microsoftmicrosoft..comcom//downloadsdownloads//detailsdetails..aspx?FamilyIdaspx?FamilyId==DA0531E4-E94C-DA0531E4-E94C-4991-82FA4991-82FA--F0E3FBD05E63&displaylangF0E3FBD05E63&displaylang==enen

Page 16: SQL Server 2005 SP2

Performance dashboardPerformance dashboard

You are You are notnot supposed to see this supposed to see this Official announcement will be in a few weeks Official announcement will be in a few weeks

so don’t tell anyone I showed it to you…so don’t tell anyone I showed it to you…

Quest, Symantec etc. beware… Quest, Symantec etc. beware…

DemoDemo


Recommended