Custom segment archiving question

Hi,

Our users create painfully complex Custom segments with large amounts of data. This can cause performance issues for other users.

We have browser triggering disabled but custom segments trigger archiving anyway, as described here:

When we enable this option, the custom segments are no longer processed by the browser and they are also not processed by the archiver.

; disable browser trigger archiving for all requests (even those with a segment)
browser_archiving_disabled_enforce = 1

I suspect that is due to the ā€œauto_archiveā€ option that a) I can see in the database and b) root users can see, but c) our users can not see.

This means all of their custom segments are set to ā€œAuto_archiveā€ = 0.

To the questions:.

  1. How can I ensure that all segments are auto_archive=1 automatically going forward?
  2. Is there a way to ensure that API calls with a custom segment definition get archived so they return faster in the future?

P.s. I can see that auto_archive is 1 for any segments after 2021-09-10 19:37:47, so you can ignore question 1

Found my own answer in this:

1 Like