External connection management method, device, server and storage medium
A management method and external connection technology, applied in the database field, can solve problems such as increased system burden, large amount of data, and cumbersome execution process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] figure 1 This is a flowchart of an external connection management method provided by Embodiment 1 of the present invention. The method can be executed by an external connection management device integrated in a server. Specifically, the method includes the following steps:
[0041] S110. Acquire a first data table and a second data table for executing the external connection.
[0042] Connection is the main feature of the database model. When multiple data table queries are involved in the database, the information stored in multiple data tables can be queried through the connection operation. Specifically, the connection of the data table includes inner joins and outer joins. Inner joins can also be called natural joins or equivalent joins. All rows that do not match rows in other joined tables are deleted from the result table, that is, the inner join is Returns the intersection of two or more data tables.
[0043] Outer joins include left outer joins, right outer joins, an...
Embodiment 2
[0058] figure 2 This is a flowchart of an external connection management method provided in the second embodiment of the present invention, which is embodied on the basis of the above-mentioned embodiment. Specifically, the method includes the following steps:
[0059] S210. Acquire a first data table and a second data table for executing the external connection.
[0060] S220: Parse the outer join query statement input by the user, where the outer join query statement includes an outer join operator and a connection condition.
[0061] S230. Whether the external connection query statement meets the set first execution condition, if yes, execute S240; otherwise, execute S260.
[0062] Specifically, according to the analysis result, it is judged whether the outer join query statement meets the set first execution condition. If it is satisfied, S240 is executed according to the first execution plan; otherwise, S260 is executed according to the second execution plan. One execution condi...
Embodiment 3
[0076] Figure 5 This is a structural diagram of an external connection management device provided in Embodiment 3 of the present invention. The device can execute the external connection management method described in any of the foregoing embodiments. Specifically, the device includes:
[0077] The obtaining module 310 is used to obtain the first data table and the second data table for executing the external connection;
[0078] The parsing module 320 is used to parse the outer join query statement input by the user, the outer join query statement including the outer join operator and the join condition;
[0079] The discarding module 330 is configured to discard the first result data row obtained when the connection condition is satisfied in the first data table and the second data table if the external connection query statement meets the set first execution condition.
[0080] The third embodiment of the present invention provides an external connection management device, which pa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


