# \#database

**URL:** https://gramps.discourse.group/tag/database/70.md

[Latest](https://gramps.discourse.group/latest.md) · [Categories](https://gramps.discourse.group/categories.md) · [Tags](https://gramps.discourse.group/tags.md)

---

## [\[Feature Request\] Database encryption](https://gramps.discourse.group/t/feature-request-database-encryption/9381)

<div class="topic-metadata">

**Author:** [@Sunny](https://gramps.discourse.group/u/Sunny)\
**Replies:** 21\
**Last updated:** [April 26, 2026, 9:30pm UTC](https://gramps.discourse.group/t/feature-request-database-encryption/9381 "2026-04-26T21:30:18Z")

</div>

Does Gramps provide any database encryption. I checked the docs a little and found out Gramps uses BerkeleyDB and BSDDB3 set of APIs to communicate with it. While Berkeley itself supports encryption Supporting Encryption,…

---

## [Samba Share Database Locked \[ \`sqlite3.OperationalError: database is locked\` \]](https://gramps.discourse.group/t/samba-share-database-locked-sqlite3-operationalerror-database-is-locked/9255)

<div class="topic-metadata">

**Author:** [@gene\_weber](https://gramps.discourse.group/u/gene_weber)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 12:53pm UTC](https://gramps.discourse.group/t/samba-share-database-locked-sqlite3-operationalerror-database-is-locked/9255 "2026-03-24T12:53:58Z")

</div>

Hi. I set up a Samba share on my main computer so I could access my Gramps database from my laptop. Main computer is running Linux Mint 22.3 (Ubuntu 24.04). The Laptop is running Xubuntu (Ubuntu 24.04). The Samba share …

---

## [How do I get the handle for a source with a specific attribute](https://gramps.discourse.group/t/how-do-i-get-the-handle-for-a-source-with-a-specific-attribute/9086)

<div class="topic-metadata">

**Author:** [@Ludde](https://gramps.discourse.group/u/Ludde)\
**Replies:** 1\
**Last updated:** [January 28, 2026, 11:37am UTC](https://gramps.discourse.group/t/how-do-i-get-the-handle-for-a-source-with-a-specific-attribute/9086 "2026-01-28T11:37:50Z")

</div>

I want to look for a source with an attribute called AID with a specific value. I want to get its handle. How do I do this? I have made a plugin who’s functionality I am trying to extend, but I have a hard time wrapping…

---

## [Changed handling of missing dates or bug?](https://gramps.discourse.group/t/changed-handling-of-missing-dates-or-bug/8050)

<div class="topic-metadata">

**Author:** [@Bigfoot](https://gramps.discourse.group/u/Bigfoot)\
**Replies:** 1\
**Last updated:** [August 2, 2025, 5:13pm UTC](https://gramps.discourse.group/t/changed-handling-of-missing-dates-or-bug/8050 "2025-08-02T17:13:15Z")

</div>

I just exported a Gramps xml file and noticed a change in events with missing dates. My “old“ events without a date simply has no date in xml. But it seems like events added after I upgraded to 6.3 instead has an empty d…

---

## [Are the database schema design considerations described somewhere?](https://gramps.discourse.group/t/are-the-database-schema-design-considerations-described-somewhere/6732)

<div class="topic-metadata">

**Author:** [@equaeghe](https://gramps.discourse.group/u/equaeghe)\
**Replies:** 4\
**Last updated:** [January 6, 2025, 9:29pm UTC](https://gramps.discourse.group/t/are-the-database-schema-design-considerations-described-somewhere/6732 "2025-01-06T21:29:47Z")

</div>

I am a new user of Gramps. I was encountering some limitations (related to 1-parent and 3-parent families and single parentage), so I looked into the database schema to get an understanding of the model underlying Gramps…

---

## [The Road Ahead for database representations](https://gramps.discourse.group/t/the-road-ahead-for-database-representations/6363)

<div class="topic-metadata">

**Author:** [@dsblank](https://gramps.discourse.group/u/dsblank)\
**Replies:** 40\
**Last updated:** [November 15, 2024, 9:34pm UTC](https://gramps.discourse.group/t/the-road-ahead-for-database-representations/6363 "2024-11-15T21:34:48Z")

</div>

An update (and look at what is possible) as we move away from pickled blobs and toward JSON data in the Gramps database. First, @Nick-Hall has already refactored existing JSON methods for converting to and from Gramps o…
