Search found 81 matches

by mparak
12.03.2013, 08:24
Forum: MySQL
Topic: Anticipate the load on a MySQL server
Replies: 7
Views: 2985

I still have to test it but it looks real sweet.
thanks
by mparak
11.03.2013, 07:47
Forum: MySQL
Topic: Anticipate the load on a MySQL server
Replies: 7
Views: 2985

True I really loved his comics. I know this is a silly question, but, from mdeams comment above maybe its worthwhile asking Jan (marsupalami) to explain to us how he creates a threaded connection. With a sample. Or example. This would be an education for me and and I sure for lots of Zeos guys out t...
by mparak
10.03.2013, 21:49
Forum: MySQL
Topic: Anticipate the load on a MySQL server
Replies: 7
Views: 2985

Hooba, (marsupilami) Its not quite what I had in mind. The Switch from local to server is not the problem. What we need is the ability to pre assess the response state of the server before we hit it. If we look at the show processlist during a busy period w can see the long sql queries that take too...
by mparak
08.03.2013, 07:54
Forum: MySQL
Topic: Anticipate the load on a MySQL server
Replies: 7
Views: 2985

What would be excellent is if we could get feed back from every sql command that takes longer than xx milliseconds. One could then somehow abandon the query and process it later perhaps.
by mparak
08.03.2013, 07:39
Forum: MySQL
Topic: Anticipate the load on a MySQL server
Replies: 7
Views: 2985

Anticipate the load on a MySQL server

Hi, Our application has local databases and posts to a server. If the server is offline (established by a failed ping) we post local and upload to the server when it is back online. This has served us brilliantly. The problem lies in the fact that occasionally the server is too busy to respond, but ...
by mparak
15.02.2012, 13:40
Forum: ZDBC (ZEOS Database Connectivity)
Topic: Out of memory lwehn sql.loadfromfile() for large queries
Replies: 1
Views: 3015

Hi,
This problem was resolved by going around Delphi's limitations on the speed of loading large text files.
Its all good.
Mo
by mparak
15.02.2012, 13:24
Forum: Off Topic
Topic: [unit] TMultiInsert - for speeding up multiple transfers
Replies: 1
Views: 25163

Sounds like its worth playing with.
Thanks
Mo
by mparak
15.02.2012, 13:21
Forum: MySQL
Topic: range check error
Replies: 13
Views: 5854

How many fields are you selecting. ?

M
by mparak
15.02.2012, 13:19
Forum: 6.6 - stable
Topic: How can I change Maximum Table fields (256) to 300 in MYSQL?
Replies: 1
Views: 430

Hi Spijker, I too have hit the wall with the same limitation.
Could not get a decent answer so I broke resultset into multiple part and linked them.
Hope this helps.

M
by mparak
15.02.2012, 13:17
Forum: MySQL
Topic: Decimal field
Replies: 1
Views: 1177

Hi Mary,
Do you wish to write the formatted value to the table, or read it from the table into a @variable?
Let me know which,
Both are easy.
Mo
by mparak
15.02.2012, 13:13
Forum: ZeosLib 7.0 Beta Forum
Topic: Master-Detail with Zeos
Replies: 10
Views: 4548

Form1.test_Master_Detail; var Master,Detail:TzQuery ds_Master:TDatasource; Begin try Master:=TzQuery.Create(application); Master.connection:=Zconnection1; Detail:=TzQuery.Create(application); detail.connection:=Zconnection1; ds_Master:=TDatasource.Create(application); Master.sql.text:='select * from...
by mparak
15.02.2012, 13:12
Forum: 6.6 - stable
Topic: Master / Detail with Zeos
Replies: 1
Views: 919

Hi Edson, This very simple. Form1.test_Master_Detail; var Master,Detail:TzQuery ds_Master:TDatasource; Begin try Master:=TzQuery.Create(application); Master.connection:=Zconnection1; Detail:=TzQuery.Create(application); detail.connection:=Zconnection1; ds_Master:=TDatasource.Create(application); Mas...
by mparak
15.02.2012, 12:59
Forum: 6.6 - stable
Topic: ZSQLProcessor paramcheck
Replies: 4
Views: 1029

Hi Guys, The answer was actually quite easy. We all acknowledge the problem that Delphi has loading LARGE text files and this has a workaround. I am now able to load a SQL script file that is tens of megs with thousands of SQL commands, in seconds. If anyone needs the workaround, drop me mail. Live ...
by mparak
02.02.2012, 12:52
Forum: 6.6 - stable
Topic: ZSQLProcessor paramcheck
Replies: 4
Views: 1029

Basically how can I get the ZSQLProcessor to load the huge query quickly.
The script.loadfromfile() is too slow.
Once the SQL is loaded into the script the execution time is very acceptable.
by mparak
02.02.2012, 12:39
Forum: 6.6 - stable
Topic: ZSQLProcessor paramcheck
Replies: 4
Views: 1029

ZSQLProcessor paramcheck

Hi guys, I often use the ZSQLProcessor thingy to run multiple SQL queries against a MySQL server in one go. It usually runs beautifully. More recently I needed to execute a HUGE SQL script. When loading the ZSQLProcessor1.script:=something the system appears to hang. I think maybe it is screening ea...