Deploying a new Openfire server that will use Microsoft SQL Server for the database.
Openfire: 3.8.2
Operating System: Windows Server 2008 R2 Datacenter (x64)
SQL Server: Microsoft SQL Server 2008 R2
When running the openfire_sqlserver.sql script SQL server returns 2 warnings:
Warning! The maximum key length is 900 bytes. Warning! The maximum key length is 900 bytes.
The index 'ofRoster_jid_idx' has maximum length of 2048 bytes. For some combination of large values, the insert/update operation will fail.
The index 'ofSASLAuthorized_pk' has maximum length of 4128 bytes. For some combination of large values, the insert/update operation will fail.
This seems to be caused by defining the columns that have lengths longer than 900 bytes in either an Index or as a constraint.
I was able to find a previous bug report in the archive (JM-899) that was marked as closed and issue being fixed in version 3.x. I have confirmed this is still a problem and confirmed to impact v3.8.2 and v3.9.1. I suspect this will affect any version using the MS SQL with the supplied database sql.
File: openfire_sqlserver.sql Revision: 1650 Date: 2005-07-20 00:18:17 -0300 (Wed, 20 Jul 2005) Can these warning be ignored or is there a workaround available? (That doesn't require using a different database server)