Forum OpenACS Q&A: Re: get sqlplus to send rows to /dev/null ?

Collapse
Posted by Brian Fenton on
Hi Andrew
there is such a switch:
get rid of your
set autotrace on explain
set autotrace on

and just use
SET AUTOTRACE TRACEONLY EXPLAIN

Brian

Collapse
Posted by Andrew Piskorski on
No Brian, traceonly does not execute the query, it only shows you its execution plan, which is exactly what I said I didn't want. I want execution times, but uncorrupted by the (large!) time it takes for sqlplus to spit the rows into an Emacs buffer

A shell script that reads a query from a file, executes it, and reports timing results seems like the way to go. I have a simple version of that now.