I am trying to convert my database from mysql to postgres. And I see in postgres some tables are expected to be lower case and some are in higher case.
BANDANA is higher case in MySQL, but expected in lowercase in postgres.
SECRETS is higher case in MySQL and also expected in higher case in postgres.
So the problem is the casing is not consistent and hence, I am unable to add any rules in pgloader to do my transformations properly. Atleast according to this article: https://developer.atlassian.com/server/framework/atlassian-sdk/table-names/, upper case names are expected for PLUGIN data related tables.
One way I may be able to fix this is try to start confluence and follow errors and fix table name cases accordingly one by one. But I want to know if there is already a list of table and column names with expected case for postgres db?
Also, I tried pgloader in two settings:
1. With default settings, where it does most of the conversions as confluence expects in postgres. (I think it could be a bug in atlassian side where it uses doublequotes on tables not related to plugins and are expected in higher case. Example: SECRETS)
2. quoted_identfiers, where it retains the mysql casing. In this, I found most of the tables have wrong casing.
So, pgloader default settings maybe good starting point.
Or please tell me if I am doing anything wrong or if there is another way to fix this.
We want this migration to be done successfully, so that we can switch to datacenter solution where postgres can scale well.
Looks like only synchrony tables are names are converted wrongly with pglaoder default settings: SNAPSHOTS, SECRETS, EVENTS -> all lower cased with default settings of pgloader.
I don't see errors with any other tables so far.
However, there are many duplicated tables created. So I think I can use these duplicated tables list to add conditions in pgloader
Calling all Confluence Cloud Admins! We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...
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