BLOCKS: Usage Count VS Usage Count on Active Pages

Permalink
Version 5.8.0 + only 2-3 pages (I use this site do develop custom block)

Under dashboard-->blocks types --> Page list

I get this textual data:
Page List
Description:
List pages based on type, area.
Usage Count
166
Usage Count on Active Pages
3

I create some custom page-list (a lot of "refresh page", "refresh db" etc.).
3 VS 166??...... This could cause some "DB mess"? (163 "unused"), performance issue or any idea like this. How to clear this? and why its' happen?

siton
 
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi siton,

I did a quick test and watched the counts change when I deleted page versions, added a specific block, or removed a specific block. I think "Usage Count" is uses of the block in versions and "Usage Count on Active Pages" is the count in published pages.

I am not aware of any performance issues due to this.
siton replied on at Permalink Reply
siton
Thanks,

Where i can "clear" page versions?
MrKDilkington replied on at Permalink Reply
MrKDilkington
@siton

There is a "Remove Old Page Versions" job you can try.
"Removes all except the 10 most recent page versions for each page."
Dashboard > System & Settings > Optimization > Automated Jobs > Remove Old Page Versions
Gondwana replied on at Permalink Reply
Gondwana
Dunno if this is relevant, but from
http://documentation.concrete5.org/developers/working-with-blocks/c...
"delete(): This method is automatically run when a block is deleted. Note: this may not happen very often since a block is only completed deleted when all versions that reference that block, including the original, have themselves been deleted."