| Algorithm 3: Algorithm for Data Retrieval Using SELECT-ASPL. |
|
Initially, the Parallel Server (PS) contains obfuscated hybrid data(O-Hd), PPd- pre-processed data, input (Parallel Server)- PSin Input:PSin, PPd Foreach input Select ☐input (PSin) // find PSin using APSL If(specified big data DB = O-Hd) select ☐ (Join method. (O-Hd)) O(O-Hd)☐( O-Hd) Whilepre-processing pre-processing_data count ≠ select optimum join method return, specified big data DB ≠ O-Hd End while End if If (PPd ≠ (O-Hd)) // Compute hit rate If (hit rate data count ≥ no. of O(O-Hd) + no. of PPd) Else // data retrieving rate positively high check no. of PPd End if End if Repeat If no. of PPd> no. of (PSin) execute: Compute the hit rate Else if (no. of PPd < no. of (PSin) continue (data retrieving rate positively low) Else rechecks no. of PPd End if (Until termination criterion met) End for Return accurate data retrieving rate && retrieve data as PSin |