|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
optimizing db command
to relieve the "overhead" on mysql, i guess i can have a random int made, and if its say between 1 and 100, and say bigger then 50, then there is a 50% chance of it being ran, or only run half as many times as page loads say, anyway, whats the command to optimize the database to eliminate the overhead, i guess this is a good thing?
thanks |
|
#2
|
||||
|
||||
|
So you're only going to display something on half of your pages?? I don't understand what you're talking about. Moving this to General Databases until you prove it's a PHP issue.
---John Holmes... |
|
#3
|
|||
|
|||
|
lol, nevermind about the first part. i only meant for a command to run half as many times, reducing server load.
i want to know what the command is for optimizing the db. |
|
#4
|
||||
|
||||
|
Oh... well that's easy. Just run OPTIMIZE TABLE <table_name>;
---John Holmes... |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > optimizing db command |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|