emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Xavier Maillard <xma@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org mode as an helper tool for my job position (DBA)
Date: Mon, 17 Mar 2008 08:54:27 -0400	[thread overview]
Message-ID: <871w69cxz0.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <loom.20080315T093543-641@post.gmane.org> (Xavier Maillard's message of "Sat\, 15 Mar 2008 09\:49\:30 +0000 \(UTC\)")

Xavier Maillard <xma@gnu.org> writes:

> Hi,
>

Hi!

> 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).
>
> What would I need to add for each of the table/index "todo" entry to have this
> information at hand ?
>
> As an example, updating index statistics will present an org file like this one:
>
> #title Update statistics of sql server
>
> * General information
> - start date
> - end date
> - return code
>
> * Index statistics (I want column view from here for each object name)
> ** Index name 1
> informations for index name 1 go here (time spent, etc...)
> ** Index name 2
> * Index name <n>
> ...
>

Here's a sample org file.  Just add properties to the tasks (objects)
you need in the column view and a #+COLUMNS: line describing what fields
to include in the columns.

,----[ Sample org file ]
| #+STARTUP:
| #+COLUMNS: %40ITEM(Task) %30Status(Status) %30TimeSpent(Time Spent){:}
| * General information
| - start date
| - end date
| - return code
| 
| * Index statistics (I want column view from here for each object name)
| ** Index name 1
| informations for index name 1 go here (time spent, etc...)
| :PROPERTIES:
| :TimeSpent: 00:30
| :Status: S42
| :END:
| ** Index name 2
| :PROPERTIES:
| :TimeSpent: 00:17
| :Status: R19
| :END:
| * Index name <n>
| :PROPERTIES:
| :TimeSpent: 02:16
| :Status: 42
| :END:
`----

Hope that helps,

Bernt

  reply	other threads:[~2008-03-17 12:54 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 [this message]
2008-03-17 12:58 ` Russell Adams

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=871w69cxz0.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=xma@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).