The Information tab on the Preferences window for the Performance Monitor determines which of the top SQL statements are highlighted, sets highlighting colors, and sets the automatic display of the connection information when logging on.
In the left pane of the Performance Monitor window, individual SQL statements are displayed when you drill down from Information to Process Information to the Executing SQL Statements. The following settings determine how many SQL statements are highlighted, by what criteria they are sorted, and the color that is used for highlighting.
The top SQL statements are highlighted for you to quickly identify which SQL statements are consuming the most resources.
Specify the number of SQL statements to be highlighted.
Order By (Default = CPU Time(ms))
Select the statistic to sort the SQL statements from the drop-down field.
Highlight Color (Default = Yellow)
Select the color from the drop-down field.
When you drill down to the lowest level of the charts, the data from the table displays in a grid underneath the chart. The column for the statistic that is selected in the left pane is highlighted.
Select the color from the drop-down field.
Specify to exclude the SQL statements that are generated by any of the modules in SQL Optimizer but the Performance Monitor.
Specify to exclude the SQL statements that are generated by the Performance Monitor.
Specify to display the Connection Information window each time you logon if the user logon does not have the database privileges needed for the modules.
The Top-N Display tab on the Preferences window for the Performance Monitor is for determining the percent of each statistics that is retrieved from the monitoring tables.
To select only the top statistics
Select the button on the left for the statistics information and fill in the values on the right for each individual statistic.
Please reference the Adaptive Server Performance and Tuning: Monitor and Analyzing manual for the meaning of each statistic.
Syntax highlighting changes the colors and attributes of the text in the SQL statement display panes, making it easier to quickly identify parts of the code. The text colors and attributes for syntax highlights are defined within the Preferences window.
To change display attributes of the SQL text
Click Preferences
Select the Editor tab.
Under the Editing section, the Syntax highlight checkbox is used to apply the syntax highlight to the code. By default this option is selected.
To modify the colors and attributes, click the corresponding button to open the Syntax Highlight Settings window.
It is possible to define the font format and color for the following elements:
Element | Description |
Adaptive Server SQL reserved words. For example: ADD, ALL, ALTER, AND, ANY, AS, ASC, BACKUP, BEGIN | |
Function |
Adaptive Server build-in functions. For example: ABS, ACOS, ASCII, ASIN, ATAN, ATAN2, CEILING, CHARINDEX |
Comment |
Comment delimiters ( -- ). |
Any text that does not fall in the above categories. | |
Quoted Identifier |
Database object identifier within quotes. |
String |
Text enclosed in single quotes ( ' ' ). |
Number |
Numbers 0 to 9 and floating point. |
Symbol |
Symbols. For example: !, %, ^, &, *, (, ), -, =, +, {, }, ;, ~, <, >, ,, ., /, <=, >= |
Data Type |
Adaptive Server data type. For example: BIT, INT, SMALLINT, DEC, CHAR, VARCHAR, BINARY |
Global Variable |
@@variable accessed by a any program block. |
Local Variable |
@variable accessed by a single program block. |
Temporary Table |
User-Defined Temporary Tables created for the current session. |
System Procedure |
Procedures from the System catalog. |
Invalid object |
Unrecognized database object under the current database and user. |
Force |
Optimizer hints that influence choices of the SQL Server optimizer. |
Difference highlight |
The differences between two SQL for the SQL Comparer window. |
Text selection highlighting. | |
Member Lookup |
Member lookup field. |
Argument Lookup |
Argument lookup field. |
Specify the foreground color of the selected element; use the drop-down list or to select the desired color. Select the Use default foreground color checkbox to use the Windows default text color.
Specify the background color of the selected element; use the drop-down list or click to select the desired color. Select the Use default background color checkbox to use the Windows default background color. By default, this checkbox is selected for all elements.
Specify the font style and size of all editable panes.
Reset the default settings for syntax highlight for all settings.
To change the color and attribute of a particular element
Select the syntax name from the Element option list-box or select the text from the Preview section and change the attributes accordingly.
Changes are reflected on the Preview section, click Apply to implement the changes.
© ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center