vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Database clean up after spam attack (https://vborg.vbsupport.ru/showthread.php?t=283729)

grantandbrooke 05-31-2012 05:40 AM

Database clean up after spam attack
 
Hi, I'm very green at VB, so please bear with me.

I got hammered with spam over the past few months when my forum sat pretty idle. I've since gone through the forum software to delete all of the users and posts and I've installed the spam-o-matic plugin, which seems to be helping a bit.

My forum is currently inactive, so I deleted all users (except admin) and all the posts (all spam anyway).

I'm getting ready to upgrade to 4.2 and they recommend a database backup first. So I went to backup the database and I noticed some tables are huge. Since my forum literally has zero posts in it and 1 user, I don't see why the db should be so big.

It is not possible for me to drop the database and do a fresh reinstall because I have a single sign on plugin configured that was a nightmare and my developer who did it is unavailable.

So my question, is it safe for me to delete the junk from the following very large tables?

searchcore
searchcore_text
searchgroup
searchgroup_text
adminlog
moderatorlog
passwordhistory
postlog

These tables all appear to be the most heavily effected by the spam. The first handful of rows in some of them look reasonable and the dates confirm they were likely from the beginning stages of the install. After that it looks like garbage. Blow them away?

Thanks in advance for any thoughts!

kh99 05-31-2012 04:37 PM

I believe those can all be truncated without causing any problems.

grantandbrooke 05-31-2012 05:50 PM

Thanks!


All times are GMT. The time now is 03:50 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01023 seconds
  • Memory Usage 1,706KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete