Shell script analysis dblink method based on Linux platform
A script parsing and platform technology, applied in the database field, can solve problems such as high requirements, omissions, and heavy manual inspection workload, and achieve the effect of lowering the work threshold, overcoming inefficiency, and simplifying the inspection.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0031] The present invention will be further described below in conjunction with accompanying drawing and specific embodiment:
[0032] Such as figure 1 The illustrated embodiment is a Linux platform-based shell script analysis dblink method, comprising the following steps:
[0033] Step 100, obtaining the current database as a client to access all the ip addresses of other databases;
[0034] Step 101, obtain the connection string through the host column in the dba_dblinks view, and obtain n records;
[0035] Use the sql script "select regexp_replace(lower(host),'\s+',")host from dba_dblinks where db_link not in('SYS_HUB','DBMS_CLRDBLINK')and host is notnull)" to get the connection string, use regexp_replace regular The replacement function removes useless spaces, newlines and tabs to ensure that each connection string occupies only one line, and writes the above-mentioned processed content into the file / tmp / dblink.txt line by line, and the processed Results come in three...
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