• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Delete old sessions?

fluxx

New Pleskian
Hi,

I found 240.000 sessions in the database table "session" and all but a few are old and have been expired. Is there any special reason not to clear this large table or can it be cleared without causing any problems?

fluxx
 
Feel free to delete the data from session table (not table itself). It should not affect anything in Sitebuilder. BUT, just in case I can suggest you first make sitebuilder3 database dump:

On system with Plesk installed:
# mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` sitebuilder3 > /root/sitebuilder3.sql

On standalone server:
# mysqldump -uroot -pPASSWORD sitebuilder3 > /root/sitebuilder3.sql

Let me know about the resutls.
 
Back
Top