 | SQL related question |  |
Posted: 09/11/2007 7:28 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Hi brother,
When I export backup of MySQL from phpMyAdmin for FunWadi database so sometimes it makes 35.1 MB sometimes 35.2 sometimes 34.8
Why is that so? Is the backup complete or it gets broken in between the download or what happens actually! I am actually confused whether the database is downloaded complete or not  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 2:20 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Do you regularly prune the messages from any of your forums or do you have any processes that optimize and clean up the database tables? That would explain why the backups vary from day to day...
If you are unsure whether a backup is complete, you can open the sql file in a good text editor and make sure that there are CREATE TABLE queries for all of the tables in your database. If a CREATE TABLE entry exists for the last table in your database, then most likely all the other data is valid too. The only text editor that I've found that can handle large database backup files is UltraEdit...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 3:32 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
oh yeah i never thought of pruining. There is some pruining system going in some forums but not in all. But the problem is when I make backup now will be let's say of 35 MB, just after that I will make the same backup again and it will be of some other size! and it happens after every download i make and it finishes in 34-35 MB.
So than I think i must check through UltraEdit to see what is actually happening...  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 3:49 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Why would you make two database backups in a row???
I doubt that there is anything to worry about. phpMyAdmin seems quite stable and usually tells you if there is a problem. Once you open the database backups in UltraEdit, it will be easy to tell whether there is a problem in the backup...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 4:09 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
NO, I just tried it once I don't know why and than saw the size was different of both the files even though there was no major changed in the board. So i doubt there is some problem.
Hmm... Alright, so I will download UltraEdit and check out whether there is any problem or not... |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 5:11 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, maybe between the time you ran the first backup and then the second, the forum prune option ran. I can't even begin to guess what changed, but I imagine that there is nothing wrong with what you have now...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 7:16 PM |
|
|
|
|
|
| Site Admin |
| Posts |
49593 |
| Word Cnt. |
2,756,445 |
| BDay |
Apr 22 |
| Sign |
Taurus |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 5:58 AM
Location: Texas
|

|
|
|
|
 |
Our backups do the same thing. Seems they grow to a certain point and suddenly drop, then began to grow again .....
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/11/2007 10:53 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
Our backups decreased in size because I emptied some of the log tables. There really isn't anything magical about why this might happen. There is always a logical explanation even if it isn't immediately obvious...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/12/2007 3:22 AM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
Ahaan. Than it's fine. I am quite happy now.
Thanks NR and rb2d2.
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: SQL related question |  |
Posted: 09/12/2007 2:55 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|