Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.DATABASES.INFORMIX
Informix 10 - EXPLAIN
From
guillermovil@gmail.com
@21:1/5 to
All
on Thu Apr 7 08:12:33 2016
Informix 10
------------
I am a newbie to Informix. So my questions might be too basic.
I need to obtain the query plan for a SELECT. I am
using SQL Workbench y Server Studio to run the queries.
Is there a way in INFORMIX as in PostgreSQL or SQL Server to obtain the query plan in the client PC? If yes how?
Thank you in advance and sorry for my english!
Guillermo
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
From
Doug Lawry
@21:1/5 to
All
on Thu Apr 7 21:51:31 2016
Hi Guillermo.
In any SQL client, use one of the following statements:
SET EXPLAIN ON;
SET EXPLAIN ON AVOID_EXECUTE;
This creates sqexplain.out on the server in the user's home directory on Linux/UNIX or $INFORMIXDIR on Windows.
If you have a licence for Server Studio, there is a button to do this with AVOID_EXECUTE, retrieve the file, and display graphically.
Regards,
Doug Lawry
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Jasonrx8
Wed Apr 17 13:08:27 2024
from
Sydney Nsw
via
SSH
Bob Worm
Thu Apr 18 21:44:01 2024
from
Wales, Uk
via
Telnet
Bob Worm
Thu Apr 18 13:24:26 2024
from
Wales, Uk
via
Telnet
Chippey
Fri Apr 19 02:45:49 2024
from
Winnipeg, Canada
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
293
Nodes:
16 (
2
/
14
)
Uptime:
215:18:19
Calls:
6,619
Calls today:
1
Files:
12,169
Messages:
5,317,541