Sql tracking method and tool for oracle database
A tracking tool and database technology, applied in electrical digital data processing, instruments, hardware monitoring, etc., can solve problems such as difficulty in finding SQL, time-consuming, cumbersome reporting steps for AWR, etc., and achieve the effect of solving SQL tracking difficulties and saving time.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] combined with figure 1 , the present embodiment proposes a sql tracking method of an oracle database, and the implementation process of the method includes:
[0039] 1) After logging in and connecting to the oracle database that needs to track sql, back up the current database v$sqlarea view through sql: create table trace_start as select* from v$sqlarea, back up the data contained in the current database v$sqlarea view to table A, table A It is the table trace_start; after the backup is completed, record the database time at this moment: select sysdate from dual, and assign the query time to the program variable T. Its specific implementation code is as follows:
[0040]
[0041] 2) Start the business operating system and perform business operations that need to track sql, such as performing voucher query or voucher storage in the financial management system.
[0042] 3) After completing the business operations that need to be tracked, back up the current database...
Embodiment 2
[0053] Reference attached figure 1 , 2 , the present embodiment proposes a sql tracking tool for an oracle database, which includes a login module 1 , a backup module 1 2 , a backup module 2 3 , and a comparison processing module 4 .
[0054] Login module 1 is used to assist users to log in and connect to the oracle database that needs to track sql.
[0055] The backup module 12 is used to back up the current v$sqlarea view to the table trace_start through sql, and record the current database time, and assign the query time to the program variable T.
[0056] Start the business operating system that needs to track sql, and perform a certain business operation, such as executing the voucher query or voucher storage business of the financial management system. After the execution is completed, the backup module 2 3 is used to back up the current database v$sqlarea view to the table trace_end.
[0057] The comparison processing module 4 is used to compare the corresponding fiel...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com