Migrate JIRA from MYSQL to Oracle

Everything goes fine but we meet problem when we want to empty the tables, sequences and all objects related to JIRA to inject a new JIRA data to it. Could someone help me on the SQL statement to do this?

3 answers

1 accepted

Accepted Answer
0 votes

Now it's fixed after i google the sql statement

Hi Yunfeng,

Are we following the steps outlined at the following apge?

Migrating JIRA's data to a different type of database server

It does not sounds like we are using an XML backup so I will assume no. In which, case please read the above and reevalute the migration.

Andrew

Thanks Andrew,

We did use XML backup solution for migration, but my question is about Database tier. Because we made some customization on JIRA, once we migrated, some error occured. And JIRA was not available, so we want to drop all related objects in DB(Oracle). That's why we want the sql statement.

0 votes

That's not really a useful thing to do, you would probably be better off dropping everything and starting again if you think database is damaged.

If you want to keep some of your data, you'll need to work out exactly which tables do what, which ones you can clear and which to keep, what to update to keep things consistent, and then as for the "inject new Jira data" part, that's probably going to be an even harder piece of work. You're looking at weeks of analysis to do this, with Jira offline.

I think you should explain what "some error occured" is, as it's probably going to be a LOT easier to fix that. Or drop all the tables and start again from the XML

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,695 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you