Size of SQLite database in file reported as 1.4GiB by ROOT regardless of size.
According to Herb, asking ROOT about the size of the SQLite database in a ROOT file produces an answer which does not depend on the actual size of the DB. Please investigate and mitigate if possible.
#2 Updated by Paul Russo over 6 years ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
The reported problem was that when you use the root TBrowser to inspect the TKey named "RootFileDB;1" in an art root file, the size data members fNbytes and FObjlen report invalid numbers. This is indeed true, the numbers are meaningless.
However if you fetch the TKey from the open file programatically and dump it like this:
TKey* tk = gDirectory->GetKey("RootFileDB");
the fNbytes and fObjlen data members do have the correct numbers (they also have individual accessor member functions).
So this is just poor behavior on the part of the TBrowser, the correct data is fetchable from the file in the normal way.