emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: emacs-orgmode@gnu.org
Subject: Re: Org mode as an helper tool for my job position (DBA)
Date: Mon, 17 Mar 2008 07:58:04 -0500	[thread overview]
Message-ID: <20080317125804.GA17141@odin.demosthenes.org> (raw)
In-Reply-To: <loom.20080315T093543-641@post.gmane.org>

> Let take the example of an update statistics. What informations are really
> relevant for me is simply this:
> 
> 1. server name
> 2. start date/end date
> 3. return code
> 4. database name
> 
> Then for each table/index of the given database, I need this:
> 
> 1. object name
> 2. status
> 3. time spent
> 
> Each object would have extra informations as a note under the entry.
> 
> Producing the right org-mode file structure from any script/c code is rather
> simple, in fact, I have done this as a quick and dirty hack for one tool.
> 
> Where I am failing is in having a column view of the document (I want to be able
> to only view time spent for each object name to measure the performance of the
> last update statistics run).

It sounds like you should explore the property drawer and properties,
using Org's column view. It can summarize properties across items,
which is very handy whether turning out a budget, timeline, etc.

I think you're right, that Org could make reviewing this kind of data
very fast.

Here's a short example you can use with column view (C-c C-x C-c):

*  Jobs
   :PROPERTIES:
   :COLUMNS: %35ITEM %8TODO %5DURATION %2EXITCODE
   :END:

**  Job 1
   :PROPERTIES:
   :STARTTIME: 1:00
   :ENDTIME:  2:00
   :EXITCODE: 0
   :DURATION: 1:00
   :END:

Log from job goes here.

**  Job 2
   :PROPERTIES:
   :STARTTIME: 2:00
   :ENDTIME:  3:30
   :EXITCODE: -1
   :DURATION: 1:30
   :END:

Log from job goes here.


------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

      parent reply	other threads:[~2008-03-17 12:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-15  9:49 Org mode as an helper tool for my job position (DBA) Xavier Maillard
2008-03-17 12:54 ` Bernt Hansen
2008-03-17 12:58 ` Russell Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080317125804.GA17141@odin.demosthenes.org \
    --to=rladams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).