on ‎2025 Jun 05 9:07 AM
Hi,
SAP SQL AnyWhere 17.0.10 (8 cores), Windows Server 2016.
There's a large base:
- size - approximately 6 TB
- number of simultaneous connections - 300-500
The main size of the database falls on the texts of documents (word, excel, pdf, pictures), which are stored in the database itself (fields of long binary type), in separate tables located in separate tablespaces.
Users actively write to the database or read from the database, including quite active reading/writing of document texts. This creates quite a heavy load on the disk subsystem, which in turn leads to periodically noticeably lower responsiveness of the database server itself.
I have an option to change the way I store document texts, from storing them in the database to storing them in the file system (NTFS). In this case I will save them to the server using the system function xp_write_file, and read them using xp_read_file.
But this raises some questions: How will xp_write_file and xp_read_file behave under heavy load (when a couple hundred document files can be requested at the same time as several dozen other document files are being written) ?
Will transferring the storage of texts of documents from the database to the file system reduce the load on the disk subsystem, and if so, by how much ? and if yes, by how much ?
Request clarification before answering.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.