share server list slow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
In Progress
|
Low
|
Felipe Rodrigues |
Bug Description
Hi,
listing share servers (on xena) is taking too long or even timing out.
$ time manila share-server-list
manila share-server-list 0.98s user 0.28s system 0% cpu 5:16.89 total
I see it in the slow-queries.log of my mariadb: https:/
Some more numbers:
select count(id) from share_servers;
1199
select count(id) from network_
3515
select count(id) from share_instances;
16402
select count(id) from share_instance_
42332
select count(id) from share_networks;
367
select count(id) from share_network_
557
It is always joining share instances and share instance export locations in there
https:/
- I think this is too heavy.
Can you help speeding this up?
Best regards,
Maurice
Changed in manila: | |
importance: | Undecided → Low |
Changed in manila: | |
assignee: | nobody → Carlos Eduardo (silvacarlose) |
Changed in manila: | |
assignee: | Carlos Eduardo (silvacarlose) → Felipe Rodrigues (felipefutty) |
Changed in manila: | |
milestone: | none → bobcat-3 |
Changed in manila: | |
milestone: | bobcat-3 → bobcat-rc1 |
Changed in manila: | |
milestone: | bobcat-rc1 → caracal-1 |
This issue may be similar to https:/ /bugs.launchpad .net/manila/ +bug/1831094
Additional information is at https:/ /meetings. opendev. org/meetings/ manila/ 2022/manila. 2022-03- 17-15.00. log.html