<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>1 Jul 2016 17:11:00 Z</lastBuildDate><pubDate>30 Jun 2016 11:52:00 Z</pubDate><description>Hi,&#13;
&#13;
I use 2 files with the same description, one on MySQL and one on HFSQL.&#13;
I have to update the records of HFSQL file with the records of MySQL file.&#13;
&#13;
I use the column tms_umod (timestamp of the last modification) to know which records need to be updated.&#13;
So I execute this query on HFSQL file:&#13;
"SELECT tms_umod FROM HFile ORDER BY tms_umod DESC LIMIT 1"&#13;
dtLastMod is DateTime = HFile.tms_umod&#13;
&#13;
And then, I execute this one on MySQL file:&#13;
"SELECT * FROM MyFile WHERE tms_umod &gt; dtLastMod"&#13;
&#13;
And then starts the copy..,&#13;
&#13;
The problem for me is the execution of the first query (on HFSQL), it's too slow!! WHY?&#13;
&#13;
I've tried to execute the same query on MySQL and it take less than 0,01 seconds&#13;
&#13;
Thanks&#13;
Best regards&#13;
Dann</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp</link><title>[WD20] Execution of query slow on HFSQL, fast on MySQL</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58441/read.awp</comments><pubDate>1 Jul 2016 17:11:00 Z</pubDate><description>Hi Dann&#13;
&#13;
that does NOT change my answer... I don't know what kind of magic Mysql is using to find a result that fast without a…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58441/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58441/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58440/read.awp</comments><pubDate>1 Jul 2016 15:10:00 Z</pubDate><description>Hi Fabrice,&#13;
also in MySQL the column tms_umod is not an index,&#13;
but the query is so much faster than the same query on HFSQL.&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58440/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58440/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58439/read.awp</comments><pubDate>1 Jul 2016 14:21:00 Z</pubDate><description>Try this:&#13;
&#13;
SELECT max(tms_umod) FROM HFile&#13;
&#13;
asssuming tms_umod was indexed.&#13;
&#13;
HTH&#13;
&#13;
King</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58439/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58439/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58436/read.awp</comments><pubDate>1 Jul 2016 14:01:00 Z</pubDate><description>Hi Dann,&#13;
&#13;
if you don't have an index on tms_umod, then you have your answer...&#13;
&#13;
add one and the result will be MUCH faster..…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58436/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58436/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58425/read.awp</comments><pubDate>1 Jul 2016 08:51:00 Z</pubDate><description>Hi,&#13;
&#13;
@Joris&#13;
Yes I think that ORDER BY is the statement that makes the query slower.&#13;
&#13;
@Fabrice&#13;
I was talking about the quer…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58425/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58425/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58415/read.awp</comments><pubDate>1 Jul 2016 01:25:00 Z</pubDate><description>Hi Dann&#13;
&#13;
I ditched HFSQL years ago as I found it way slower than MySQL, and certainly far less capable when it comes to more c…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58415/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58415/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58404/read.awp</comments><pubDate>30 Jun 2016 16:46:00 Z</pubDate><description>Hi&#13;
&#13;
what is TOO SLOW?&#13;
Is there an index on the timestamp ?&#13;
How is the HFSQL setup (computer, drive, ram, cache=&#13;
Why not do …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58404/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58404/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58402/read.awp</comments><pubDate>30 Jun 2016 16:05:00 Z</pubDate><description>Hi Dann,&#13;
&#13;
Does the use of the 'order by' make any difference in speed?&#13;
&#13;
Regards,&#13;
&#13;
Joris.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58402/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql-58402/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58396-wd20-execution-query-slow-hfsql-fast-mysql/read.awp">[WD20] Execution of query slow on HFSQL, fast on MySQL</source><title>Re: [WD20] Execution of query slow on HFSQL, fast on MySQL</title></item></channel></rss>
