vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove multiple rows from table (https://vborg.vbsupport.ru/showthread.php?t=325331)

Fynnon 07-31-2017 04:57 AM

thanks for the suggestions
the mod does have a prune option but that removes everything from the chat and i want to keep some of it

i want to delete only specific rows from that table, basically just the last 2/3 of the table, by using an sql command
the size of the is around db if 80MB which is 1/3 of the total so i was thinking maybe i can reduce it to improve speed

TheLastSuperman 07-31-2017 09:30 AM

Quote:

Originally Posted by Fynnon (Post 2588422)
the database is called: 'infernoshoutusers'
i use the mod but it has '2.882.822' rows, they are 1/3 of the forum db size

Why in the world is this 1/3 the size of your database? Inferno shoutbox... isn't that the one only available on nulled type sites? I could be wrong but using mods from sites like that can leave it/you open to exploits, perhaps there are just that many users in the shoutbox but are there that same number of users on the actual forum? If not look to see if the inferno shoutbox is being exploited somehow and fix if you intend to keep... if that is the case though I'd simply remove it, best to not run mods from nulled/cracked sites.

Rafa-el 07-31-2017 02:47 PM

Quote:

Originally Posted by Fynnon (Post 2589015)
thanks for the suggestions
the mod does have a prune option but that removes everything from the chat and i want to keep some of it

i want to delete only specific rows from that table, basically just the last 2/3 of the table, by using an sql command
the size of the is around db if 80MB which is 1/3 of the total so i was thinking maybe i can reduce it to improve speed

In one word: NO.

Besides, even tough reducing the DB size is always good, the main issue is your shoutbox plugin, you're better off with it so I strongly advise you to uninstall it, anyone with minimal knowledge could get into your site and dump the DB with a simple exploit if you use a nulled or abandoned product.

Fynnon 08-01-2017 04:32 AM

some logging option was on by default and maybe that explains the size. all my mods are from vb.org
Inferno Shoutbox was available a long time ago on vBulletin.org: https://vborg.vbsupport.ru/showthread.php?t=147346

Rafa-el 08-01-2017 02:17 PM

Quote:

Originally Posted by Fynnon (Post 2589048)
some logging option was on by default and maybe that explains the size. all my mods are from vb.org
Inferno Shoutbox was available a long time ago on vBulletin.org: https://vborg.vbsupport.ru/showthread.php?t=147346

Either way the last time the shoutbox was updated was in 2008, 9 years ago! That's not safe at all, specially when it comes with BB's when a lot of exploits tend to be published with manuals.

GHRake 08-05-2017 12:40 AM

I would suggest DbTech's vBShout which is working for 3.8


All times are GMT. The time now is 02: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.01083 seconds
  • Memory Usage 1,728KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete