Skip to content

[ 问题咨询 ] 查询行数大于5000怎样设置? #875

Closed
@yh777

Description

问题描述

查询行数大于5000怎样设置?

版本信息

  • 应用版本/分支:Release v1.7.2
  • 部署方式:Docker、手工部署

Activity

zhengweigao

zhengweigao commented on Oct 10, 2020

@zhengweigao

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit

多看文档

有地方调整普通用户的返回行数限制嘛

hhyo

hhyo commented on Oct 10, 2020

@hhyo
Owner
weideguo

weideguo commented on Jul 27, 2021

@weideguo
Collaborator

进入django调试命令行

cd /opt/archery
python manage.py shell
from common.config import SysConfig
SysConfig().set('admin_query_limit',20000)

可以修改默认的查询上限

morewant

morewant commented on Nov 22, 2023

@morewant

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit
多看文档

有地方调整普通用户的返回行数限制嘛

https://archerydms.com/modules/query/#_7

配置了行数权限后进行查询,依然是5000条,会是什么情况导致的?
image
image

morewant

morewant commented on Nov 22, 2023

@morewant

https://github.com/hhyo/archery/wiki/configuration#admin_query_limit
多看文档

有地方调整普通用户的返回行数限制嘛

https://archerydms.com/modules/query/#_7

配置了行数权限后进行查询,依然是5000条,会是什么情况导致的? image image

找到原因了,是权限配置中“可查询所在资源组内所有实例”权限导致的,加了该权限申请的权限就不生效

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      [ 问题咨询 ] 查询行数大于5000怎样设置? · Issue #875 · hhyo/Archery