Why are paremeters missing in default dbconfig.xml for postgresql?

When JIRA is installed using a postgresql db, there are parameters missing in the dbconfig.xml file that are included in the instructions about how to set a postgres db.

Here are the additional parameters:

<validation-query>select version();</validation-query>

How significant are these parameters? Why are they included in one and not the other?

There are some explanations about the parameters here but they don't answer my question.


1 answer

2 votes
Andy Nguyen Atlassian Team Nov 23, 2015

Hi Seb,

As far as I know, not only Postgre but also MSSQL and Oracle dbconfig.xml do not come with these parameters by default. They're indeed only needed for Surviving Connection Closures, which means the default parameters should be good enough in the first place.

However, one point to note is MySQL dbconfig.xml does come with (some of) these parameters by default, so a Suggestion could be we make this consistent for all database types.


P/S: https://jira.atlassian.com/browse/JRA-40754 may be related

Hi Andy,

thanks for the reply. I have an official ticket open where it was suggested that I should add the missing parameters but I'm curious to learn as to why. I suggested in the ticket that support could reply here so the rest of the world also learns what's going on.


Andy Nguyen Atlassian Team Nov 23, 2015

Hi Seb, Yes, Surviving Connection Closures should be the answer. Seems that the parameters come by default for MySQL just because only this database type supports validation-query-timeout. The other database types are left open for JIRA admins to tune accordingly. However, this is just my thought. Other users might have better answers :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,806 views 18 22
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