This article covers features introduced in Firefox 3
This document provides a high-level overview of the overall database design of the Places system. Places is designed to be a complete replacement for the Firefox bookmarks and history systems using Storage.
moz_favicon table to identify the favicon of the page. No two entries may have the same value in the url column.
moz_places table which contains the URL and other global statistics.
See History service design for more information.
moz_bookmarks record which is the parent. The position column numbers each of the peers beneath a given parent starting with 0 and incrementing higher with each addition. The fk column provides the id number of the corresponding record in moz_places.
moz_bookmarks table. Bookmarks, folders and separators are descendants of the bookmarks root, while tags and tagged URIs are descendants of the tag root.
moz_bookmarks table has a keyword_id column that maps to a record in moz_keywords table.
See Bookmarks service design for more information.
moz_places) and an annotation name (reference to moz_anno_attributes) to the value of the annotation.
moz_bookmarks) and an annotation name (reference to moz_anno_attributes) to the value of the annotation.
moz_places refer to each entry. When no pages reference a favicon, the icon entry will be deleted.
Expiration is handled in browser/components/places/src/nsNavHistoryExpire.cpp
. This algorithm determines the lifetime of all objects in the Places system.
Periodically at runtime, the following happens to expire pages:
At shutdown time, an extra step is performed in case there are any orphans. There are several ways for orphans to be created, including calling markPageAsTyped and then never visiting the page. Extensions might also set favicons for pages that have never been visited.
Page last modified 03:37, 21 Jul 2008 by Fsc?