The present invention discloses a method and device for
data management, and relates to the field of
computer technology. A specific implementation of the method includes: when writing
business data into a business
system, obtaining business dependency data corresponding to the
business data; starting a data write transaction, storing the business dependency data in a data storage table of the business
system, and then closing the data write transaction. By using a data write transaction to write business dependency data and
business data into the same
database, the
atomicity of the write operation of the business dependency data and the business data can be guaranteed, and abnormalities in the
business process in the business
system caused by inconsistency between the business dependency data and the business data can be avoided; the
data model and the data storage object to which the business dependency data in the business system belongs are associated together through an attribute mapping table, and only one storage object is needed, and only one data storage table is needed, so as to achieve transparency to the business system, reduce
system development costs, and realize componentization.