Add limit to top queries request, it could be the same limit, as for the running queries (100) https://github.com/ydb-platform/ydb-embedded-ui/blob/main/src/store/reducers/executeTopQueries/executeTopQueries.ts#L28 Sort table on backend, so limit will be applied after sorting. It should be done the same way as in top shards: https://github.com/ydb-platform/ydb-embedded-ui/blob/main/src/store/reducers/shardsWorkload/shardsWorkload.ts#L62