I have read only access to our confluence database, and I'm trying to understand the schema.
a) Is there some good documentation on the schema out there / worked examples etc?
b) I have 1 specific query I need to write, which is to be able to pull a "page tree" out for a defined spacekey.
i.e a hierarchical list of the page titles. their "indent level", and permalinks, associated labels and any other page properties I can find.
A starter would be much appreciated.
@Graham Foster See if this documentation about Confluence database model helps you: https://confluence.atlassian.com/doc/confluence-data-model-127369837.html
I also have link to this Confluence database schema pdf , for Confluence v6.x, which may be useful: https://svelab.com/download/confluence6_schema_mysqlviz.pdf
Thanks for the starter on this.
I don't suppose you can explain why all the weirdly named table prefixes can you (e..g AO_26DB7F) Are they in some way linked to tables used by plugin's perhaps? Is there a way of figuring out which plugin uses which tables? (like I'm interested in Scroll Versions as a plugin, as I suspect that the "permalinks" for their page identifiers must be held somewhere (but I can't find them!)
Yes, the tables starting with prefixes like "AO..." belong to the plugins. I am not sure though which plugins they belong to ; you can search for each table name online, and you will come to know.
If you are looking for where page metadata like page IDs and their versions are stored, they are stored in "content" table.
Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events