I have updated a table in mysql database while jira is running and I the update didn't reflected on the JIRA UI, after restarted JIRA it shown the update. So is there any way to reflect the database change in JIRA UI without restart it?
No no no. NEVER update a Jira database while the application is running.
You might be lucky and hit a table it can cope with, although that's a very small set of cases. In some cases, you need to restart it. In some cases you need to restart and re-index. In some cases, you need to go find a backup tape because you've destroyed the data.
You should immediately stop your Jira and assess the damage you have just done. As Christian says, start by telling us what tables you've amended, then we can tell you what needs to be rescued.
Is it safer to do a datbase update in general while we have the JIRA application stopped and start after we finish with the update?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please, you have found this question, read the answers. My original answer is still essentially correct - NEVER update a Jira database while it is running.
It's not a case of "safer", it's a case of "completely destroying your system". It must be offline (there are minor exceptions, but later versions of Jira negate the need to use them totally). Stop Jira. Backup your database. Run your SQL. Restart. Re-index. Hope you've fully understood your SQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No. No. No. Please re-read the previous answers and stop trying to botch in some "fix". There is not one.
Locking is even worse than just wrecking your data, as you could end up with partial writes on top of the corruption you are already creating.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How partial writes are possible if SQL logging is checked in realtime to make sure no transactions involving these tables before locking them
I agree that just stopping jira is the easiest and safest way but I'm not talking about an instance that is used by 10-20 developers in a small company , some global enterprise instance with 1000+ users and strict high SLO where setting a downtime is just not easy like that , moreover it all depends on which table and how hot is it in terms of frequency of transactions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They are not. If you lock a table, Jira will fail because it has no access to it, and that will corrupt your database.
Please, stop trying to use the database. Your ideas of how it works are wrong (as you're asking this question, I can tell you don't know how it works) and the volume of transactions is irrelevant because of the indexing and caching. The only safe way to write to a Jira database outside Jira is
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, because jira caches some data, only it update cache, if you update values via UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What table? I wouldn't recommend updating databases while the application is running...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.