Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gstat output does not include datetime of analysis [CORE5629] #5895

Closed
firebird-automations opened this issue Oct 5, 2017 · 7 comments
Closed

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @reevespaul

It would be nice to have a timestamp in a gstat report otherwise it is necessary to rely on the file creation date, which is not always correct.
This could be the first line of gstat output, just before the Database "/path/to/my.fdb" line.

Perhaps something like

Gstat execution time Sep 30, 2017 12:00:00

I would guess that this might be easy enough to add to 2.5.8, 30.3 and 4.0

It might also be useful to add a timestamp at the end of the output as large databases can take quite a while to analyse.

Commits: 7a1f070 244e4be 1f811f8 4eac322

====== Test Details ======

See test for CORE0959

@firebird-automations
Copy link
Collaborator Author

Commented by: @pavel-zotov

As temp. workaround for this one may use 3rd-party utility like mtee /t+ (on Windows) (or supertee -tn (on POSIX):
gstat -r ... 2>&1 | mtee /t+ .\gstat-with-timing.log
supertee -tn ./gstat-with-timing.log gstat -r ...

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

2.5 port is partial - no completion print, no intl support in messages

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.8 [ 10809 ]

Fix Version: 3.0.3 [ 10810 ]

Fix Version: 4.0 Beta 1 [ 10750 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Resolved [ 5 ]

QA Status: No test => Covered by another test(s)

Test Details: Seet test for CORE0959

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

Test Details: Seet test for CORE0959 => See test for CORE0959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment