Jump to: navigation, search

Tips for large databases

441 bytes added, 03:27, 20 October 2020
Avoid Gramplets
{{out man tip|The advice on this page was for older versions of date|Gramps so may not work for you. Please update as needed.}}{{stub}}<!--check accuracy}} / Incorporate "Import tested with the GRANDMA Mennonite database of 1.4 million people. by user on reddit!! " -->
Large family tree data files, what to do, and what not to do.
==Loading the file==
{{man note|Should work for BSDDB versions of Gramps}}Initial import of a large (100,000+) database from either Gramps XML formats or GEDCOM is can take a few hours. You will need to adjust thenumber of allowable locks. For 140,000 people you should use:
* ''max_locks'' 300000
* ''max_objects'' 300000
# create a new Family Tree
# exit Gramps
# add a '''<code>DB_CONFIG</code>''' file to the database directory before importing (see '''<code>gramps -l</code>''' output for the directory of a specific family tree.)
Contents of this DB_CONFIG file should be:
As there are many people, loading the person view might take some time. See a comparison of [[Gramps Performance|performance]] on large datasets, between different Gramps versions.
You can circumvent this load time by going to the [[Gramps Relationships Category view screenshot|relationships view]] before opening the family tree. This will open the active person and their family extremely fast, independent of the amount of data you gathered.
You can add bookmarks to common people, or in the branch you are researching. This allows to change person in the relationships view without the need to activate the person in the person view first.
== Avoid relationship calculation ==
Avoid displaying relationships on the status bar. From the {{man menu|Edit|> Preferences}} ''Display'' tab change the '''Status bar"''' option from {{man label|Relationship to the home person}} to {{man label|Active person's name and ID}}.
== Avoid Gramplets ==
Avoid gramplets which do a lot of database work. The '''[[Deep_Connections_Gramplet|Deep Connections]]''' Gramplet seems to be the worst case. These Those type of gramplets slow everything down enormously.
== Avoid general filters ==
For a surname search:
* click on a person in the [[Gramps People screenshotCategory screenshots|people view]]. Now start typing the family name of the person you need. The view will automatically go to the family name as you complete your typing.
* for a more detailed search, use the keyboard shortcut {{man key press|CTRL|F}}. This will expand all the nodes and allows to search more specifically.

Navigation menu