What is the database used for in Fedora 6?

37 views
Skip to first unread message

John Gostick

unread,
Aug 16, 2022, 7:07:50 AM8/16/22
to Fedora Tech
Hi everyone,

I've been reading and learning about Fedora recently and have a quick question about what the database is used for. 

I know that in Fedora 5 and earlier,  RDF resources and small binary files were stored directly in the database rather than being written to disk, but in Fedora 6 all RDF resources are stored on disk (in OCFL), which I can see for myself when poking around the file system structure. 

My question is whether the RDF resources are ALSO stored in the database, or are they now stored exclusively on disk? If they're not stored in the database, I'm curious to know what is (just a high-level summary!)

Thanks

John Gostick

Benjamin Armintor

unread,
Aug 16, 2022, 12:37:41 PM8/16/22
to fedor...@googlegroups.com
Hi John,

The hosting organization for the Fedora Commons project (LYRASIS) has a wiki for the project; the 6.x documentation is here: https://wiki.lyrasis.org/display/FEDORA6x/Fedora+6.x+Documentation
The chart on the front page identifies the database options. There's a page under "Technical Documentation" that digs into what is stored in the database: https://wiki.lyrasis.org/display/FEDORA6x/Internal+Database+Tables

Regards,
Ben 

--
You received this message because you are subscribed to the Google Groups "Fedora Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fedora-tech/bc0ec1e8-a37b-45d6-bc37-37492b91c92en%40googlegroups.com.

Andrew Woods

unread,
Oct 11, 2022, 8:30:23 AM10/11/22
to fedor...@googlegroups.com
Hello John,
I will elaborate on Ben's comment by saying that the Fedora database is used as a cache to facilitate quick lookup of the repository content and to support transactions. 

As you have noted, all of the data is persisted "on disk". The database will be rebuilt from the data on disk if the repository is started with an empty database. Also, you can force a database rebuild. 


Regards,
Andrew

Reply all
Reply to author
Forward
0 new messages