View Revisions: Issue #880
Summary | 0000880: Optimize database backup/restore process | ||
---|---|---|---|
Revision | 2017-10-23 12:31 by rijkr | ||
Description | IST: When creating database backup, XML is built in memory before writing to file. For large data sets this can lead to OutOfMemoryError exceptions. Likewise, when restoring the database from XML backup, XML is read into memory before inserting the database rows. SOLL: Use XMLStreamWriter to write the backup file, use XMLStreamReader to read it. |
||
Revision | 2017-10-14 17:50 by rijkr | ||
Description | IST: When creating database backup, XML is built in memory before writing to file. For large data sets this can lead to OutOfMemoryError exceptions. Likewise, when restoring the database from XML backup, XML is read into memory before inserting the database rows. SOLL: Use XMLStreamWriter to write the backup file, use XMLStreamReader to read it. |
||
Revision | 2017-10-13 14:31 by rijkr | ||
Description | IST: When creating database backup, XML is built in memory before writing to file. For large data sets this can lead to OutOfMemoryError exceptions. SOLL: Use XMLStreamWriter to write the backup file. |