Changes

Jump to navigation Jump to search
32 bytes removed ,  02:32, 20 October 2013
Once you have created a database, additional commands exist to modify its contents:
 
* XML documents can be added with the <code>[[Commands#ADD|ADD]]</code> command.
* Raw files are added with <code>[[Commands#STORE|STORE]]</code>.
* Resources can be deleted via <code>[[Commands#DELETE|DELETE]]</code>.
The [[Options#AUTOFLUSH|AUTOFLUSH]] option can be turned off before ''bulk operations''(i.e. before a large number of new resources is added to the database). The [[Options#ADDCACHE|ADDCACHE]] option will first cache the input before adding it to the database. This is helpful when the input documents to be added are expected to eat up too much main memory.
The [[Options#ADDCACHE|ADDCACHE]] option (introduced with {{Version|7.7}})will first cache the input before adding it to the following commands create an empty database. This is helpfulwhen the input documents to be added are expected , add two resources, explicitly flush data structures to eat up too much main memory.disk, and finally delete all inserted data:
The following commands create an empty database, add two resources, explicitly flush data
structures to disk, and finally delete all inserted data:
<pre>
CREATE DB example
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu