From 93b73b064c663d6248bebfbbbd82989b5ca10fc5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 21 Nov 2012 00:28:00 +0100 Subject: journal: by default do not decompress dat objects larger than 64K This introduces a new data threshold setting for sd_journal objects which controls the maximum size of objects to decompress. This is relieves the library from having to decompress full data objects even if a client program is only interested in the initial part of them. This speeds up "systemd-coredumpctl" drastically when invoked without parameters. --- man/sd_journal_query_unique.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man/sd_journal_query_unique.xml') diff --git a/man/sd_journal_query_unique.xml b/man/sd_journal_query_unique.xml index f2f8af0eb5..502a7e08c2 100644 --- a/man/sd_journal_query_unique.xml +++ b/man/sd_journal_query_unique.xml @@ -113,7 +113,9 @@ invocation of sd_journal_enumerate_unique(). Note that the data returned will be prefixed with the field - name and '='. + name and '='. Note that this call is subject to the + data field size threshold as controlled by + sd_journal_set_data_threshold(). sd_journal_restart_unique() resets the data enumeration index to the beginning of -- cgit v1.2.1