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.

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 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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

305 views 4 9
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