Well 20 users shouldn't be too much for a database...
But I have a *serious* performance problem as soon as MORE THAN ONE USER is inside the database.
This is a simple application/data-separated solution without sql server but own workgroup-mdw. As long as ONE USER is online, everthing works fine, but as soon as additional users come in, the database slows down to A FRACTION of the original speed, when:
- Calling Tabledef.RefreshLink:
Set db = CurrentDb
If doesTableExist("", tblTable) = False Then
' ----- TABLE DOESNT EXIST INTERNALLY YET, SO CREATE IT! -----
Set td = db.CreateTableDef(tblTable)
td.Connect = ";Database=" & strDBPath
td.SourceTableName = tblTable
db.TableDefs.Append td
Else
' ----- INTERNAL TABLE EXISTS, SO RE-CONNECT IT -----
Set td = db.TableDefs(tblTable)
td.Connect = ";Database=" & strDBPath
td.RefreshLink
End If
This one works fine.... except td.RefreshLink seems to be the KILLER.
- Running through 1000 to 2000 recordsets via a RecordSet Object
IT FEELS like the database kind of waits or locks (no lock errors, no exclusive stuff)... again: as soon as more than one person is online...
Any help is highly appreciated, this is killing me...
Regards
waldemar
But I have a *serious* performance problem as soon as MORE THAN ONE USER is inside the database.
This is a simple application/data-separated solution without sql server but own workgroup-mdw. As long as ONE USER is online, everthing works fine, but as soon as additional users come in, the database slows down to A FRACTION of the original speed, when:
- Calling Tabledef.RefreshLink:
Set db = CurrentDb
If doesTableExist("", tblTable) = False Then
' ----- TABLE DOESNT EXIST INTERNALLY YET, SO CREATE IT! -----
Set td = db.CreateTableDef(tblTable)
td.Connect = ";Database=" & strDBPath
td.SourceTableName = tblTable
db.TableDefs.Append td
Else
' ----- INTERNAL TABLE EXISTS, SO RE-CONNECT IT -----
Set td = db.TableDefs(tblTable)
td.Connect = ";Database=" & strDBPath
td.RefreshLink
End If
This one works fine.... except td.RefreshLink seems to be the KILLER.
- Running through 1000 to 2000 recordsets via a RecordSet Object
IT FEELS like the database kind of waits or locks (no lock errors, no exclusive stuff)... again: as soon as more than one person is online...
Any help is highly appreciated, this is killing me...
Regards
waldemar