Does anyone have any usage stas sql queries for Confluence they'd like to share? I'm interested in number of updates and new pagees by date, most prolific updaters, etc.
We currently run the Usage plugin but it is possibly implicated in some brownouts...
Thanks Bob.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here it is...........
select 'Total Spaces', count(*) from SPACES -----Total Spaces
select 'Personal Spaces', count(*) from SPACES where [SPACETYPE] ='personal' ---Personal Spaces
select 'Site Spaces',count(*) from SPACES where [SPACETYPE] = 'global' -- Site/global Spaces
SELECT 'Content (All Versions)', count(*) FROM [CONTENT] ---- Content (All Versions)
select 'Content (Current Versions)', count(*) from CONTENT where PREVVER is null; --- Content (Current Versions)
select count(*) from [dbo].[cwd_group] ---Local Groups
select count(*) from [dbo].[cwd_user] ----Local Users
SELECT 'Blogposts',count(*) FROM [CONTENT] WHERE CONTENTTYPE = 'BLOGPOST';
select 'All Pages',count(*) from CONTENT where CONTENTTYPE ='PAGE';
SELECT 'Comments',count(*) FROM CONTENT WHERE CONTENTTYPE = 'COMMENT';
SELECT 'All Content Attachments', count(*) FROM [dbo].[CONTENT] WHERE CONTENTTYPE = 'ATTACHMENT'; --All Content Attachments
Thanks,
VJ
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.