A database scan is performed each time a perspective is created or refreshed, in order to determine what property keys are present for each label and relationship type. This information is used in various places in Bloom, such as the categories, Search phrase editor and styling rules.
There are two types of scan, complete and quick. The complete scan will scan all the nodes and relationships in the database, whereas the quick one only scans a random sample. The quick scan is faster than the complete, but it may not find all property keys if they are only present on a few nodes or relationships. A complete scan can take a long time if the database is large, i.e. if it contains > 10,000,000 nodes and relationships combined, and may result in a Bloom timeout. If you opt for a complete scan of a large database and you experience a Bloom timeout, select the quick scan and try again.
If you know that you have a consistent schema for your database and/or if your database is large, a quick scan is recommended. On the other hand, if you have an inconsistent schema and/or if you can’t find some of your properties after a quick scan, a full scan is advisable.
The database scan/refresh is triggered by the creation of a new Perspective or by the refresh of an existing Perspective and cannot be done manually.
Was this page helpful?