They are theoretically nanoseconds, but on platforms where nanoseconds
were not returned the date routines simply return a sequential number.
I believe the point of adding nanoseconds is to ensure uniqueness. Do
not assuming consecutive entries, though.
-----Original Message-----
From: info-ingres-bounces (AT) kettleriver...ting (DOT) com
[mailto:info-ingres-bounces (AT) kettleriverconsulting (DOT) com] On Behalf Of Roy
Hann
Sent: 16 September 2009 09:43
To: info-ingres (AT) kettleriverconsulting (DOT) com
Subject: [Info-Ingres] SC930 log file format
The entries in the session log are of the form <type of
message>:<timestamp1>/<timestamp2>:<other info>, where <timestamp> is
described as being two four-byte integers containing the most accurate
time available in the environment. Here's an example fragment:
SESSION BEGINS(1):1253026078/351875000

DBID=1246951749)(ingres
QUERY:1253026078/351875001:select resolve_table( ~V , ~V )
PARM:1253026078/351875002:21:0=''
PARM:1253026078/351875003:21:1='iisynonyms'
QUERY:1253026078/367500004:define query ~Q is select table_name,
table_owner ...
PARM:1253026078/367500005:30:0=3088
PARM:1253026078/367500006:30:1=23281
PARM:1253026078/367500007:20:2='ferelacc4
PARM:1253026078/367500008:21:3='ingres'
PARM:1253026078/367500009:21:4='ii%'
PARM:1253026078/367500010:21:5='ingres'
PARM:1253026078/367500011:21:6='ii%'
PARM:1253026078/367500012:21:7='ingres'
ADD-CURSORID:1253026078/367500013

ID=2/4)(ferelacc4
)
EXECUTE:1253026078/383125004

ID=2/4)(ferelacc4 )
It looks pretty obvious (to me) that the low order few bits of the
second part of the timestamp are forced to be distinct and more-or-less
consecutive. But maybe not. Can anyone spare me the trouble of
splashing about in the source code for the answer?
--
Roy
UK Ingres User Association Conference 2010 will be on Tuesday June 8
2010
Go to http://www.iua.org.uk/join to get on the mailing list.
_______________________________________________
Info-Ingres mailing list
Info-Ingres (AT) kettleriverconsulting (DOT) com
http://www.kettleriverconsulting.com...fo/info-ingres