### Clearing unused nodes from the realm database

Making operations on real path resources may generate unused nodes from the realmdatabase. The generated unused nodes can be cleared through the JReport Administration page.

#### How unused nodes are generated

When resources, such as folders, catalogs, and reports, have been published using a real path in order to allow dynamic updating there is a possibility to produce invalid nodes. After running a report and saving the result to the versioning system or scheduling reports which are saved in the versioning system, either of the following conditions will generate invalid nodes:

- Cancel or change the real path setting.
- Publish a resource to replace an existing real path resource.

#### How to clear invalid nodes

To clear unused nodes:

1. On the JReport Administration page, click Data on the system toolbar and then select Realm DB from the drop-down menu.
2. Click the Realm DB Check tab.
3. Click the Check button. All invalid resource nodes will then be listed.
4. Check the checkbox on the header of the first column to specify whether you want to select all or unselect all. Otherwise, you can check the corresponding checkbox to select the invalid nodes that you want to delete.
5. Click Delete button to delete all selected nodes.