cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
FN
FN
Level VI

Very slow Execute SQL() using ODBC driver

I am able to extract time-series data using JSL and ODBC but JMP is extremely slow.

For example, for a dataset with 50k rows and 5 columns JMP takes 50x longer using the same ODBC driver but its native tool. We breakdown the queries not to have more than 1M rows per query, so the server can handle the load with ease.

I think JMP is prefetching or treating the query as normal SQL.

In the documentation (JMP 18) I found that there are multiple options, but I am not sure how to change them using JSL.

Any ideas?


SQL_connection_str = "DRIVER={...};HOST=servername;PORT=....;MAXROWS=1000000;CHARFLOAT=N;CHARTIME=N;CHARINT=N";

dbc = Create Database Connection( SQL_connection_str );

SQL_query = "SELECT ... WHERE..";

start=tick seconds();

dt_temp = Execute SQL( dbc, SQL_query );

end=tick seconds();

runtime=end-start;
show(runtime);




2 REPLIES 2

Re: Very slow Execute SQL() using ODBC driver

What Database are you using?

FN
FN
Level VI

Re: Very slow Execute SQL() using ODBC driver

Aspentech IP21. JMP uses its 64-bit ODBC driver to connect to it. 


Recommended Articles