In: Categories » Computers and technology » Databases » Managing Monitoring and Troubleshooting SQL Server 2000
|
SQL Server Agent Jobs SQL Server Agent is a job scheduling agent that aids in the management of a SQL server. SQL Server Agent can be started when the operating system starts and is configured through the SQL Service Manager or Enterprise Manager. The SQL Server Agent is responsible for the execution of jobs. Jobs are made up of multiple steps that have instructions on what to do depending on the success or failure of each step in the job. Jobs are assigned to an operator, a user who is responsible for that job. Clients never directly interact with the SQL Server Agent to create or change scheduled jobs as it is controlled purely from data in SQL server tables. When the SQL Server Agent is started, it connects to its instance of SQL Server 2000 and retrieves scheduled jobs, the steps that encompass those jobs, and the possible alerts that may need to be sent. Notification with SQL Server Agent The SQL Server Agent can be configured to send alerts to operators on the success or failure of a job. Alerts can be sent to operators through paging systems, via e-mail, or through the NET SEND command to operators. Instead of an alert, failed job results can be written to an application log. To send an e-mail notification, the SQL Server Agent must have a MAPI-1 compliant e-mail client and a valid e-mail profile. An operator for the job must be named and the SQL Server Agent must have access to contact information for that operator. Alerts can be fired for reasons other than success or failure. The SQL Server Agent can be configured to alert an operator when designated events occur. Alerts can be sent when performance conditions, such as running out of disk space. SQL Profiler The SQL Profiler is a tool that is useful for analyzing the performance of a SQL Server. The SQL Profiler can capture activity that takes place on the SQL server and play it back later for further analysis. SQL Profiler can also simulate load or stress testing. SQL Profiler can view all statements that are running on a system and display graphical information about them. The SQL profiler can be used to determine which SQL statements are consuming the most CPU time and I/O resources. System Monitor The System monitor is the best tool to monitor overall system performance. SQL Server 2000 is able to export performance data to the System Monitor so a picture of the entire system can be seen. This is useful because an administrator can view the SQL server in the context of the entire system instead of by itself. Important counters to monitor are:
|
legal disclaimer
1) Our website is not responsible for the information contained by this article as well for any and all copyright infringements by authors and writers. E-articles is a free information resource. If you suspect this article for any copyright infringements, please read the Terms of service and contact us to investigate the problem.
2) The E-articles directory team is not responsible for inaccuracies, falsehoods, or any other types of misinformation this tutorial may contain and will not be liable for any loss or damage suffered by a user through the user's reliance on the information gained here. Please read the Terms of service
Useful tools and features
related articles
SQL Server 2000 has several components that support the import and export of data. Data Transformation Services (DTS) is used to import and export data between like OLE DB and ODBC sources. A DTS package is defined that specifies the source and target data sources which can then be executed on an ad hoc basis or scheduled to run at predefined times. DTS packages can also specify a query as the source of the data which allows packages to transform data by performing an action like running a query that ret...
2. Basic Terms of Structured Query Language (SQL)
The first questions to ask are what is SQL and how do you use it with databases? SQL has three main roles: 1. Creating a database and defining its structure 2. Querying the database to obtain the data necessary to answer questions 3. Controlling database security Defining database structure includes creating new database tables and fields, setting up rules for data entry, and so on, which is expressed by a SQL sublanguage called Data Control Language (DCL). The next section discusses querying ...
3. Managing and Monitoring SQL Server 2000 Security
Authentication There are two methods of authentication offered SQL Server 2000, Windows authentication and SQL Server authentication. Windows authentication allows the SQL server authentication to be integrated directly with security on a Windows 2000/NT system. Authentication will depend on the security mode that SQL Server 2000 runs under, Windows Authentication mode, or Mixed Mode. If you are running SQL Server 2000, you will need to configure the SQL server to run in mixed mode to allow the non-Win...
4. Managing Monitoring and Troubleshooting SQL Server 2000 Databases
Troubleshooting SQL Databases is an operation that supposes multiple actions. They are described below. Optimizing Database Performance Database performance is an important part of administering a SQL Server 2000 environment. There are many ways that performance can be increased including indexing, locking and recompiling. Indexing Establishing indexes can dramatically increase query performance, but can also adversely affect data modification performance. Any changes to an...
Keeping the following subjects in mind helps ensure that your database design and updates go smoothly. Don’t design a database that copes with the norm. Tempting as it is to design a database that covers most situations, doing so is dangerous. The unexpected happens just when you least expect it, so make sure you design your database to cover all situations that could arise, or at least ensure that it can cope with the unusual situations. Even if a client tells you not to worry about the possibility of two people attem...
6. Why and When to Use a Database
When there are a huge number of alternative ways to store data, why should you trouble yourself creating a database? What advantages does a database hold? The main advantage is fast and efficient data retrieval. A database helps you to organize your data in alogical manner. Database management systems are fine-tuned to rapidly retrieve the data you want in the way you want it. Databases also enable you to break data into specific parts. Retrieving data from a database is called querying. You’ll often see the term SQL query, which brief...
7. Creating SQL Server 2000 Databases
Attaching and Detaching Databases Detaching/attaching is used in moving a database between computers or physical disks. When a database is detached, the links from the server to the data files and transaction logs are removed. When you attach a database, you re-establish those links. When you detach and re-attach, you eliminate the need to restore the database backup manually. When a database is reattached, all files that have changed location must be specified. Filegroups Filegroups ar...
8. Developing Notification Services Applications in SQL server 2005
The process for developing Notification Services applications begins with defining the rules that govern how the application works. Next, you must compile the application. Then you need to construct an interface that allows the user to add subscriptions to the application. Finally, you’ll need to add any custom components that may be needed by the application. Let’s look at each of these steps in more detail. Defining the Application The Notification Services developer uses a combination of XML...










