How old documents added to SQL in the DECS?

1, how does the old documents before opening DECS by DECS written to a relational database?

2, in the DECS to suspend the process to add or modify a document, how to write SQL again when DECS to start in?