Hi,

Thanks for the hint Julian. That did the trick. I have re-created my
database with:

create database oak_test owner test template 'template0' LC_COLLATE 'C'
LC_CTYPE 'C';

I ran the benchmark and it passed:

java -jar oak-benchmarks-1.8-SNAPSHOT.jar benchmark
--rdbjdbcuri="jdbc:postgresql://localhost:5432/oak_test?readOnly=true"
--rdbjdbcuser=test --rdbjdbcpasswd=test --rdbjdbctableprefix=jcr Oak-RDB
ConcurrentReadTest
Apache Jackrabbit Oak 1.8-SNAPSHOT
# ConcurrentReadTest               C     min     10%     50%     90%    
max       N
Oak-RDB                            1     280     354     411     509    
889     142

Apache Jackrabbit Oak 1.8-SNAPSHOT
# ConcurrentReadWriteTest          C     min     10%     50%     90%    
max       N
Oak-RDB                            1     577    1044    1649    1897   
2054      39

Regards,

On 06.06.2017 09:28, Julian Reschke wrote:
> On 2017-06-06 05:56, Ioan Eugen Stan wrote:
>> 06:43:14.945 [main] ERROR o.a.j.o.p.d.rdb.RDBDocumentStore - SQL
>> exception on query
>> org.apache.jackrabbit.oak.plugins.document.DocumentStoreException:
>> unexpected query result:
>> '11:/oak:index/nodetype/:index/nt%3Afolder/rb82ee8d2/folder-0/folder-1/folder-5/folder-10/folder-18/folder-8'
>>
>> <
>> '11:/oak:index/nodetype/:index/nt%3Afolder/rb82ee8d2/folder-0/folder-1/folder-5/folder-10/folder-1/folder-0'
>>
>> < 'null' - broken DB collation?
>>      at
>
> You apparently have the wrong database collation configured. It needs
> to be the "C" collation (see
> <https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/oak/plugins/document/rdb/RDBDocumentStore.html>).
>
> Best regards, Julian


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to