• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Lots of unused records in psa mysql Database tables

K

kclo

Guest
Hi all,

I have tried to provision over 3000 domains to my Plesk 9.5 servers and then delete these 3000 domains before I put the server into production. From the Plesk control panel, all domains have been removed. However, I found that there are still many records in several tables of the psa database.

Like
psa.accounts with over 5000 records
sys_users with 30 records
hosting with 17 records

All include some previous deleted domains record.

I seems that some records are not clear during domain removal.

Can I just removed those records from the Database? Any dependency need to check before action?

Thanks!
 
What method to remove these 3000 domains did you use?
If domains were removed correctly by corresponding CLI utility or through Plesk interface, the extra entries in the database should not stay.
 
Thanks for your reply!

I used Unix script to create and delete domain through Plesk api. In the middle of deleting 3000 domains, I see that there are errors that it can't connect to MySQL from Plesk api error code return. This may be the reason for many records in the DB.

Anyway, I have manually removed those records from MySQL
 
Back
Top