The embodiment of the invention relates to troubleshooting technology, and discloses a method, device, processor and storage medium for generating a troubleshooting strategy for an Oracle database. This method creates abstract Oracle troubleshooting rules based on Oracle troubleshooting rule data. Abstract Oracle troubleshooting rules include abstract configuration events and abstract configuration rules. When the troubleshooting start condition is triggered, according to the abstract Oracle troubleshooting rules and Oracle troubleshooting knowledge graph Generate an example Oracle troubleshooting diagram. The Oracle troubleshooting knowledge map includes fault characteristics and corresponding failure reasons. The example Oracle troubleshooting diagram includes instantiated virtual events and instantiated abstract configuration rules. For different troubleshooting scenarios, according to expert experience and fields Knowledge, establish troubleshooting rules in different scenarios, effectively solidify the known expert troubleshooting experience, and realize expert experience storage, fault identification, and troubleshooting reasoning in automated troubleshooting. At the same time, the entire process is streamlined, visualized, and automated. , to speed up the troubleshooting process.