Jump to content

How to Prune DB Table Effectively


Pima

Recommended Posts

I just noticed that the table "tblticketmaillog" has over 2 million records. while actual real tickets are only about 50,000.

 

I am supposing that as I have it set to only receive ticket opens from registered users that the excess is from those that are attempting to SPAM the support@ and other addresses.

 

Questions:

 

1. Have I missed some config setting to prevent these from being logged?

2. How can I effectively prune this table to only retain those that are vaild?

 

Any insight is appreciated

Link to comment
Share on other sites

Thanks to Redsign's post and pointer I have cheked this table(tblticketmaillog), and it just contains a "log" of emails and the emails themselves.

 

Clearing this table has reduced it to "0" for the time being and I will now know to monitor this in the future.

 

As I have this set for only registered client email addresses I do not deal with the SPAM yet they auto hit the addy's by script I suppose

 

And yes we are hit constantly by off-shore IP's trying to gain shell access among other unauthorized access. Fortunate that we have an appliance ahead of the servers to interceede these attempts

Edited by Pima
Link to comment
Share on other sites

  • 5 months later...
From your admin area:

 

Utilities -> System Cleanup

 

:)

is the data in that table important to something?

my table got crashed, and we have far less users/tickets than that...

 

after 30min of mysql-server work, the table got repaired and showed 3.5GB of size!!!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated