Question
Have experienced some situation that the player_id changed under aliases table and when I SELECT the player name under players table it shows to same name under 1 pokersite_id with 2 different player_id. And their optimizationstatus are all "1".
When facing this situation, the session refresh won't working and you need to manually change to another player and switch back to refresh your whole live data.
Also when this occurs, the player hands count in player search is all zeroed. But you can manually change the aliases player_id to the right one and recover the parent folder's history hands. BUT the report refresh and session refresh will never work again unless you switch between players.
I knew a backup may recover the previous data but this situation seems occurs too often (2 times in a month) and I HAVE to make a new database, reimport all hands, run notecaddy to make notes for a whole day, vacuum full and reindex for hours, sync the new parent folder between 2 computers (mostly 10GB+) for more than 1 day and will be able to use it again.
Is there any solution when I'm facing it again?
Suggestion
I knew there's an IPC way to share a folder online, but this will make one computer a DMZ device on the router and may risk some hacking.
So I'm currently using a cloud drive to sync the parent folder. There's a problem here is the Folder Limit in one folder of this cloud drive is 30k and I usually exceed the limit and HAVE to delete some 1-file-folder by a program called "FolderSize" to keep the sync. This usually works well and keeps the regular's data and deletes the guests. But is there any other way for a parent folder to store users like Database/Players/Site/a/a123 and Database/Players/Site/h/holdem~star~?
This can avoid the folder limit and can sort the players more conveniently. And one depth won't actually affect the software performance.
We can make this into a setting function request.