MySQL in VPS

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

MySQL in VPS

Post by cybsistemas » Sat 14 Dec 2013 16:26

I have to make a program that works with a MySQL database that is on a VPS server.
How do I gain speed. ? (tips)
Version MyDac 7.6.12

AndreyZ

Re: MySQL in VPS

Post by AndreyZ » Mon 16 Dec 2013 09:57

To improve the performance of data fetching in MyDAC, we suggest you to set the following options:
1. TMyQuery.ReadOnly to True (in case if you do not need to modify data).
2. TMyCQuery.FetchAll to True. In this case all data will be fetched to the client at once.
3. TMyQuery.FetchRows to a value that gives the most data fetching speed on your network (it is individual for each network). FetchRows affects only data fetching speed.

cybsistemas
Posts: 118
Joined: Mon 12 Sep 2005 17:31
Location: Argentina

Re: MySQL in VPS

Post by cybsistemas » Mon 16 Dec 2013 11:07

Thanks

AndreyZ

Re: MySQL in VPS

Post by AndreyZ » Mon 16 Dec 2013 12:02

You are welcome.

Post Reply