Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
SQL related question
Post new topic   Reply to topic View previous topic :: View next topic
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
SQL related question
PostPosted: 09/11/2007 7:28 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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  dontknow
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SQL related question
PostPosted: 09/11/2007 2:20 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SQL related question
PostPosted: 09/11/2007 3:32 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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...  Rolling Eyes
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SQL related question
PostPosted: 09/11/2007 3:49 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SQL related question
PostPosted: 09/11/2007 4:09 PM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
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
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SQL related question
PostPosted: 09/11/2007 5:11 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SQL related question
PostPosted: 09/11/2007 7:16 PM Reply with quote
Site Admin
rb2d2
Site Admin
Posts 49593
Word Cnt. 2,756,445
BDay Apr 22
Sign Taurus
Sex Sex:Female
Joined: Sep 25, 2004
Local time: 5:58 AM
Location: Texas
texasC.gif
Our backups do the same thing.  Seems they grow to a certain point and suddenly drop, then began to grow again .....   dontknow


Back to Top
View all pictures posted by this userView user's profile Find all posts by rb2d2 Send private message   Visit poster's website Phoogle Map
Re: SQL related question
PostPosted: 09/11/2007 10:53 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
peace.gif
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...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: SQL related question
PostPosted: 09/12/2007 3:22 AM Reply with quote
Citation
abdulbasit
Citation
Posts 1017
Word Cnt. 64,643
BDay Apr 18
Sign Aries
Sex Sex:Male
Joined: Apr 01, 2007
Local time: 3:58 PM
Location: UNITED ARAB EMIRATES
unitedACa.gif
Ahaan. Than it's fine. I am quite happy now.

Thanks NR and rb2d2.

headbang
Back to Top
View user's profile Find all posts by abdulbasit Send private message [ Hidden ] Visit poster's website Yahoo Messenger MSN Messenger
Re: SQL related question
PostPosted: 09/12/2007 2:55 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 7:58 AM
Location: St Pete, FL
peace.gif
banana  banana  banana  banana  banana
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours

Page 1 of 1


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.1613s (PHP: 38% - SQL: 62%) - SQL queries: 58 - GZIP disabled - Debug on