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

0 votes
Accepted answer

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 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
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,309 views 5 11
Read article

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