Nando
2008-05-02 16:10:47 UTC
Hi all,
I'm debugging a TSQLConnection with TSQLMonitor because querys are running
so slow.
I found that using very simple querys like this;
mySQLQuery.Close;
mySQLQuery.SQL.Text := 'SELECT PlnId, Cod_Cups, PtsGrp, Value FROM MyTable
WHERE PlnId = 5';
mySQLQuery.Prepared := True;
mySQLQuery.Open;
The SQLMonitor file shows so many lines not only the one I already show.
Yes, of course I'm debugging line by line and by the time I execute de
mySQLQuery.Open method I have deleted completely the SQLMonitor file.
Why are sent to server so many ...
INTERBASE - isc_dsql_prepare
INTERBASE - isc_dsql_describe_bind
INTERBASE - SQLDialect = 1
INTERBASE - isc_dsql_execute
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_commit_transaction
INTERBASE - isc_dsql_free_statement
INTERBASE - isc_dsql_allocate_statement
INTERBASE - isc_start_transaction
... and many, many other?
Nando.
I'm debugging a TSQLConnection with TSQLMonitor because querys are running
so slow.
I found that using very simple querys like this;
mySQLQuery.Close;
mySQLQuery.SQL.Text := 'SELECT PlnId, Cod_Cups, PtsGrp, Value FROM MyTable
WHERE PlnId = 5';
mySQLQuery.Prepared := True;
mySQLQuery.Open;
The SQLMonitor file shows so many lines not only the one I already show.
Yes, of course I'm debugging line by line and by the time I execute de
mySQLQuery.Open method I have deleted completely the SQLMonitor file.
Why are sent to server so many ...
INTERBASE - isc_dsql_prepare
INTERBASE - isc_dsql_describe_bind
INTERBASE - SQLDialect = 1
INTERBASE - isc_dsql_execute
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_dsql_fetch
INTERBASE - isc_commit_transaction
INTERBASE - isc_dsql_free_statement
INTERBASE - isc_dsql_allocate_statement
INTERBASE - isc_start_transaction
... and many, many other?
Nando.