All: We often need to load a large number of small XML documents in a BaseX database. These are not particularly readily serialized in files (actually are in memory Apache XML Beans). Right now we're combining them in one "document" and perform a single insert call. We would though rather keep them as separate documents but this would entail calling insert thousand of times. Any suggestion as to how this could be performed efficiently (like fast/bulk inserts or through post processing)? Also, is there a significant different performing inserts using direct database access vs client/server (on localhost)? best Pascal