mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
- more info about update
This commit is contained in:
parent
1232b8f309
commit
f714187b14
|
@ -30,8 +30,8 @@ is placed on a html page.
|
||||||
As a consequence the complete database has to be searched for those
|
As a consequence the complete database has to be searched for those
|
||||||
previously converted strings and converted back into the original value.
|
previously converted strings and converted back into the original value.
|
||||||
|
|
||||||
For both of the above improvements a php script is provided which has to be
|
The conversion is done right after the database update during the
|
||||||
called after the database update.
|
installation and upgrade process.
|
||||||
|
|
||||||
Content directory
|
Content directory
|
||||||
-----------------
|
-----------------
|
||||||
|
@ -40,13 +40,26 @@ Consequently, there is a limitation of documents set by the maximum number
|
||||||
of subdirectories in a directory of the filesystem. The currently most used
|
of subdirectories in a directory of the filesystem. The currently most used
|
||||||
filesystem on Linux (ext3) supports only 31998 directories. In order to
|
filesystem on Linux (ext3) supports only 31998 directories. In order to
|
||||||
overcome this limitation another level of directories has been put inbetween
|
overcome this limitation another level of directories has been put inbetween
|
||||||
the content directory and the document directory numbered from 1 to maxDirId.
|
the content directory and the document directory numbered from 1 to
|
||||||
|
maxDirID. This allows a theorethical maximum of sq(maxDirID) documents. The
|
||||||
|
path to the document folder consists of the new path id and the document id
|
||||||
|
(<pathid>/<docid>). The path id is derived from the document id by the
|
||||||
|
formula
|
||||||
|
|
||||||
|
floor(docid/maxDirID) + 1
|
||||||
|
|
||||||
|
Hence, all documents with an id from 1 to maxDirID have the path '1/<docid>'.
|
||||||
|
The limiting factor of this schema is the number of document ids. It cannot
|
||||||
|
be higher than sq(maxDirID).
|
||||||
|
|
||||||
If you intend to switch to the new content directory format, you will have
|
If you intend to switch to the new content directory format, you will have
|
||||||
to create a new directory with name '1' below the content dir and move all
|
to set maxDirID to a value > 0 (possibly 31998) and create a new directory
|
||||||
document directories into it. If you have already a document with id 1, you
|
with name '1' below the content dir and move all document directories into
|
||||||
must choose a different name for your new sub directory and rename to 1 after
|
it. If you have already a document with id 1, you must choose a different
|
||||||
all document directories have been moved.
|
name for your new sub directory and rename to 1 after all document
|
||||||
|
directories have been moved. If you want to keep the current content
|
||||||
|
directory structure set maxDirID to 0. Make sure the maxDirID remains
|
||||||
|
unchanged for a content directory.
|
||||||
|
|
||||||
After finishing update
|
After finishing update
|
||||||
----------------------
|
----------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user