Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

Storage

This section explains where eZ publish stores information that belongs to a site (not the system itself). A typical eZ publish site consists of the following elements:

  • Actual content
  • Design related files
  • Configuration files

Actual content is structured and stored inside a database. This is true for all content except for images and files, which are stored on the filesystem. The main reason for this is because the filesystem is much faster than the database when it comes to the storage and retrieval of large data chunks. Having the files on the filesystem allows the webserver to serve them directly without the need of going through the database. In addition, this technique makes it easier to use external tools to manipulate/scan/index the contents of the uploaded files. For example, the built in search engine is capable of using external utilities to index the contents of miscellaneous files (PDF, Word documents, Excel sheets, etc.). Having the files on the filesystem dramatically decreases the size of the database and thus makes it easier to copy and handle. Everything that is related to design (template files, CSS files, non content specific images, etc.) and configuration settings are also stored on the filesystem. A backup of an eZ publish site must therefore contain both a dump of the database and a copy of the necessary files. The following illustration shows an overview of how the system makes use of the database and the filesystem to store the different elements of a site.

Storage overview

Storage overview

Balazs Halasy (28/01/2005 10:53 am)

Balazs Halasy (11/10/2006 1:38 pm)


Comments

There are no comments.