Since there's no way to get current value of `SQLITE_LIMIT_COMPOUND_SELECT` in runtime, value should default to 500 but be configurable via db config.