It is looking like mysqlnavigator is reasonablly effective for a db of the size of Bacula's. I had forgotten, but I ran across this tool when coming up to speed on mysql (for Bacula) and so installed the package. Hopefully, this will save me much query writing. As much as I would love to come up to speed on writing sql, right now I have more interest in getting my Bacula implimentation up and running. Once it is running, I suspect there will be some custom queries I will need for monitoring.

I am really excited about Bacula. This is looking like the perfect solution-- highly professional features available for my modest network. When this implimentation is complete, I am going to be breathing easier.

Christopher Mills wrote:

Arno,

Thank you for taking the time to review my long post, and for steering me on course. I checked the bug tracker page, which I just discovered. The bug was reported and fixed, so I will wait for a future release (bug 0000339). I will check the buglist next time, not just the user posts.

A few follow-up questions:

1) I didn't follow your blacklist comment at the beginning. Other than length, have I violated any etiquette?
2) Is there a repository of queries written by others?
3) Is there a pictorial view of the data-model, or do you know of any good reverse engineering tools for mysql that will build me a nice graphical picture of the data model? I have a reasonable amount of experience in relational data modeling. Unfortunately, my experience is in a proprietary (albeit robust) relational database. Consequently, I am lukewarm on sql queries from a practical standpoint, and almost completely unfamiliar with any mysql tools that are out there. Any must-haves?

Arno Lehmann wrote:

Once more, again blacklisted...

this gets interesting ;-)

And once more because I sent this to the wrong list...

resend, because my mail provider managed to get one of his mailers onto
a blacklist...

Hello,

you wrote a very nice mail - only I think many list-readers will not
bother to read that long text ;-)

On 2/28/2006 11:39 PM, Christopher Mills wrote:

I searched the archive for an answer to this question. I found it asked but never answered:

The bconsole command 'list jobs' gives me a list of runs from all jobs. I want to narrow it to all job runs from a particular job. The bconsole doc under "list" seems to imply that would be done with:

  list job=My-Job

This doesn't work (I am running mysql under Gentoo Linux).



The same here. Either the manual is wrong or this is a bug, I say.

I tried ...
Alas, my suspicion is this query just doesn't function.



By now, I suspect the same.

Since I believe that this is a very fundemental query, and since out of the corner of my eye while searching the archives for an answer I seem to have noticed questions about formulating sql queries against the Bacula database tables, I have a broader question in regard to what I should expect in diving into Bacula:

Should I expect that the Bacula development community is focusing on the more critical areas of this highly complex and powerful opensource project?



That's what it looks like, and even though I understand the question
behind what you wrote :-) I don't think this should remain unfixed.

Should I bite the bullet, and bone up on my sql skills on the assumption that these relatively benign (but from a practical perspective of a Bacula implimentation, important) queries may not be fully debugged and tested as of yet? Should I assume that I will "become one" with the product more quickly if I just accept this, and learn to write my own queries as needed?



Well, if you want to get more fluent in SQL this could be just the right
project :-)

I am really hoping the answer is "no." But I can understand if it is "yes," as I certainly haven't been the one contributing to this monumental project :) (Although, if it is "yes" I will confess to being a little disappointed as I was hoping query writing would only come up in future fine-tuning of my implimentation).



I'd even say that in many cases you don't need to write any SQL at all.

If this is the case, then I am just wondering where I should start. I haven't really tried to delve into the source although I have taken a peek at "query.sql." What is not clear to me is where all the queries forming the 'list' commands are hiding. Do I need to get my hands on some source to get started on examples of useful queries? Should the task be to simply tack new queries onto query.sql as I need them?



Yes and no.

The SQL behind the commands like list is indeed hiding in the source
code. You can, however, achieve what you want by using queries in
query.sql, which I'd recommend.

Parameter passing is done in a dialog there, but it's obviously much
easier to try out queries - no need to recompile, install and restart
the binaries, only saving the file and issueing the query command from
bconsole.

Or am I getting paranoid, all documented queries work great, and I am just being clueless, having missed the obvious (which wouldn't be the first time)? :)



Not this time, I'm afraid...

Thanks in advance for any help and advice.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to