sm-timer icon indicating copy to clipboard operation
sm-timer copied to clipboard

Optimize DB for Influx timer?

Open rsgua opened this issue 7 years ago • 10 comments

Hello i have some problem with time with load db. Can you make sql request for create indexes in your timer? Some maps load a 6 minutes:( I disable influx_zones_checkpoint and db load on few seconds!

rsgua avatar Dec 08 '17 01:12 rsgua

All queries are threaded. I doubt it's any plugins' fault. You sure you didn't load a workshop map and it had to update?

TotallyMehis avatar Dec 08 '17 09:12 TotallyMehis

i dont use workshop map. i use last version of timer from git.

rsgua avatar Dec 08 '17 21:12 rsgua

my base size 60 mb and load so long and i dont use influx_zones_checkpoint. db load on server start up - 60-120 seconds. i think simple ranks make this load so long.

rsgua avatar Dec 20 '17 15:12 rsgua

Are you using SQLite?

TotallyMehis avatar Dec 20 '17 15:12 TotallyMehis

mysql db

rsgua avatar Dec 20 '17 19:12 rsgua

@rsgua Do you have already optimized the database server on its own? On my old HLG Surf servers i also had 40mb database but no problems with db load. I can suggest that you optimize your DB Server at first then the plugin.

anaether avatar Jan 16 '18 13:01 anaether

You need a good mysql hoster that it.

maugerb avatar Jan 19 '18 19:01 maugerb

db load so long now! on last version! older version load more fast! cRUSHER-HLG i dont know mysql that say this! I know more than you!

rsgua avatar Feb 24 '18 18:02 rsgua

I host it on my own database rootserver. Its the same settings like on old HLG-Surf servers

anaether avatar Feb 24 '18 18:02 anaether

@rsgua Try recompiling the plugins using the database (core/checkpoint/etc.) with all CREATE TABLE ... queries removed. They should all exist in */db.sp .

TotallyMehis avatar Feb 24 '18 19:02 TotallyMehis