Oracle data batch collection method based on ROWID
A collection method and data collection node technology, applied in the Oracle database field, can solve problems such as poor Oracle data, inability to collect data quality, and null values in all columns, and achieve simple technology, high data collection performance, and low development costs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] The operation steps of the ROWID-based Oracle data batch collection method are as follows:
[0025] Step 1) Generate SQL statements by querying the ROWID starting from each SQL through the JDBC interface; each of the generated SQL statements collects n ten thousand pieces of data, then sorts the ROWIDs, and obtains the first and n+1 , 2n+1... ROWIDs; the SQL statement for obtaining the ROWID is executed in parallel mode, and the SQL statement is executed through JDBC, and the result set is an ordered ROWID queue. The ROWID queue is used to generate batches of SQL statements.
[0026] The SQL statement is as follows: tName is the table name of data collection; pSize is the batch size of data collection; pCount is the number of parallel threads for executing this SQL.
[0027] SELECT RID AS "ROWID" FROM (
[0028] SELECT a.*, ROWNUM rnum FROM (
[0029] SELECT / *+ Parallel(pCount) * / ROWID AS RID FROM tName ORDER BY ROWID)
[0030] a) WHERE MOD(rnum, pSize) = 1;
[0...
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