speeding up schema loads

For questions and postings not covered by the other forums
User avatar
ghosttie
Posts: 181
Joined: Sat Aug 15, 2009 1:25 am
Location: Atlanta, GA, USA
Contact:

speeding up schema loads

Postby ghosttie » Wed May 26, 2010 2:46 am

I spend a lot of time waiting for schema loads, so I would like to speed them up.

Getting a faster multi-core CPU hasn't helped much - the CPU usage doesn't spend much time at 100%, and since the schema load is single threaded it makes no use of the rest of the cores.

Increasing the amount of memory Jade is allowed to use also didn't seem to help much.

I get the impression therefore that the process is IO bound - has anyone tried a schema load on an SSD drive or RAM drive? Is the increase is speed worth the increased cost?
I have a catapult. Give me all the money or I will fling an enormous rock at your head.

User avatar
BeeJay
Posts: 312
Joined: Tue Jun 30, 2009 2:42 pm
Location: Christchurch, NZ

Re: speeding up schema loads

Postby BeeJay » Wed May 26, 2010 9:09 am

A couple of tips I have for speeding up schema loads:

1. For large schema loads, try to avoid thin client and multi-user schema loads as much as possible. Single user jadload/jadloadb schema loads are considerably faster.

2. If you're happy to restore to a backup in the event of a failure, a load style of OnlyStructuralVersioning is considerably faster than LatestSchemaVersion. Even better, if you're making no structural changes to persistent classes use Current Schema Version to avoid any need for a reorg and transition phase.

I concur with your statement that the schema load is I/O bound based on the number of transaction journals that are switched during a schema load and the timing of my test deploys which take around 2 to 3 hours on my laptop, 1 hour on our standard desktop, and less than 30 minutes on our development server which has the slowest CPUs but by far the highest spec I/O subsystem.

Cheers,
BeeJay.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 3 guests

cron