Ok so my previous questions have been worked out all good, thanks everyone. Now I have one regarding DB problems. I have MySQL DAC installed and querying data from a remote MySQL DB. Everything works fine, the only problem is that one of my clients has a HUGE db, we're talking 10K plus items in it. And the way the program is currently made to get items and refresh it I connect the DB to the server, then make my SQL then activate it, then copy all info then disconnect all. This is fine for smaller DBs, but this HUGE one is very cumbersome and the app isn't working the way it should with the big one. So any way to make this faster? Is there a way to cache all the DB info to the program locally and only grab from the programs table information? And make updates remotely.
Or is there a better way for this?
Thanks in advance.
Also for one of the queries it is very large. It is categories and I query each one to get all it's subs. So it takes a long long time. Would it be easier to download both tables into a local table component then does anyone know if I can query that local table instead of the remote, so as to cut down on time?
Or is there a better way for this?
Thanks in advance.
Also for one of the queries it is very large. It is categories and I query each one to get all it's subs. So it takes a long long time. Would it be easier to download both tables into a local table component then does anyone know if I can query that local table instead of the remote, so as to cut down on time?