I've been testing out the new Kunena 2.0 on my demo site. I also keep com_multisites on it to test out multisites when I'm not sure about something. A couple days ago, I received a message from my host telling me that some of my queueies have been taking up too many system resources and need to be optimized. After looking at the problem, I saw that this is because of some interaction between com_multisites and Kunena 2.0. I figured I'd posted the message here in hopes that you may be able to rectify the problem.
Here's the message:
Warning: Spoiler! It has come to our attention that your account database has been flagged up by the administrators for taking up too many resources on the database server. Please note that being on a shared hosting platform the database server resources are shared amongst other users. There has been a performance drop on the server due to the
resources that are been taken up by your database.
Create statements:
jjt_kunena_categories
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_categories` AS select `jos_kunena_categories`.`id` AS `id`,`db358023532`.`jos_kunena_categories`.`parent` AS `parent`,`db358023532`.`jos_kunena_categories`.`name` AS `name`,`db358023532`.`jos_kunena_categories`.`cat_emoticon` AS `cat_emoticon`,`db358023532`.`jos_kunena_categories`.`locked` AS `locked`,`db358023532`.`jos_kunena_categories`.`alert_admin` AS `alert_admin`,`db358023532`.`jos_kunena_categories`.`moderated` AS `moderated`,`db358023532`.`jos_kunena_categories`.`moderators` AS `moderators`,`db358023532`.`jos_kunena_categories`.`accesstype` AS `accesstype`,`db358023532`.`jos_kunena_categories`.`access` AS `access`,`db358023532`.`jos_kunena_categories`.`pub_access` AS `pub_access`,`db358023532`.`jos_kunena_categories`.`pub_recurse` AS `pub_recurse`,`db358023532`.`jos_kunena_categories`.`admin_access` AS `admin_access`,`db358023532`.`jos_kunena_categories`.`admin_recurse` AS `admin_recurse`,`db358023532`.`jos_kunena_categories`.`ordering` AS `ordering`,`db358023532`.`jos_kunena_categories`.`future2` AS `future2`,`db358023532`.`jos_kunena_categories`.`published` AS `published`,`db358023532`.`jos_kunena_categories`.`checked_out` AS `checked_out`,`db358023532`.`jos_kunena_categories`.`checked_out_time` AS `checked_out_time`,`db358023532`.`jos_kunena_categories`.`review` AS `review`,`db358023532`.`jos_kunena_categories`.`allow_anonymous` AS `allow_anonymous`,`db358023532`.`jos_kunena_categories`.`post_anonymous` AS `post_anonymous`,`db358023532`.`jos_kunena_categories`.`hits` AS `hits`,`db358023532`.`jos_kunena_categories`.`description` AS `description`,`db358023532`.`jos_kunena_categories`.`headerdesc` AS `headerdesc`,`db358023532`.`jos_kunena_categories`.`class_sfx` AS `class_sfx`,`db358023532`.`jos_kunena_categories`.`allow_polls` AS `allow_polls`,`db358023532`.`jos_kunena_categories`.`id_last_msg` AS `id_last_msg`,`db358023532`.`jos_kunena_categories`.`numTopics` AS `numTopics`,`db358023532`.`jos_kunena_categories`.`numPosts` AS `numPosts`,`db358023532`.`jos_kunena_categories`.`time_last_msg` AS `time_last_msg` from `jos_kunena_categories`
jjt_kunena_config
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_config` AS select `db358023532`.`jos_kunena_config`.`id` AS `id`,`db358023532`.`jos_kunena_config`.`board_title` AS `board_title`,`db358023532`.`jos_kunena_config`.`email` AS `email`,`db358023532`.`jos_kunena_config`.`board_offline` AS `board_offline`,`db358023532`.`jos_kunena_config`.`board_ofset` AS `board_ofset`,`db358023532`.`jos_kunena_config`.`offline_message` AS `offline_message`,`db358023532`.`jos_kunena_config`.`enablerss` AS `enablerss`,`db358023532`.`jos_kunena_config`.`enablepdf` AS `enablepdf`,`db358023532`.`jos_kunena_config`.`threads_per_page` AS `threads_per_page`,`db358023532`.`jos_kunena_config`.`messages_per_page` AS `messages_per_page`,`db358023532`.`jos_kunena_config`.`messages_per_page_search` AS `messages_per_page_search`,`db358023532`.`jos_kunena_config`.`showhistory` AS `showhistory`,`db358023532`.`jos_kunena_config`.`historylimit` AS `historylimit`,`db358023532`.`jos_kunena_config`.`shownew` AS `shownew`,`db358023532`.`jos_kunena_config`.`jmambot` AS `jmambot`,`db358023532`.`jos_kunena_config`.`disemoticons` AS `disemoticons`,`db358023532`.`jos_kunena_config`.`template` AS `template`,`db358023532`.`jos_kunena_config`.`showannouncement` AS `showannouncement`,`db358023532`.`jos_kunena_config`.`avataroncat` AS `avataroncat`,`db358023532`.`jos_kunena_config`.`catimagepath` AS `catimagepath`,`db358023532`.`jos_kunena_config`.`showchildcaticon` AS `showchildcaticon`,`db358023532`.`jos_kunena_config`.`annmodid` AS `annmodid`,`db358023532`.`jos_kunena_config`.`rtewidth` AS `rtewidth`,`db358023532`.`jos_kunena_config`.`rteheight` AS `rteheight`,`db358023532`.`jos_kunena_config`.`enableforumjump` AS `enableforumjump`,`db358023532`.`jos_kunena_config`.`reportmsg` AS `reportmsg`,`db358023532`.`jos_kunena_config`.`username` AS `username`,`db358023532`.`jos_kunena_config`.`askemail` AS `askemail`,`db358023532`.`jos_kunena_config`.`showemail` AS `showemail`,`db358023532`.`jos_kunena_config`.`showuserstats` AS `showuserstats`,`db358023532`.`jos_kunena_config`.`showkarma` AS `showkarma`,`db358023532`.`jos_kunena_config`.`useredit` AS `useredit`,`db358023532`.`jos_kunena_config`.`useredittime` AS `useredittime`,`db358023532`.`jos_kunena_config`.`useredittimegrace` AS `useredittimegrace`,`db358023532`.`jos_kunena_config`.`editmarkup` AS `editmarkup`,`db358023532`.`jos_kunena_config`.`allowsubscriptions` AS `allowsubscriptions`,`db358023532`.`jos_kunena_config`.`subscriptionschecked` AS `subscriptionschecked`,`db358023532`.`jos_kunena_config`.`allowfavorites` AS `allowfavorites`,`db358023532`.`jos_kunena_config`.`maxsubject` AS `maxsubject`,`db358023532`.`jos_kunena_config`.`maxsig` AS `maxsig`,`db358023532`.`jos_kunena_config`.`regonly` AS `regonly`,`db358023532`.`jos_kunena_config`.`changename` AS `changename`,`db358023532`.`jos_kunena_config`.`pubwrite` AS `pubwrite`,`db358023532`.`jos_kunena_config`.`floodprotection` AS `floodprotection`,`db358023532`.`jos_kunena_config`.`mailmod` AS `mailmod`,`db358023532`.`jos_kunena_config`.`mailadmin` AS `mailadmin`,`db358023532`.`jos_kunena_config`.`captcha` AS `captcha`,`db358023532`.`jos_kunena_config`.`mailfull` AS `mailfull`,`db358023532`.`jos_kunena_config`.`allowavatar` AS `allowavatar`,`db358023532`.`jos_kunena_config`.`allowavatarupload` AS `allowavatarupload`,`db358023532`.`jos_kunena_config`.`allowavatargallery` AS `allowavatargallery`,`db358023532`.`jos_kunena_config`.`avatarquality` AS `avatarquality`,`db358023532`.`jos_kunena_config`.`avatarsize` AS `avatarsize`,`db358023532`.`jos_kunena_config`.`allowimageupload` AS `allowimageupload`,`db358023532`.`jos_kunena_config`.`allowimageregupload` AS `allowimageregupload`,`db358023532`.`jos_kunena_config`.`imageheight` AS `imageheight`,`db358023532`.`jos_kunena_config`.`imagewidth` AS `imagewidth`,`db358023532`.`jos_kunena_config`.`imagesize` AS `imagesize`,`db358023532`.`jos_kunena_config`.`allowfileupload` AS `allowfileupload`,`db358023532`.`jos_kunena_config`.`allowfileregupload` AS `allowfileregupload`,`db358023532`.`jos_kunena_config`.`filetypes` AS `filetypes`,`db358023532`.`jos_kunena_config`.`filesize` AS `filesize`,`db358023532`.`jos_kunena_config`.`showranking` AS `showranking`,`db358023532`.`jos_kunena_config`.`rankimages` AS `rankimages`,`db358023532`.`jos_kunena_config`.`avatar_src` AS `avatar_src`,`db358023532`.`jos_kunena_config`.`fb_profile` AS `fb_profile`,`db358023532`.`jos_kunena_config`.`pm_component` AS `pm_component`,`db358023532`.`jos_kunena_config`.`userlist_rows` AS `userlist_rows`,`db358023532`.`jos_kunena_config`.`userlist_online` AS `userlist_online`,`db358023532`.`jos_kunena_config`.`userlist_avatar` AS `userlist_avatar`,`db358023532`.`jos_kunena_config`.`userlist_name` AS `userlist_name`,`db358023532`.`jos_kunena_config`.`userlist_username` AS `userlist_username`,`db358023532`.`jos_kunena_config`.`userlist_posts` AS `userlist_posts`,`db358023532`.`jos_kunena_config`.`userlist_karma` AS `userlist_karma`,`db358023532`.`jos_kunena_config`.`userlist_email` AS `userlist_email`,`db358023532`.`jos_kunena_config`.`userlist_usertype` AS `userlist_usertype`,`db358023532`.`jos_kunena_config`.`userlist_joindate` AS `userlist_joindate`,`db358023532`.`jos_kunena_config`.`userlist_lastvisitdate` AS `userlist_lastvisitdate`,`db358023532`.`jos_kunena_config`.`userlist_userhits` AS `userlist_userhits`,`db358023532`.`jos_kunena_config`.`latestcategory` AS `latestcategory`,`db358023532`.`jos_kunena_config`.`showstats` AS `showstats`,`db358023532`.`jos_kunena_config`.`showwhoisonline` AS `showwhoisonline`,`db358023532`.`jos_kunena_config`.`showgenstats` AS `showgenstats`,`db358023532`.`jos_kunena_config`.`showpopuserstats` AS `showpopuserstats`,`db358023532`.`jos_kunena_config`.`popusercount` AS `popusercount`,`db358023532`.`jos_kunena_config`.`showpopsubjectstats` AS `showpopsubjectstats`,`db358023532`.`jos_kunena_config`.`popsubjectcount` AS `popsubjectcount`,`db358023532`.`jos_kunena_config`.`usernamechange` AS `usernamechange`,`db358023532`.`jos_kunena_config`.`rules_infb` AS `rules_infb`,`db358023532`.`jos_kunena_config`.`rules_cid` AS `rules_cid`,`db358023532`.`jos_kunena_config`.`help_infb` AS `help_infb`,`db358023532`.`jos_kunena_config`.`help_cid` AS `help_cid`,`db358023532`.`jos_kunena_config`.`showspoilertag` AS `showspoilertag`,`db358023532`.`jos_kunena_config`.`showvideotag` AS `showvideotag`,`db358023532`.`jos_kunena_config`.`showebaytag` AS `showebaytag`,`db358023532`.`jos_kunena_config`.`trimlongurls` AS `trimlongurls`,`db358023532`.`jos_kunena_config`.`trimlongurlsfront` AS `trimlongurlsfront`,`db358023532`.`jos_kunena_config`.`trimlongurlsback` AS `trimlongurlsback`,`db358023532`.`jos_kunena_config`.`autoembedyoutube` AS `autoembedyoutube`,`db358023532`.`jos_kunena_config`.`autoembedebay` AS `autoembedebay`,`db358023532`.`jos_kunena_config`.`ebaylanguagecode` AS `ebaylanguagecode`,`db358023532`.`jos_kunena_config`.`fbsessiontimeout` AS `fbsessiontimeout`,`db358023532`.`jos_kunena_config`.`highlightcode` AS `highlightcode`,`db358023532`.`jos_kunena_config`.`rss_type` AS `rss_type`,`db358023532`.`jos_kunena_config`.`rss_timelimit` AS `rss_timelimit`,`db358023532`.`jos_kunena_config`.`rss_limit` AS `rss_limit`,`db358023532`.`jos_kunena_config`.`rss_included_categories` AS `rss_included_categories`,`db358023532`.`jos_kunena_config`.`rss_excluded_categories` AS `rss_excluded_categories`,`db358023532`.`jos_kunena_config`.`rss_specification` AS `rss_specification`,`db358023532`.`jos_kunena_config`.`rss_allow_html` AS `rss_allow_html`,`db358023532`.`jos_kunena_config`.`rss_author_format` AS `rss_author_format`,`db358023532`.`jos_kunena_config`.`rss_author_in_title` AS `rss_author_in_title`,`db358023532`.`jos_kunena_config`.`rss_word_count` AS `rss_word_count`,`db358023532`.`jos_kunena_config`.`rss_old_titles` AS `rss_old_titles`,`db358023532`.`jos_kunena_config`.`rss_cache` AS `rss_cache`,`db358023532`.`jos_kunena_config`.`fbdefaultpage` AS `fbdefaultpage`,`db358023532`.`jos_kunena_config`.`default_sort` AS `default_sort`,`db358023532`.`jos_kunena_config`.`alphauserpointsnumchars` AS `alphauserpointsnumchars`,`db358023532`.`jos_kunena_config`.`sef` AS `sef`,`db358023532`.`jos_kunena_config`.`sefcats` AS `sefcats`,`db358023532`.`jos_kunena_config`.`sefutf8` AS `sefutf8`,`db358023532`.`jos_kunena_config`.`showimgforguest` AS `showimgforguest`,`db358023532`.`jos_kunena_config`.`showfileforguest` AS `showfileforguest`,`db358023532`.`jos_kunena_config`.`pollnboptions` AS `pollnboptions`,`db358023532`.`jos_kunena_config`.`pollallowvoteone` AS `pollallowvoteone`,`db358023532`.`jos_kunena_config`.`pollenabled` AS `pollenabled`,`db358023532`.`jos_kunena_config`.`poppollscount` AS `poppollscount`,`db358023532`.`jos_kunena_config`.`showpoppollstats` AS `showpoppollstats`,`db358023532`.`jos_kunena_config`.`polltimebtvotes` AS `polltimebtvotes`,`db358023532`.`jos_kunena_config`.`pollnbvotesbyuser` AS `pollnbvotesbyuser`,`db358023532`.`jos_kunena_config`.`pollresultsuserslist` AS `pollresultsuserslist`,`db358023532`.`jos_kunena_config`.`maxpersotext` AS `maxpersotext`,`db358023532`.`jos_kunena_config`.`ordering_system` AS `ordering_system`,`db358023532`.`jos_kunena_config`.`post_dateformat` AS `post_dateformat`,`db358023532`.`jos_kunena_config`.`post_dateformat_hover` AS `post_dateformat_hover`,`db358023532`.`jos_kunena_config`.`hide_ip` AS `hide_ip`,`db358023532`.`jos_kunena_config`.`js_actstr_integration` AS `js_actstr_integration`,`db358023532`.`jos_kunena_config`.`imagetypes` AS `imagetypes`,`db358023532`.`jos_kunena_config`.`checkmimetypes` AS `checkmimetypes`,`db358023532`.`jos_kunena_config`.`imagemimetypes` AS `imagemimetypes`,`db358023532`.`jos_kunena_config`.`imagequality` AS `imagequality`,`db358023532`.`jos_kunena_config`.`thumbheight` AS `thumbheight`,`db358023532`.`jos_kunena_config`.`thumbwidth` AS `thumbwidth`,`db358023532`.`jos_kunena_config`.`hideuserprofileinfo` AS `hideuserprofileinfo`,`db358023532`.`jos_kunena_config`.`integration_access` AS `integration_access`,`db358023532`.`jos_kunena_config`.`integration_login` AS `integration_login`,`db358023532`.`jos_kunena_config`.`integration_avatar` AS `integration_avatar`,`db358023532`.`jos_kunena_config`.`integration_profile` AS `integration_profile`,`db358023532`.`jos_kunena_config`.`integration_private` AS `integration_private`,`db358023532`.`jos_kunena_config`.`integration_activity` AS `integration_activity`,`db358023532`.`jos_kunena_config`.`boxghostmessage` AS `boxghostmessage`,`db358023532`.`jos_kunena_config`.`userdeletetmessage` AS `userdeletetmessage`,`db358023532`.`jos_kunena_config`.`latestcategory_in` AS `latestcategory_in`,`db358023532`.`jos_kunena_config`.`topicicons` AS `topicicons`,`db358023532`.`jos_kunena_config`.`onlineusers` AS `onlineusers`,`db358023532`.`jos_kunena_config`.`debug` AS `debug`,`db358023532`.`jos_kunena_config`.`catsautosubscribed` AS `catsautosubscribed`,`db358023532`.`jos_kunena_config`.`showbannedreason` AS `showbannedreason`,`db358023532`.`jos_kunena_config`.`version_check` AS `version_check`,`db358023532`.`jos_kunena_config`.`showthankyou` AS `showthankyou`,`db358023532`.`jos_kunena_config`.`showpopthankyoustats` AS `showpopthankyoustats`,`db358023532`.`jos_kunena_config`.`popthankscount` AS `popthankscount`,`db358023532`.`jos_kunena_config`.`mod_see_deleted` AS `mod_see_deleted`,`db358023532`.`jos_kunena_config`.`bbcode_img_secure` AS `bbcode_img_secure`,`db358023532`.`jos_kunena_config`.`listcat_show_moderators` AS `listcat_show_moderators`,`db358023532`.`jos_kunena_config`.`lightbox` AS `lightbox`,`db358023532`.`jos_kunena_config`.`activity_limit` AS `activity_limit`,`db358023532`.`jos_kunena_config`.`show_list_time` AS `show_list_time`,`db358023532`.`jos_kunena_config`.`show_session_type` AS `show_session_type`,`db358023532`.`jos_kunena_config`.`show_session_starttime` AS `show_session_starttime`,`db358023532`.`jos_kunena_config`.`userlist_allowed` AS `userlist_allowed`,`db358023532`.`jos_kunena_config`.`userlist_count_users` AS `userlist_count_users`,`db358023532`.`jos_kunena_config`.`enable_threaded_layouts` AS `enable_threaded_layouts`,`db358023532`.`jos_kunena_config`.`category_subscriptions` AS `category_subscriptions`,`db358023532`.`jos_kunena_config`.`topic_subscriptions` AS `topic_subscriptions`,`db358023532`.`jos_kunena_config`.`pubprofile` AS `pubprofile`,`db358023532`.`jos_kunena_config`.`thankyou_max` AS `thankyou_max`,`db358023532`.`jos_kunena_config`.`email_recipient_count` AS `email_recipient_count`,`db358023532`.`jos_kunena_config`.`email_recipient_privacy` AS `email_recipient_privacy`,`db358023532`.`jos_kunena_config`.`email_visible_address` AS `email_visible_address` from `jos_kunena_config`
jjt_kunena_favorites
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_favorites` AS select `db358023532`.`jos_kunena_favorites`.`thread` AS `thread`,`db358023532`.`jos_kunena_favorites`.`userid` AS `userid` from `jos_kunena_favorites`
jjt_kunena_groups
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_groups` AS select `db358023532`.`jos_kunena_groups`.`id` AS `id`,`db358023532`.`jos_kunena_groups`.`title` AS `title` from `jos_kunena_groups`
jjt_kunena_moderation
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_moderation` AS select `db358023532`.`jos_kunena_moderation`.`catid` AS `catid`,`db358023532`.`jos_kunena_moderation`.`userid` AS `userid`,`db358023532`.`jos_kunena_moderation`.`future1` AS `future1`,`db358023532`.`jos_kunena_moderation`.`future2` AS `future2` from `jos_kunena_moderation`
jjt_kunena_subscriptions
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_subscriptions` AS select `db358023532`.`jos_kunena_subscriptions`.`thread` AS `thread`,`db358023532`.`jos_kunena_subscriptions`.`userid` AS `userid`,`db358023532`.`jos_kunena_subscriptions`.`future1` AS `future1` from `jos_kunena_subscriptions`
jjt_kunena_subscriptions_categories
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_subscriptions_categories` AS select `db358023532`.`jos_kunena_subscriptions_categories`.`catid` AS `catid`,`db358023532`.`jos_kunena_subscriptions_categories`.`userid` AS `userid`,`db358023532`.`jos_kunena_subscriptions_categories`.`future1` AS `future1` from `jos_kunena_subscriptions_categories`
jjt_kunena_whoisonline
CREATE ALGORITHM=UNDEFINED DEFINER=`dbo358023532`@`%` SQL SECURITY DEFINER VIEW `jjt_kunena_whoisonline` AS select `db358023532`.`jos_kunena_whoisonline`.`id` AS `id`,`db358023532`.`jos_kunena_whoisonline`.`userid` AS `userid`,`db358023532`.`jos_kunena_whoisonline`.`time` AS `time`,`db358023532`.`jos_kunena_whoisonline`.`item` AS `item`,`db358023532`.`jos_kunena_whoisonline`.`what` AS `what`,`db358023532`.`jos_kunena_whoisonline`.`func` AS `func`,`db358023532`.`jos_kunena_whoisonline`.`do` AS `do`,`db358023532`.`jos_kunena_whoisonline`.`task` AS `task`,`db358023532`.`jos_kunena_whoisonline`.`link` AS `link`,`db358023532`.`jos_kunena_whoisonline`.`userip` AS `userip`,`db358023532`.`jos_kunena_whoisonline`.`user` AS `user` from `jos_kunena_whoisonline`
Please review the database scripts and make them more efficient.
Another possibility made available is to migrate the WebSpace to a
managed or dedicated server. You would have full resources of the
machine and would not effect other users.