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

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.


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 vote

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,293 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot