View SQL server logs

Source: Internet
Author: User
Tags microsoft sql server 2005 management studio sql server management sql server management studio
Chapter 4 SQL Server 2005 Server Management from SQL Server 3rd to practice (12-hour high definition and interactive video teaching, this chapter describes how to use the management tools provided by SQL Server 2005 to configure and manage database servers and build a stable and high-performance database service environment. This section describes how to view SQL server logs.

AD:


    3.5 view server running status through Logs

    SQL Server 2005 database provides a powerful logging tool to record the running status of the database system. This tool helps you manage servers, especially when an error occurs. You can use the log view function to narrow down the cause and help you identify and solve the problem in a timely manner. The SQL Server database records some system events and user-defined events to SQL Server error logs and Windows applications.ProgramLogs.

    3.5.1 view SQL server logs

    The SQL server log records the complete SQL Server database running status information, and records system-level and application-level operations in the form of messages. You can use SQL Server Management studio to view SQL server logs. The procedure is as follows.

    (1) Select the "Start" | "program" | "Microsoft SQL Server 2005" | "SQL Server Management Studio" command to start the SQL Server Management studio management tool.

    (2) Expand the "server" | "management" | "SQL server log" node in the "Object Resource Manager" component window.

    (3) double-click a log record to open the "Log File Viewer" dialog box, as shown in Figure 3-26.

    (4) Click "filter" to filter and filter SQL server logs. You can select "text contained in a message", "Start Date", and "result date.

    Related Article

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.