Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize DB for Influx timer? #66

Open
rsgua opened this issue Dec 8, 2017 · 10 comments
Open

Optimize DB for Influx timer? #66

rsgua opened this issue Dec 8, 2017 · 10 comments

Comments

@rsgua
Copy link

rsgua commented Dec 8, 2017

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!

@TotallyMehis
Copy link
Member

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?

@rsgua
Copy link
Author

rsgua commented Dec 8, 2017

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

@rsgua
Copy link
Author

rsgua commented Dec 20, 2017

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.

@TotallyMehis
Copy link
Member

Are you using SQLite?

@rsgua
Copy link
Author

rsgua commented Dec 20, 2017

mysql db

@anaether
Copy link

@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.

@maugerb
Copy link

maugerb commented Jan 19, 2018

You need a good mysql hoster that it.

@rsgua
Copy link
Author

rsgua commented Feb 24, 2018

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!

@anaether
Copy link

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

@TotallyMehis
Copy link
Member

TotallyMehis commented Feb 24, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants