Pre-1.1 Confluence would add an extra copy of an index/constraint on a confluence database table every time the server was restarted. This has caused some users to run into memory problems such as CONF-1204 when the maximum limit of indexes per table has been reached.
To check if this problem exists in your installation, first open up a console window to your database.
For MySQL users, run:
For PostgreSQL users, run:
If you observe this in your database, you can fix the problem by performing the following:
- backup your existing confluence home directory and database
- upgrade to confluence 1.1
- login to Confluence
- goto Administration > Backup & Restore
- perform a backup by clicking the "Backup" button
- when the backup completes, download it (use the click "here" link)
- now go back to the Administration > Backup & Restore page
- restore the backup you have just made
- If you are using MySQL continue with the next 3 steps. Else skip to the end.
- shutdown confluence
- open up the
confluence.cfg.xml file in your confluence home directory
- locate the line
<property name="hibernate.dialect">net.sf.hibernate.dialect.MySQLDialect</property>
and change it to:
<property name="hibernate.dialect">bucket.dialect.MySQLDialect</property>
- now start up Confluence