cancel
Showing results for 
Search instead for 
Did you mean: 

Storing document on Content Server - SAP DB or Filesystem?

Former Member
0 Kudos

Hello everybody.

I have questions regarding the Content Server and need your expierence and recommendation. Where do you store documents on the Content Server? Are you using the standard SAP-DB, which can be installed together with the Content Server, or are you using the File-System? What are the advantages and disadvantages?

What do I have to do to store the documents in the File System? Is there an documentation?

Thanks and Regards.

Tobias Karl

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Tobias,

Storage on the filesystem has the advantage to use existing clustering raiding and hierachial storeage systems for storage and you dont have to implement those features in the database. The advantage would be documents can be found indepentendlly from the ERP-Sysem.

DB Advantages

All data (documents, folders, and metadata) is stored in the database.

Database is much better suited than file system to the administration of large amounts of data

Databese is limited to size 64 TB, then additional database needs to be installed

If there is a large number of write requests in your CM usage scenario, set up the CM repository in database mode. Since all documents are stored in the database, this avoids unintentional external manipulation of the data.

Another advantage of storing all data in the database is that the procedure for data backup and restore is easy since only the database needs to be backed up

File System Advantages

This is faster than the database option if you have large documents since there is no database data streaming. This also enables the size of the database to be controlled more easily since documents are stored in the file system.

File systems are not transactional, so this has restrictions and affects performance. If read and write operations take place for one document in the file system at the same time, these operations have to be coordinated by the repository manager. This happens by recording both write accesses and read accesses in the database. This affects performance.

Metadata (for example, locks or custom properties) can be lost if you edit or manipulate documents or folders directly in the file system. Only administrators should work in the file system, and they should only carry out mass operations such as copy and delete

For a scenario with write accesses, cannot ensure consistent data backup and restore. This is because changes to the folder structure in the file system could be made in the time between the two actions. This would lead to inconsistent data following the restore process. Consistent data backup and restore can therefore be ensured only if read accesses alone are taking place

There are CM repository managers can be set up in various modes i.e Persistence Mode to save the documents as follows:

1) DB Mode All data is stored in the database

2) DBFS Mode Metadata and folders are stored in the database, but documents are stored in the file system

3) FSDB Mode Folders and documents are stored in the file system, but metadata is stored in the database.

If you wish to change the settings you can do it but with some restrictions which follows as:change of the persistence mode is possible only from the DB mode to the DBFS mode. Changing from DB to FSDB, from FSDB to DB/DBFS, or from DBFS to DB/FSDB is not possible.

To change the mode if you wish with above restrictions

1. Make sure that enough free disk space is available to migrate the content from the database to the file system.

2. Change the configuration of the CM repository manager. In the Root Directory parameter, specify the path to the file system that the documents from the database are to be stored under. Change the entry in the Persistence Mode parameter from DB to DBFS.

3. Restart the application server.

4. Run the CM Store: Content Crawler report

Please check the follwoing notes on backup and restore:

Note 1000150 - Backup of KMC configuration

Note 1000351 - Restore of KMC Configuration Backup Archive.

Knowledge Management entire documentation can be found @

http://help.sap.com/SAPHELP_NW04S/helpdata/EN/62/468698a8e611d5993600508b6b8b11/frameset.htm

Thank you,

Shyam

Former Member
0 Kudos

Hello Shyam.

Thanks again for your reply. That´s everything I want to know.

Regards

Tobias

Former Member
0 Kudos

Hi Shyam, The below means we still able to change from DB to DBFS mode but with 4 restriction? Also for DBFS mode you said metadata and folders are stored on DB and documents are stored on file system. What is the difference with FSDB?

Changing from DB to FSDB, from FSDB to DB/DBFS, or from DBFS to DB/FSDB is not possible. To change the mode if you wish with above restrictions

1.Make sure that enough free disk space is available to migrate the content from the database to the file system.

2.Change the configuration of the CM repository manager. In the Root Directory parameter, specify the path to the file system that the documents from the database are to be stored under. Change the entry in the Persistence Mode parameter from DB to DBFS.

3.Restart the application server.

4.Run the CM Store: Content Crawler report

Thanks. Thava

Answers (3)

Answers (3)

former_member639316
Discoverer
0 Kudos

I would like to know how to execute the system copy of a Content Server (FS based), and if it is possible to use Azure Site Recovery to migrate it to a server in Azure.

Any ideas?

Thanks

0 Kudos

Can you please update the post with state of the art information?

Thanks

Former Member
0 Kudos

Hello Karl,

The various storage media that can be used to store document objects all offer different advantages with regard to the storage quality. Quality aspects include security, lower costs, and higher performance.

The Content Management Service (CMS) is a service within the IT infrastructure provided by Knowledge Provider within the framework of SAP Web Application Server The central feature of the CMS is that it is designed to be compatible with different types of storage media. In other words, the CMS functions as an interface between content servers and the SAP system.

Also, the CMS can be used to cache documents and integrate cache servers. SAP provides a standard content server that can be installed separately on an NT server

The SAP Content Server is based on the database system MaxDB and as of Release 4.6 is available on Windows 2000 Server for SUN Solaris, Hewlett Packard HP-UX, IBM AIX, SUSE Linux, and RedHat Linux. The precise release names are defined in the Platform Availability Matrix (www.service.sap.com/PAM). Therefore, besides the SAP database, an external content server is always available in every SAP system installation. In this way, the necessary technical infrastructure is provided for all document-centric applications and business scenarios that do not require a long-term archiving solution. Since the SAP Content Server is also integrated via the HTTP interface, the actual storage medium used remains completely transparent to SAP applications. This means that the storage medium can be changed at any time.

Applications that can use the technical infrastructure of the SAP Content Server include the SAP Business Workplace, SAP ArchiveLink, the Document Management System (DMS), and the Knowledge Warehouse. In our environment we are using Sunsolaris SPARK systems with out any issues.

Thank you,

Shyam

Former Member
0 Kudos

Hello Shyam.

Thanks for your reply. I know what the Content Server is an how it is working. But in all cases I have installed the Content Server together with the SAP DB.

For me your experiences are interesting. So what are the main differences between storing the documents in the SAP-DB or on the File-System? What are the advantages and the disadvanteges of both storage possibilities? (e.g. Security or Backup-Strategy). Do you have more installations on SAP DB or File-System?

Thanks and Regards

Tobias KARL