NSS Shared DB: Difference between revisions

→‎Shared Database Proposal: note changeover to SQLite
(PK11_IsPerm -> PK11_IsRemovable (PK11_IsPerm doesn't exist))
(→‎Shared Database Proposal: note changeover to SQLite)
Line 1: Line 1:
== Shared Database Proposal ==
== Shared Database Proposal ==


NSS has been using an old version of the Berkeley DataBase as its database engine since Netscape Navigator 2.0 in 1994. This database engine is commonly described in NSS documents as "DBM" and has a  
Prior to version 3.34, NSS had been using an old version of the Berkeley DataBase as its database engine since Netscape Navigator 2.0 in 1994. This database engine is commonly described in NSS documents as "DBM" and has a  
number of limitations.  One of the most severe limitations concerns the  
number of limitations.  One of the most severe limitations concerns the  
number of processes that may share a database file.  While any process has  
number of processes that may share a database file.  While any process has  
Line 7: Line 7:
Multiple processes may share a DBM database ONLY if they ALL access it  
Multiple processes may share a DBM database ONLY if they ALL access it  
READ-ONLY.  Processes cannot share a DBM database file if ANY of them wants
READ-ONLY.  Processes cannot share a DBM database file if ANY of them wants
to update it.
to update it.
 
NOTE: Since 3.34, NSS has moved to an [[NSS SQLite-based DB]].


This limitation has been cumbersome for applications that wish to use NSS.   
This limitation has been cumbersome for applications that wish to use NSS.   
122

edits