English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

I have 3 slave sites in same database - problems
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: I have 3 slave sites in same database - problems
#3842
I have 3 slave sites in same database - problems 14 Years, 8 Months ago Karma: 0
Hi,

I have 1 Master site and 3 slave sites in same database. My site provider did shut my sites down, because my database confused their system? My database had too many queries and it overloads.

I don't know what to do with this problem.

Our web host support said that they will not let us open our site, before we solve our database problems. -- There is more than 5000 tables in my database and we have about 1500 to 2000 visitor in every day.

Will it help if I move slave sites to theur own databases, or what will I do?
jari646
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3843
Re:I have 3 slave sites in same database - problems 14 Years, 8 Months ago Karma: 0
This is the problem, but I don't understand it?

| 15725117 | autoviih_autovii | localhost | autoviih_autohifi | Query |
5 | update | INSERT INTO master_sef_sm_cache_items set id ='308', ordering='712', name='G88A SMIN-20P Blade sulak |
| 15726429 | autoviih_autovii | localhost | autoviih_autohifi | Query |
4 | end | update tronica_joomlawatch_info set value = value+1 where (`group` = '4' and name = '4' and date = ' |
| 15726592 | autoviih_autovii | localhost | autoviih_autohifi | Query |
4 | statistics | SELECT oldurl, newurl FROM master_redirection WHERE oldurl = 'Autosoittimet/Pioneer-DEH-4200SD-CD-vi |
| 15726593 | autoviih_autovii | localhost | autoviih_autohifi | Sleep |
4 | | |
| 15726595 | autoviih_autovii | localhost | autoviih_autohifi | Query |
4 | Opening tables | SELECT oldurl, dateadd FROM master_redirection WHERE newurl = 'index.php?option=com_jcomments&lang=f |
| 15726670 | autoviih_autovii | localhost | autoviih_autohifi |
Query | 4 | Opening tables | SELECT * FROM
master_session WHERE session_id = '11a84c4d657db7b8da9db5a56a566be0'
| 15726676 | autoviih_autovii | localhost | autoviih_autohifi |
Query | 1 | Opening tables | SELECT * FROM
master_session WHERE session_id =
'11a84c4d657db7b8da9db5a56a566be0' |
| 15726677 | autoviih_autovii | localhost | autoviih_autohifi |
Query | 0 | Opening tables | SELECT * FROM
master_session WHERE session_id = 'b79dbe4e011a9fa2e2f21db74a1bfe0d'
| 15726680 | autoviih_autovii | localhost | autoviih_autohifi |
Query | 0 | Opening tables | SELECT * FROM
master_session WHERE session_id =
'b79dbe4e011a9fa2e2f21db74a1bfe0d' |
| 15726681 | autoviih_autovii | localhost | autoviih_autohifi |
Query | 0 | Opening tables | SELECT * FROM
master_session WHERE session_id = '11a84c4d657db7b8da9db5a56a566be0'
jari646
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3844
Re:I have 3 slave sites in same database - problems 14 Years, 8 Months ago Karma: 54
I don't understand why your hosting provide complain because you have plenty of MySQL tables.
5000 table is acceptable. This correspond to 15,000 files in a same directory (DB) on the disk.
MySQL use 3 files for each table.

Concerning the queries, it seems related to the SEF extension and its cache.

I don't know which SEF extension you are using but if your hosting provider complain this is perhaps because the SEF cache store plenty of information in the DB.
The table used seems "master_sef_sm_cache_items" and "master_redirection".
The other queries seems relative to the read of the session from the DB
master_session

Based on the info that you provide here, all the request concern the same website (the "master_") and I don't see what could change if you have the "master" alone in the DB.

You can always make each website to have its own DB.
Up to you to see if you are sharing extension and therefore MySQL tables.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3849
Re:I have 3 slave sites in same database - problems 14 Years, 8 Months ago Karma: 0
Hi,

I use SH404SEF newest version.

The host told me that there is 5000 tables and only 300 are in use. But all those 5000 tables make queries for those 300 tables and that cause overload to server.

This problem have come two weeks ago
jari646
Fresh Boarder
Posts: 13
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/04/07 10:01 By jari646.
The administrator has disabled public write access.
 
#3852
Re:I have 3 slave sites in same database - problems 14 Years, 8 Months ago Karma: 54
The table name that you provided to me are SEF related.

The 5000 tables that make queries for the other one are perhaps the links to share the data.
This may be normal if you shared extensions.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla