Irish SEO,  Marketing & Webmaster Discussion
 
Chitika Malls
 

Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2007, 01:21 AM
blacknight's Avatar
Web Slave
Recent Blog: Jaiku Back Online
 
Join Date: Jan 2006
Location: Ireland
Posts: 5,893
blacknight is just really niceblacknight is just really niceblacknight is just really niceblacknight is just really nice
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default MySQL Optimisation?

Does anyone know if there is a command / process in MySQL to optimise all tables in all databases on a MySQL server?

I'm getting sick of having to do it manually
Reply With Quote
  #2 (permalink)  
Old 05-01-2007, 10:45 AM
Frontpage User
 
Join Date: Feb 2006
Posts: 18
kbannon will become famous soon enough
Default

any use sir?
Optimize all your mysql databases automatically [mysql] [php] [database] [optimize]
Reply With Quote
  #3 (permalink)  
Old 07-01-2007, 02:19 PM
jmcc's Avatar
Wannabe Geek
 
Join Date: Feb 2006
Posts: 277
jmcc has a spectacular aura about
Default

Looks very interesting. I wonder if it will work on a 3000 table db here. Though depending on the version of MySQL, it might be possible to create some kind of optimisation as a stored procedure.

Regards...jmcc
Reply With Quote
  #4 (permalink)  
Old 07-01-2007, 03:53 PM
blacknight's Avatar
Web Slave
Recent Blog: Jaiku Back Online
 
Join Date: Jan 2006
Location: Ireland
Posts: 5,893
blacknight is just really niceblacknight is just really niceblacknight is just really niceblacknight is just really nice
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

It looks like it could do the trick.

What could go wrong though? I live in fear of MySQL exploding!
Reply With Quote
  #5 (permalink)  
Old 15-01-2007, 10:15 AM
kae's Avatar
kae kae is offline
Byte Wrangler
 
Join Date: Sep 2006
Location: monaghan
Posts: 54
kae will become famous soon enough
Default

3000 tables, eh?

there's such a thing as over-normalisation, you know!
__________________
verens.com, webworks.ie
kfm.verens.com
Reply With Quote
  #6 (permalink)  
Old 15-01-2007, 04:17 PM
jmcc's Avatar
Wannabe Geek
 
Join Date: Feb 2006
Posts: 277
jmcc has a spectacular aura about
Default

Quote:
Originally Posted by kae View Post
3000 tables, eh?

there's such a thing as over-normalisation, you know!
Yep but there is also such a thing as computability. This is one of the smaller dbs for tracking new/deleted/moved domains in com/net/org/biz/info/ie/eu/uk zones from 2000 to 2007. I might have to take a look at optimising the design somewhat but it was designed to handle large amounts of data with the emphasis on computability - dumping a single .com zone's domains and nameservers into a table would result in a table of about 133 Million rows. So even comparing two 133M row tables would take some time. Given the way that the .com has mushroomed over the past year (from about 3G to 4.3G of raw data), the design has held up fairly well. Though it only takes a few seconds to process .ie stats.

I ran a summary table generation today to coallate the stats on all hosters (approximately 1.5 Million) in com/net/org/biz/info/ie since December 2000 to December 2006 and it took approximately 9 hours on an Athlon64 with 3G of RAM. Even with optimisation, big sets of data take a lot of time to process.

Regards...jmcc

Last edited by jmcc; 15-01-2007 at 08:37 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adsense Optimisation Services? blacknight Google Adsense 20 10-03-2007 12:36 AM
CSV to MySQL Conversion Tools? blacknight Coding Help 7 04-01-2007 10:00 AM
MySql gurus louie Coding Help 5 16-11-2006 10:00 PM
calender script (php, mysql) 7aken Coding Help 3 20-10-2006 06:57 AM
What MySQL front end GUI do you use (windows) louie Webmaster Discussion 3 02-10-2006 01:06 PM


All times are GMT +1. The time now is 01:52 AM.


Powered by: vBulletin Version 3.7.2, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.

Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56