Method of Recovery of Deleted Records in a Postgre SQL Database
Volume 3, Issue 4 SEONGHWAN KIM, KWANGSIK CHUNG
Published online: 17 August 2017
Article Views: 50
Abstract
This paper recommends recovery methods for records deleted from PostgreSQL. This paper includes a description of PostgreSQL, which is the subject of this study. It also incorporates a layout of the pages and records relevant to data storage and the deletion tests and recovery algorithm used. When recovering deleted records, PostgreSQL data files, which contain a history of deleted records, are required. Also, a Hex editor is used, which can check the contents of data files. One can analyze each record’s header information by opening PostgreSQL data files with a Hex editor. Then, the analyzed header information from the records is checked. If it is deemed that there are deleted records, they can be extracted for recovery. If VACUUM, a record cleanup program offered by PostgreSQL, has been used for deletion, the records cannot be restored. In this study, it was possible to recover the deleted records of the PostgreSQL database in the damages caused by cybercrime. Recovered records can be used as legal evidence, which can benefit companies in a court situation. The benefit of being in a court situation helps protect the interests of the enterprise.
Reference
J. H. Choi, D. W. Jeong and S. Lee, “The method of recovery for deleted record in oracle database,” Journal of the Korea Institute of Information Security and Cryptology, vol. 23, no. 5, pp. 947-955, 2013.
K. Lee, D. Jeong, C. Kang and S. Lee, “The method of recovery for deleted record in the DB2 database,” Journal of Digital Forensics, vol. 8, no. 2, pp. 1-14, 2014.
S. M. Jang, “Deleted records recovery research for MySQL innoDB,” Unpublished dissertation, Graduate School of Information Security, Korea University, Seoul, South Korea, 2014.
S. Y. Park, “A research for record recovery method in database,” Graduate School of Information Security, Korea University, Seoul, South Korea, 2013.
M. Stonebraker and L. A. Rowe, “The design of Postgres,” in Proceedings of the International Conference on Management of Data, Washington, D.C., WA, pp. 340-355, May 28-30, 1986.
J. S. Katz and J. Mlodgenski. (2013). A tour of postgreSQL data types [Online]. Available: https://goo.gl/egHAqk
B. Momjian. (2017). PostgreSQL internals through pictures [Online]. Available: https://goo.gl/fcG6cr
B. Momjian. (2017). Mastering postgreSQL administration [Online]. Available: https://goo.gl/Ax6GC2
S. Christensen. (2010). Postgres administration for sysadmins [Online]. Available: https://goo.gl/h8zvr5
EnterpriseDB. (n.d.). Introduction to postgreSQL administration [Online]. Available: https://goo.gl/YAHw8H
To Cite this article
S. Kim and K. Chung “Method of recovery of deleted records in a postgre SQL database,” International Journal of Technology and Engineering Studies, vol. 3, no. 4, pp. 169-176, 2017.