Page 1 of 2
Which features do you want to see in next MyDAC versions?
Posted: Tue 27 Sep 2005 07:18
by Devart
You can dedicate all three votes for single feature or distribute them for different features.
All three votes are used one by one by pushing "Submit Vote" button. Only users registered on the forum can vote.
Posted: Tue 27 Sep 2005 10:21
by swierzbicki
All these features are interresting ! You should implement all of them in the next release

.
Anyways, doing such poll is really appreciable and demonstrate Core Lab professionalism towards the Delphi community.
Thumb up to Core lab

Posted: Wed 28 Sep 2005 11:33
by GEswin
All nice features
Just my comments;
TMyQuery.BreakExec. Add capability to break execution of any long query from another thread
This is delicated, breaking query would mean server rollback, sometimes it worse rollback than leaving running until end.
There are also other requested things, like removing the Database_Name when creating SQL with SQLBuilder.
Now MySQL v5 is already in Release Candidate stage, so it will be also nice to have full MySQL 5 support

Posted: Wed 28 Sep 2005 15:10
by Ikar
> This is delicated, breaking query would mean server rollback, sometimes
> it worse rollback than leaving running until end.
Yes, restrictions are unavoidable. We plan to do this task using KILL statement.
> Now MySQL v5 is already in Release Candidate stage, so it will be also
> nice to have full MySQL 5 support
What MySQL 5 features do you mean?
Posted: Wed 28 Sep 2005 16:12
by swierzbicki
Is it possible to implement such extention to the param type :
AsIntegerList
AsStringList
AsFloatList ...
This is usefull when dealing with list :
Select ID from Table
Where ID in ( 1,2,3 )
Posted: Wed 28 Sep 2005 16:14
by GEswin
I haven't tried MySQL v5, it was just a general comment/idea. I see it has views/triggers/storedprocedures & dataschema, and afaik also some new field-types, but as said, i didn't try any of them right now, but I will soon.
Posted: Thu 29 Sep 2005 08:07
by Ikar
swierzbicki wrote:Is it possible to implement such extention to the param type :
AsIntegerList
AsStringList
AsFloatList ...
Both MySQL or VCL does not support this behavior. It is unlikely that we implement it in the foreseeable future.
Posted: Thu 29 Sep 2005 08:07
by Ikar
GEswin wrote:I haven't tried MySQL v5, it was just a general comment/idea. I see it has views/triggers/storedprocedures & dataschema, and afaik also some new field-types, but as said, i didn't try any of them right now, but I will soon.
If you find any unsupported MySQL 5 feature that you need please let us know
Posted: Fri 30 Sep 2005 14:49
by konrad
"SSL support without using external dll "
YES! But how much heavier will the exe file size be?
Now i need to attach 2 dlls for SSL to work on Windows 98 SE and Me and this is really not perfect.
"Disconnected model. May be useful to save server resources and operate in unstable or expensive network (GPRS, modem etc)"
I would like MyDAC to be able to disconnect from server and still have the data in tables, then if necessary, update online database when the connection is back. So offline mode would be a great feature.
"AutoRefresh. Add capability to autorefresh dataset on server data change by timer-scheduled call to RefreshQuick. Useful to track changes made by other users"
Now i can add timer to my application and do the same(???)
What this feature will do then?
>Performance improvement
Yes, always.
CAN MyDAC/SDAC work on a separate threads, so they do not lock main application???
>TMyQuery.BreakExec. Add capability to break execution of any long query from another thread
Pleaae add this feature too.
Posted: Mon 03 Oct 2005 07:29
by Ikar
>> "SSL support without using external dll "
> YES! But how much heavier will the exe file size be?
It is too early to speak about it. Of course, we will try to minimize project size increasing.
> Now i can add timer to my application and do the same(???)
> What this feature will do then?
Yes, it is only small improvement.
> CAN MyDAC/SDAC work on a separate threads, so they do not lock main application???
Yes, you can read details in MyDAC FAQ
Posted: Mon 03 Oct 2005 14:53
by Brent
For speed improvements I would definitely like to see the
Handler command syntax implemented. See
http://dev.mysql.com/doc/mysql/en/handler.html
For just one process, I execute tens of thousands of SQL Select queries that is sorted in the same order as an existing compound index. MySQL spends a great deal of overhead parsing the SQL and sorting the rows (around 8000 rows returned for each query). There are 10-100 million rows in the table.
The Handler more closely resembles a Delphi Table range (cursor) and has far less overhead than SQL. It uses the index to retrieve the rows in sorted order. It is also extremely fast (5x-10x) compared to SQL.
It has gotten to a point that I may chuck MySQL altogether and go with DBISAM or NexusDb just to use their table component and Ranges. Ideally I'd like to see the Handler implemented at a TTable so it is easier to use.
Posted: Tue 04 Oct 2005 09:24
by Ikar
This is interesting. Which HANDLER features can't you implement by TMyQuery?
Posted: Tue 04 Oct 2005 14:31
by Brent
>>Which HANDLER features can't you implement by TMyQuery?<<
A TMyQuery can do anything Handler can do and more. But more slowly.
Handler is like having a cursor into the table. You can open a Handler and access the next 100 rows in sorted order from a 10 million+ row table in zero milliseconds. SQL will take 200 ms or much longer if there is a sort. Handler will traverse the table in index order eliminating a separate sort step. You can fetch 'n' rows at a time so there is no wait time (TMySQL can try to fetch 'n' rows at a time but requires a great deal of overhead-spawns more threads and won't be any faster if traversing the entire table).
So Handler would be like have a true TTable (not one implemented using SQL), so you could have extremely fast table access in index order. If you're ever done Ranges in a TTable and compared that to a TSQL query, you'll find the Range is over 10x faster and the results are sorted according to your current index!
Posted: Wed 05 Oct 2005 10:35
by Ikar
I understand, what HANDLER statement is useful for. But you can write any HANDLER statements in TMyQuery and use it.
Posted: Wed 05 Oct 2005 11:47
by GEswin
Hi, as I understand, Brent would like to have HANDLE wrapped in TmyTable component, instead of using TmyQuery.