Performance Metric kcml.kdb.prepare

Summary

Preparation of SQL plan

Send Condition

Sent when an SQL plan is prepared using CALL KI_PREPARE or KI_SQL

Overview

Measures the tame taken to parse and prepare an SQL plan.

Statistics

NameTypeDescription
plannumSQL plan
handlenumQuery handle
chandlenumConnection handle
errtextstringDatabase error message
sqlstringSQL statement
timeusecTime taken to prepare
columnscountNumber of columns in the result set
kfnstringKCML database function

General Form

kcml.kdb.prepare,plan=num,handle=num,chandle=num,errtext=string,sql=string,time=usec,columns=count,kfn=string

See Also:

Performance Metrics