设置trace SQL

本文介绍如何使用SelectPeople工具在线更改SQL追踪选项,包括显示SQL语句、参数值、连接和断开调用等。这些设置不影响Configuration Manager的配置,且页面选择不会生效直到保存。

Select PeopleTools, Utilities, Debug, Trace SQL to access the Trace SQL page.

You use this page to change the SQL tracing options while you're online. Your Configuration Manager settings are not affected:

Trace SQL Statement

Select to show the SQL statement.

Trace SQL Bind

Select to show bind values for SQL statements that have parameter markers.

Trace SQL Cursor

Select to show connect, disconnect, commit and rollback calls.

Trace SQL Fetch

Select to show fetch call for Select Statement.

Trace SQL API

Select to show other API calls (Execute, Describe, and so on.)

Trace SQL Set Select Buffer

Select to show Binds for Select columns.

Trace SQL -- Database Level

Select to specify low-level tracing at the database API (ODBC, ct-lib, and so on.)

Trace SQL -- Manager Level

Select to show calls for Cache calls.

The check boxes on the Trace SQL page correspond to options on the Trace tab in the Configuration Manager. However, the selections that appear on this page do not necessarily reflect those that are made in the Configuration Manager. The displayed page selections are not enabled until you save the page.

To enable or disable SQL tracing while online:

  1. Select or deselect the desired trace options.

  2. Save the page.

    If you select any of the check boxes, the system starts writing to the trace file.

转载于:https://www.cnblogs.com/bryanchen/p/3386082.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值