Changes between Version 1 and Version 2 of Ticket #18650, comment 2


Ignore:
Timestamp:
Nov 2, 2023, 9:27:30 AM (13 months ago)
Author:
bipolar

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18650, comment 2

    v1 v2  
    1 What's considered a large filesystem? The first `query -a name=whatever` is always pretty slow on a 5 GB partition for me. (I should probably script a dummy query on boot, just so it get ready for when I want to actually use it :-P).
     1What's considered a large filesystem? The first `query -a name=*whatever*` is always pretty slow on a 5 GB partition for me. (I should probably script a dummy query on boot, just so it get ready for when I want to actually use it :-P).
    22
    3 Also... doesn't this has to do more with PackageFS than BFS? I mean... on BFS the indexes are "there" in the disk, but for activated packages those need to be computed/gathered on each boot, or I'm just mistaken on how that works?
     3~~Also... doesn't this has to do more with PackageFS than BFS? I mean... on BFS the indexes are "there" in the disk, but for activated packages those need to be computed/gathered on each boot, or~~ I'm just mistaken on how that works ~~?~~
     4
     5Edit: did some tests, I see that /boot/system only indexes: last_modified, size, name, and BEOS:APP_SIG.
     6
     7So my slow queries are down to being either for non-indexed attributes, or the difference between using exact match vs "glob" queries (eg. `name=test` vs `name=*test*`), plus my slow hardware and number of files.