0% found this document useful (0 votes)
54 views3 pages

Chapter 1

The summary provides information about SQL Server Agent, data collection modes, and dynamic management views (DMVs) that can be used to monitor server health and performance: - SQL Server Agent notifies operators if it cannot access system tables in the msdb database, where operator and notification definitions are stored, or if all pager notifications fail. - Data collection mode can be cached or non-cached. Cached supports continuous collection on different schedules, while non-cached is for on-demand or snapshot collection on the same schedule. - DMVs like sys.dm_db_index_operational_stats return server state information that can be used to monitor server instance health, diagnose problems, and tune performance

Uploaded by

hubgate100
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views3 pages

Chapter 1

The summary provides information about SQL Server Agent, data collection modes, and dynamic management views (DMVs) that can be used to monitor server health and performance: - SQL Server Agent notifies operators if it cannot access system tables in the msdb database, where operator and notification definitions are stored, or if all pager notifications fail. - Data collection mode can be cached or non-cached. Cached supports continuous collection on different schedules, while non-cached is for on-demand or snapshot collection on the same schedule. - DMVs like sys.dm_db_index_operational_stats return server state information that can be used to monitor server instance health, diagnose problems, and tune performance

Uploaded by

hubgate100
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

SQL AGENT The fail-safe operator is notified in the following situations: SQL Server Agent cannot access system

tables in the msdb database, which is where operator definitions and notification lists are stored. All pager notifications to designated operators have failed, or the designated operators are off duty (as defined in the pager schedul) DATA Collection mode can be cached or non-cached. Cached mode supports continuous collection, (different schedule) whereas non-cached mode is intended for on-demand collection or a collection snapshotsame schedule Disc usage collection set: info about DB and log file growth and stastical info Non-cached(same schedule). Query statistical: statistical info regaring query cached collection Server activity collection : statistical info regarding resources and performance about server cached collection Facts about SNAPSHOT http://msdn.microsoft.com/en-us/library/ms189940.aspx

: On demand (the default) Evaluates the policy when a user right click on policy and chooses Evaluate. On Schedule Allows you to schedule when the policy is to run. On change: log only Logs any violation of the policy when it is run.

On change: prevent If the action violates the policy it will not allow you to that action. New DATABASE MAILPROFILER Use this page to create a Database Mail profile. A Database Mail profile is a collection of Database Mail accounts. Profiles improve reliability in cases where an e-mail server becomes unreachable, by providing alternative Database Mail accounts. At least one Database Mail account is required. For more information about setting the priority of Database Mail accounts in the profile. Each account has sequence number. DMV Dynamic management views and functions return server state information that can be used to monitor the health of a server instance, diagnose problems, and tune performance sys.dm_db_index_operational_stats (Transact-SQL) sys.dm_db_index_usage_stats (Transact-SQL)

sys.dm_db_index_physical_stats (Transact-SQL) Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the Database Engine or Analysis Services. You can capture and save data about each event to a file or table to analyze later. For example, you can monitor a production environment to see which stored procedures are affecting performance by executing too slowl

Chapter-1

NOFORMAT - Ensures that the backup operation preserves the existing header and backup sets on the media volumes used for this backup operation. This is the default behaviour. INIT specifies that the backup set should be overwritten NAME - Specifies the name of the backup set COMPRESSION - At installation the server default is no backup compression. This has not been changed on this sever so we need to specify it in our backup statement if we want to take advantage of the new feature. This setting is only available in 2008 Enterprise edition STATS is used gauge progress of the backup. In this case every time 10% of the backup completes a message will be written out to management studio query window so you have an idea of where the backup is at...so youll get 10 % complete, 20% complete etc as the backup continues.

Enabling FileStream

http://blogs.msdn.com/b/manisblog/archive/2007/10/21/filestream-data-type-sql-server2008.aspx Before accessing the FileStream and using it we need to Enable the FileStream. For Enabling the FileStream support sp_filestream_configure system stored procedure must be executed. The syntax of the sp_filestream_configure Stored Procedure is as follows: sp_filestream_configure [ [ @enable_level = ] level ] [ [ , @share_name = ] 'share_name' ] ; The parameter @enable_level could be set anywhere between 0 and 3.
0 1 2 3 @enable_level Parameter Values Disabled. This is the default value Enabled only for Transact-SQL access Enabled only for Transact-SQL and local file system access. Enabled for Transact-SQL, local file system access, and remote file system access.

You might also like