So whats wrong with the embedded database?
Asked by Sergei Cherevko:

Confluence is using the H2 embedded database. You should migrate to a supported database to ensure your data is safe.

i want to stay on embedded db, but confluence told me error something about healty db.

<https://confluence.atlassian.com/doc/embedded-h2-database-145098285.html>

This article don't help me. What should i do for correct working on embedded database without difficult actions?


Answers:
author: Krisztian Kovacs
body: Hi there,

the embedded database can fail any time, it's not as secure as MySQL. It's just a basic DB for testing purposes. When your Jira instance grows you'll experience performance problems as well.

I'd definitely suggest to use a separate, proper DB for production use and set up a backup solution for it.

I hope this help, let me know if you have any followup questions.

comments: author: Sergei Cherevko
body: Okay, thank you for the answer, how to migrate to another sql base? which is very simple solution?)


author: Krisztian Kovacs
body: Hi,

this should help you getting started: <https://confluence.atlassian.com/adminjiraserver/connecting-jira-applications-to-a-database-938846850.html>

Ideally, it's perfectly fine to start with H2 and then move onto something more permanent.

Just as a last thought: your DB can be on a different machine but H2 is always in the Jira folder on the same hard drive.


author: Krisztian Kovacs
body: Oh and this one:

<https://confluence.atlassian.com/adminjiraserver074/switching-databases-881683194.html>


author: Jenny Alvarez
body: [@Krisztian Kovacs](/t5/user/viewprofilepage/user-id/1144675)Hi Krisz, I just want to add question about embedded DB. You mentioned that it is fine to start with H2. In case JIRA will only be used on a limited period of time, do you have idea if H2 database can hold around 2000 tickets/QA? What is the maximum capacity for the bundled DB?


author: AnnWorley
body: Since you appear to have a starter license I am assuming your instance is not huge. All you need to do is install the same version of Confluence, using an external database, and then import an XML site backup from your instance that is currently using the H2 evaluation database. [@Sergei Cherevko](/t5/user/viewprofilepage/user-id/1178886) Please see [Migrating to Another Database](https://confluence.atlassian.com/display/doc/migrating+to+another+database) for more Confluence db details.


author: Krisztian Kovacs
body: hi [@Sergei Cherevko](/t5/user/viewprofilepage/user-id/1178886),

To answer your question: you can definitely contact Atlassian. It's part of the service.

However, first I would check if there is a network issue (port closed maybe) because Synchrony is quite sensitive to network issues.

There is a whole page at Atlassian, dedicated to this: <https://confluence.atlassian.com/confkb/collaborative-editing-and-synchrony-troubleshooting-858584399.html>

If you have strict network policies, you might have to disable collaborative editing altogether. It wouldn't be ideal though, as collaboration is a big selling point.

I hope this all makes sense, not just to me.

Cheers,  
Krisz

_________________  
P.S.: if you find my answer useful, would you please consider accepting it. It helps a lot, as I'm going for the high score. :)


author: Sergei Cherevko
body: ![???????????.png](https://community.atlassian.com/t5/image/serverpage/image-id/13231iBA8311E7767A20E0/image-size/large?v=v2&px=999 "???????????.png")![???????????.png](https://community.atlassian.com/t5/image/serverpage/image-id/13233i3C7D73E15B93C778/image-size/large?v=v2&px=999 "???????????.png")


author: Sergei Cherevko
body: I created another database on Microsoft SQL Server. I connect to this server with domain windows account. (I add the linux computer to AD) I use connection string : jdbc:jtds:sqlserver://XXX:1433/confluence;domain=XXX

Test passed succesfull and it's freeze. What i do wrong? Empty page :((( please help![???????????.png](https://community.atlassian.com/t5/image/serverpage/image-id/13120i4DC18648A1D55D5C/image-size/large?v=v2&px=999 "???????????.png")

comments: author: Krisztian Kovacs
body: Hi Sergei,

* can you connect connect to the DB manually?
* have you tried restarting confluence?

These are the first things that come to mind.

Alternatively, what do the Atlassian logs say? Any errors?


author: Sergei Cherevko
body: Where I find logs? I do default install to Linux machine (ubuntu server) in home directory?


author: Krisztian Kovacs
body: I hope this helps:

**If you are on Linux or Solaris**

* ..then the logs are in `logs/catalina.out` in your JIRA Installation Directory, or for JIRA WAR, under your Tomcat installation directory.

Taken from here: <https://confluence.atlassian.com/jira063/where-are-the-application-server-logs-683542381.html>

There should be some sort of error in cataline.out

you can use

```
tail -f catalina.out
```

(in the relevant directory) when restarting Jira, or just scroll manually until you find some errors.


author: Sergei Cherevko
body: It's just mozilla firefox a freeze. I open this page in another browser and it's ok.


author: Krisztian Kovacs
body: how strange...

so in the end, did it work?

or are you still having trouble with the new DB?


author: Sergei Cherevko
body: All ok i connect to a new DB.

Confluence need the internet out? I can't create a page or edit the old pages.

download circle forever spin.

![???????????.png](https://community.atlassian.com/t5/image/serverpage/image-id/13226i080F1E8918027AA0/image-size/large?v=v2&px=999 "???????????.png")


author: Sergei Cherevko
body: ![???????????.png](https://community.atlassian.com/t5/image/serverpage/image-id/13227i08D2DA9FF5E2AF84/image-size/large?v=v2&px=999 "???????????.png")


author: Krisztian Kovacs
body: You can try to switch off the collaboration feature.

<https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html>

Also you can check if that port is open:
> Synchrony runs on port 8091 by default, and an internal Synchrony proxy means that you shouldn't need to open this additional port.


author: Sergei Cherevko
body: Yes. Disabling collaboration resolv the problem, but how to repair this feature? May be i download the xml log files and send to technical support? may i do that? because we pay money (we have license) to atlassian and may be we have official support to helping resolve problems?