Question

I used internal persistence manager based on derby DB, and filesystem repository.

Now it around 1.5 million files and 3 TB in repo, and around 6 million records in derby DB.

I think is too much for that DB, because I have extremely slowing down on performance last time.

so I want to change persistence manager to something like MySQL or Oracle.

What is the best way to export data from a Apache Jackrabbit derby DB and import to MySQL?

How can I do this in the easiest and fastest way?

Was it helpful?

Solution

How to migrate to a version of Jackrabbit or a new persistence manager is described at the Backup and Migration page.

In my experience, MySQL or Oracle are not actually faster, is Derby is embedded (in-process). MySQL and Oracle are remote, so for each request there is a network roundtrip.

Instead, what you could do is use a higher bundle cache size and/or a higher database cache size.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top