GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Tip : Check SQL Index Fragmentation (https://gfy.com/showthread.php?t=1064813)

barelist 04-16-2012 09:02 AM

Tip : Check SQL Index Fragmentation
 
Just noticed while doing some spring cleaning in the site's database that a lot of our most used tables had 70% + fragmentation on their indexes.

Made sure to rebuild and reorganize all of them, and they're now sitting around 0-.1% fragmented.

Our DB is in SQL Server, but should apply to you MYSQL guys as well.

Pretty interesting that I believe our site is pretty optimized, but you can still stumble upon something like this :mad:

Why 04-16-2012 11:24 AM

optimization is never over.

V_RocKs 04-16-2012 11:46 AM

Optimize....

barelist 04-16-2012 12:04 PM

Then the host has a network issue... LOL

jigg 04-16-2012 12:14 PM

how do you do that on a wordpress without fucking up the db?

HomerSimpson 04-16-2012 01:50 PM

Quote:

Originally Posted by jigg (Post 18889947)
how do you do that on a wordpress without fucking up the db?

login at phpmyadmin -> select all database -> select all tables -> select optimize from drop down list -> confirm

you're done

barelist 04-16-2012 02:29 PM

Quote:

Originally Posted by HomerSimpson (Post 18890183)
login at phpmyadmin -> select all database -> select all tables -> select optimize from drop down list -> confirm

you're done

LOL, that makes it too easy :thumbsup


All times are GMT -7. The time now is 03:08 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc