Project

General

Profile

Refactor #25871

Remove timestamps from logs table

Added by Lukas Zapletal 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Database
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Table "logs" can be huge since it joins reports with sources and messages. It currently contains timestamps but we do not appear to make any use of them and it does not make much sense to track creation of individual lines in a report, what is relevant is creation time of a report itself which we already have in table named "reports".

This ticket is to drop the timestamps to save some space.

Associated revisions

Revision d84f29a5 (diff)
Added by Lukas Zapletal 9 months ago

Fixes #25871 - timestamps removed from logs

History

#1 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6417 added

#2 Updated by Tomer Brisker 9 months ago

  • Fixed in Releases 1.22.0 added

#3 Updated by Lukas Zapletal 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF