-
嵌套循環連接
鎖定
連接 (SQL)操作是數據庫管理中重要的一環,而嵌套循環連接是通過嵌套的循環語句把多個表連接起來的簡單算法,但是效率並不理想。
- 中文名
- 嵌套循環連接
- 外文名
- Nested loop join
嵌套循環連接簡介
嵌套循環連接算法內容
兩個關係數據庫表R和S通過如下的方法連接在一起:
For each tuple r in R do For each tuple s in S do If r and s satisfy the join condition Then output the tuple <r,s>
嵌套循環連接改進方法
For each block block_r in R do For each tuple s in S do For each tuple r in block_r do If r and s satisfy the join condition Then output the tuple <r,s>
- 詞條統計
-
- 瀏覽次數:次
- 編輯次數:0次歷史版本
- 最近更新: 茹痴___茹醉