dbTalk Databases Forums  

Timestamp of Query

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Timestamp of Query in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Timestamp of Query - 04-26-2006 , 12:37 PM






Hie,

1. Is there any method to get the timestamp or any other performance
parameter of query fired on node based container.

2. I want to apply metadata on documents at the container level. e.g.
Assume there are three attributes creation time, expiry time and last
accessed to be attached with each document. Every time I attempt to add
I don have to configure at document level.

Thanks in advance....


Reply With Quote
  #2  
Old   
George Feinberg
 
Posts: n/a

Default Re: Timestamp of Query - 04-27-2006 , 09:30 AM






Hello,

kensky.schulz (AT) googlemail (DOT) com wrote:
Quote:
Hie,

1. Is there any method to get the timestamp or any other performance
parameter of query fired on node based container.
I'm not sure what you're asking. BDB XML is a library, and you
can certainly surround your calls to query operations with your
own timer start/stop in order to get performance information.

This is done in the "time" subcommand of the dbxml shell program,
and can be used for rough, interactive timing.

Quote:
2. I want to apply metadata on documents at the container level. e.g.
Assume there are three attributes creation time, expiry time and last
accessed to be attached with each document. Every time I attempt to add
I don have to configure at document level.
Metadata is application-managed.
You can add metadata to documents inserted by using
XmlDocument::setMetaData()
when you are creating the document, before you call
XmlContainer:utDocument().

Regards,

George

Quote:
Thanks in advance....


Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.