সব বই

পেশাদার

1 Markets I: The Ecosystem and Exchange-Traded Marketsবাজার অনলাইন 2 Markets II: Rates, FX and Creditবাজার অনলাইন 3 Markets III: Commodities, Energy and Cryptoবাজার অনলাইন 4 Quantitative Methodsপদ্ধতি অনলাইন 5 Derivatives and Volatilityডেরিভেটিভস অনলাইন 6 Rates, Credit, XVA and Riskসুদহার, ঋণ ও ঝুঁকি অনলাইন 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosগবেষণা অনলাইন 8 Strategies I: Equities and Futuresকৌশল অনলাইন 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksকৌশল অনলাইন 10 Microstructure and Executionএক্সিকিউশন অনলাইন 11 Market Making and High-Frequency Tradingমার্কেট মেকিং অনলাইন 12 Machine Learning for Marketsমেশিন লার্নিং অনলাইন 13 Low-Latency Softwareপ্রযুক্তি অনলাইন 14 Networks, Hardware and Trading Infrastructureপ্রযুক্তি অনলাইন 15 Research, Data and Risk Platformsপ্রযুক্তি অনলাইন 16 The Desk and the Firmপ্রতিষ্ঠান অনলাইন 17 The Industry: Firms, Roles and Careersক্যারিয়ার অনলাইন 18 Interviews I: Maths, Probability and Speedক্যারিয়ার অনলাইন 19 Interviews II: Markets, Trading Games and the Final Roundক্যারিয়ার অনলাইন 20 Interviews III: Codeক্যারিয়ার অনলাইন
অ্যাপ পরিচিতি Coach সাইন ইন পড়া শুরু করো

বইগুলো এখনো বাংলা ভাষায় পাওয়া যায় না — ইংরেজি সংস্করণ দেখানো হচ্ছে।

Computer Science · পরিভাষা

Nested-loop, block nested-loop, index nested-loop, sort–merge and hash joins কী?

অন্য নাম: nested-loop join · block nested-loop join · index nested-loop join · sort--merge join · hash join

Definition 22.4 University Computer Science — Year 3 · অধ্যায় 22 — Query Processing and Optimisation

Let RR have MM pages and ∣R∣|R| tuples, SS have NN pages, and BB buffer pages be free. The nested-loop join scans SS once for each tuple of RR: M+∣R∣NM + |R| N page reads. The block nested-loop join loads B−2B - 2 pages of RR at a time and scans SS once per block: M+⌈M/(B−2)⌉NM + \lceil M/(B-2) \rceil N. The index nested-loop join searches an index on SS’s join column for each tuple of RR: M+∣R∣(h+1)M + |R|(h + 1) for an index of height hh and one matching tuple. The sort–merge join sorts both inputs on the join column and merges them: the two sorts plus M+NM + N. The hash join builds a hash table on the smaller input and probes it with the other: M+NM + N if the smaller fits in B−2B - 2 pages; otherwise the Grace variant first partitions both inputs into B−1B - 1 buckets on disk by a hash of the join column and joins bucket by bucket: 3(M+N)3(M + N).

Counted page I/O of four joins as R grows from 100 to 1,000 pages, S fixed at 100 pages, 12 buffer pages. The tuple nested loop is off the chart: 100,100 already at M = 100.
Counted page I/O of four joins as RR grows from 100 to 1,000 pages, SS fixed at 100 pages, 12 buffer pages. The tuple nested loop is off the chart: 100,100 already at M=100M = 100.
প্রসঙ্গসহ পড়ো →