On 07.11.2023 08:45, Lasse Lindqvist wrote:
Hi. I am experiencing slow startups of Jackrabbit OAK. It seems to scale linearly with the amount of documents being stored and seems to "scan" all of them when being started.When the application starts, it calls *RDBOptions options = new RDBOptions().tablePrefix("somePrefix").dropTablesOnClose(false); DocumentNodeStore ns = new RDBDocumentNodeStoreBuilder().setBlobStore(new FileBlobStore("somePath")) .setRDBConnection(dataSource(), options).build();* When the application closes, it basically just calls *documentNodeStore.dispose();* Is there something simple I am missing that would make it skip this expensive startup operation? Creating the DocumentNodeStore object seems to take a long time.
Did you check the system logs? A wild guess is that it's doing a recovery operation because it may not have shutdown properly. Best regards, Julian
