![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
My, have I messed up somewhere. I have a database taking input in one particular form, and a script for extracting the data and putting it into another. Which works fine, btw, now that I've learnt to get around the server lag (which was *really* screwing things up) and that's not the problem. When I started it, it worked fine and dandy, racing through the record. Fine. Several thousand records later, it... crawls. So I've pared everything down, cloned the databases on the desktop, created dummy records, and added creation time. The first hundred took five minutes, all in all. (Nobody said it was a fast machine) The next two hundred took seventeen minutes. I beefed up the database to contain 4700 records, marked a hundred for transfer and... broke off after record #72. At which point the transfer process had taken fifteen minutes. - Is it normal for operations - set global field, new record, set field, (a couple of lookup fields thrown in for good measure) to slow down so drastically when you get to what seems like a moderate amount of records? Or rather, are there any processes you can think of that take more and more time the bigger the database gets? The source contains a summary field - could that be the culprit somehow? It's part of a database/procedure that I'm going to review in detail anyway, but it would be a help to know where to start looking for the problem. Many thanks, Catja |
#3
| |||||
| |||||
|
|
Perhaps some of the fields in the target table are indexed and have multiple layers of calcs based on it? Or they trigger many lookups. Seeing your script would help to see what technique you are using for moving the info from one table to another. And what version of FileMaker are you using? |
|
Which works fine, btw, now that I've learnt to get around the server lag (which was *really* screwing things up) and that's not the problem. |
|
- Is it normal for operations - set global field, new record, set field, (a couple of lookup fields thrown in for good measure) to slow down so drastically when you get to what seems like a moderate amount of records? |
|
Or rather, are there any processes you can think of that take more and more time the bigger the database gets? The source contains a summary field - could that be the culprit somehow? |
|
It's part of a database/procedure that I'm going to review in detail anyway, but it would be a help to know where to start looking for the problem. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |