The invention belongs to the technical field of
query language execution, and particularly relates to a structured
query language tracking method, device and
system in a micro-service environment, and the method comprises the steps: obtaining a program tracking parameter of a
current user; generating a program tracking context corresponding to the user request; responding to the user request, and generating
tracking data I about the user request; creating
tracking data II, updating the
tracking data ID in the program tracking context again according to the tracking data II, and updating the parent tracking data ID in the program tracking context according to the tracking data I; updating the tracking data II according to the end time of the calling operation to generate complete tracking data; and sending the complete tracking data to a program tracking center, and recovering the tracking data ID in the program tracking
context based on the tracking data I after the complete tracking data is sent. Problems can be quickly positioned and solved, and service loss caused by
system faults or performance problems is reduced.