![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Phil, My guess is that you have a lot of processing going on inside of Access itself that needs to go back and forth between the application and the server. This can create a severe 'drag' on the operational speed of your app. Perhaps you can post a sample that represents how one of these forms works so we can take a look. The other things to look for are: - Is indexing turned on for the DB - Is the DB Server hardware exclusive to you or shared? - Is the table type InnoDB or MyISAM? - LAN or WAN connection speed I find that most of the performance issues I face come from not 'keeping the wire cold', and forgetting to let the DB server do the work instead of Access (where appropriate). I am guessing that a few Pass-Through queries will make a lot of difference if arent already using these. Let us know. |
#4
| |||
| |||
|
|
On 09/08/2011 17:36:57, The Frog wrote: Hi Phil, My guess is that you have a lot of processing going on inside of Access itself that needs to go back and forth between the application and the server. This can create a severe 'drag' on the operational speed of your app. Perhaps you can post a sample that represents how one of these forms works so we can take a look. The other things to look for are: - Is indexing turned on for the DB - Is the DB Server hardware exclusive to you or shared? - Is the table type InnoDB or MyISAM? - LAN or WAN connection speed I find that most of the performance issues I face come from not 'keeping the wire cold', and forgetting to let the DB server do the work instead of Access (where appropriate). I am guessing that a few Pass-Through queries will make a lot of difference if arent already using these. Let us know. Blimey, that was a quick response. Ink wasn't dry on my question Great Difficult to post a sample main form has 4 subforms, 2 with a combo box on them, 10 or more combo / list boxes, 3 tabs and involve some 25 or so tables with lots or queries and sub queries - so yes - a lot of data to go back & forth, especially with a search. I am brand new to MySQL, so forgive me if I give stupid replies. Not sure what you mean by "Is Indexing turned on - does this relate to Access or MySQL? DB Server is shared Table type is InnoDB as I understand that is the only type that supports relationships Will investigate what a "Pass-through" query is. I am guessing this is held on the server, so reluctant to use it as I use the same FE database with a number of BE databases, and all but one of these is for single user use. The existing databases are well established, and I don't really want a major redesign problem. Just for one of these databases, a number of people need access to the information, hence looking at MySQL Thanks again Phil |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Have found somewhere to host MySQL, and exported my BE database (tables only) to it. There appear to be minor problems, but nothing significant. The problem is the speed. Impossibly slow. My main form takes nearly 10 minutes to load, and a number of seconds to go from 1 record to the next. It is just not usable. There are a number of subforms, combos and queries all running to generate the form. In some cases the queries are using either built-in Access functions or user defined functions. Am I wasting my time? |
#8
| |||
| |||
|
|
You're loading data before your user can actually do anything with it. That violates the key principle behind a proper client/server design, i.e., don't retrieve any more data than necessary for the task at hand. |
#9
| |||
| |||
|
|
I just wanted to offer a counter opinion to Larry's quite valid point. I must also ask Larry: Who actually uses Informix nowadays anyway? I havent seen it in use in a company since probably the late '90s. |
|
How did you go with the SQL passthrough scenario? I seem to recall that I had some code somewhere to do the table re-linking and query re-linking. I will have to have a dig for it. |
#10
| |||
| |||
|
|
"The Frog"<mr.frog.to.you (AT) googlemail (DOT) com> wrote I just wanted to offer a counter opinion to Larry's quite valid point. I must also ask Larry: Who actually uses Informix nowadays anyway? I havent seen it in use in a company since probably the late '90s. I worked on the application that used Informix, off-and-on, from 1995 - 2001 when it was the corporate standard database for a client. That client merged with another company and the application was no longer needed. Sometime, IBM bought Informix, and seems to still offer it... see http://www-01.ibm.com/software/data/informix/. They even offer a free Developer Edition... it wasn't obvious to me on a quick scan whether any other editions were free, but they might have something equivalent to MS SQL Express. It was a stable, solid database when I used it... our app had just under 300 users scattered over the US and Mexico on a WAN (Access 2, Jet, ODBC, Informix)... and the client had other applications with thousands of users. I would expect that under IBM's tender loving care, it is still a stable, solid database, perhaps even more so. We had a few Views (looked identical to Tables to Access, but forced some work to the back end) for very complex Reports, and one passthrough query to invoke a stored procedure to force a monotonically-increasing unique ID -- it created a unique id, created a record, and returned the id. How did you go with the SQL passthrough scenario? I seem to recall that I had some code somewhere to do the table re-linking and query re-linking. I will have to have a dig for it. We had to re-create the links each time we switched the database from the test database to the production database (a release cycle) -- refreshing the link did not work. But, we had code to do it, so it was no great burden. Larry Interesting stats on database deployment |
![]() |
| Thread Tools | |
| Display Modes | |
| |