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

Storage method command #186

Open
andy3559167 opened this issue Dec 27, 2021 · 6 comments
Open

Storage method command #186

andy3559167 opened this issue Dec 27, 2021 · 6 comments
Labels
type: enhancement Features and feature requests.

Comments

@andy3559167
Copy link

I hope that commands can be added to transfer the locally stored data to mysql.
Or change the storage box to db format, there are often problems in my server that open ec and wait for a few seconds before responding.

@andy3559167 andy3559167 added the type: enhancement Features and feature requests. label Dec 27, 2021
@utarwyn
Copy link
Owner

utarwyn commented Dec 28, 2021

Hello, thank you for the idea, great one of course! 👍
Kind of a duplicate of this very old issue #55

@andy3559167
Copy link
Author

So at present, can I only transfer related files manually? QAQ

@utarwyn
Copy link
Owner

utarwyn commented Jan 6, 2022

I think it will be very difficult to transfer players data manually, especially if it is a large amount of players. I could work on a tool to automate this, but I hesitate to integrate it into the plugin or make it an external tool.

@andy3559167
Copy link
Author

andy3559167 commented Jan 6, 2022

It may be that the .yml file is used for storage. When the number of people is large, the /ec command will wait about 3-5 seconds to respond (I don't know if this is related to the storage method, but running a new server /ec command can Quick response). Looking forward to the tools you develop.

@utarwyn
Copy link
Owner

utarwyn commented Jan 6, 2022

According to feedback from other server owners, file storage should be faster than database access so this is very strange! Maybe a performance issue with your disk?

The plugin only loads the files of players who connect to your server, so I don't think that the loading time is causing by a large amount of files. But maybe some files are quite big (depending on the number of allowed chests and their content). If you can give me some examples I can try to find the cause of the problem.

@andy3559167
Copy link
Author

andy3559167 commented Jun 8, 2022

but i am using m.2 ssd :(
Or is it caused by too much player data?
I have more than 2000 player profiles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Features and feature requests.
Projects
None yet
Development

No branches or pull requests

2 participants