Progression bar with mysqldump

This is a discussion on Progression bar with mysqldump within the MySQL Database forums, part of the Database Forums category; Hello, guys! Maybe somebody here would be able to answer my question. I would like to know whether it's ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-13-2008
Ewgenij Sokolovski
 
Posts: n/a
Default Progression bar with mysqldump

Hello, guys! Maybe somebody here would be able to answer my question.
I would like to know whether it's possible to couple mysqldump with a
progression bar in my application. The goal is to enable users of my
application to monitor the dump process while it is running - the
usual intention of a progression bar.

I didn't find anything about it in the internet and the manual of
MySQL, so I ask myself whether this is possible at all...

Best regards
Ewgenij
Reply With Quote
  #2 (permalink)  
Old 05-13-2008
Captain Paralytic
 
Posts: n/a
Default Re: Progression bar with mysqldump

On 13 May, 10:15, Ewgenij Sokolovski <ewgenij...@compuserve.de> wrote:
> Hello, guys! Maybe somebody here would be able to answer my question.
> I would like to know whether it's possible to couple mysqldump with a
> progression bar in my application. The goal is to enable users of my
> application to monitor the dump process while it is running - the
> usual intention of a progression bar.
>
> I didn't find anything about it in the internet and the manual of
> MySQL, so I ask myself whether this is possible at all...
>
> Best regards
> Ewgenij


I guess it should be, up to a point. First of all you will have to run
some queries to estimate the size of the tables you are going to dump.
Then you will need to monitor the size of the file being written to
disk, updating the bar as you go.
Reply With Quote
  #3 (permalink)  
Old 05-13-2008
Ewgenij Sokolovski
 
Posts: n/a
Default Re: Progression bar with mysqldump

> First of all you will have to run
> some queries to estimate the size of the tables you are going to dump.
> Then you will need to monitor the size of the file being written to
> disk, updating the bar as you go.


Hmm, that would be a straightforward solution:) But I thought that
maybe mysqldump provides a feedback functionality about processed
bytes... Some applications do.

Reply With Quote
  #4 (permalink)  
Old 05-13-2008
Captain Paralytic
 
Posts: n/a
Default Re: Progression bar with mysqldump

On 13 May, 10:26, Ewgenij Sokolovski <ewgenij...@compuserve.de> wrote:
> > First of all you will have to run
> > some queries to estimate the size of the tables you are going to dump.
> > Then you will need to monitor the size of the file being written to
> > disk, updating the bar as you go.

>
> Hmm, that would be a straightforward solution:) But I thought that
> maybe mysqldump provides a feedback functionality about processed
> bytes... Some applications do.


Does the manual say it does?
Reply With Quote
  #5 (permalink)  
Old 05-14-2008
Ewgenij Sokolovski
 
Posts: n/a
Default Re: Progression bar with mysqldump

> Does the manual say it does?

No, I didn't find anything about it:) But I thought, maybe there is
some trick to get it done... But, apparently, there is not.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0