Cardinality and frequency estimation - CS 591 K1: Data Stream Processing and Analytics Spring 2020Processing and Analytics Vasiliki (Vasia) Kalavri vkalavri@bu.edu Spring 2020 4/23: Cardinality and frequency estimation ??? Vasiliki Kalavri | Boston University 2020 Counting distinct elements 2 University 2020 LogLog algorithm Input: stream S, array of m counters, hash fiction h Output: cardinality of S for j=0 to m-1 do: COUNT[j] = 0 for x in S do: i = h(x) j = getLeftBits(i, p) r = Boston University 2020 26 • Query approximation error • Error probability Guarantee: The estimation error for frequencies will not exceed with probability • A higher number of hash functions0 码力 | 69 页 | 630.01 KB | 1 年前3
Estimation of Availability and Reliability in CurveBSEstimation of availability and reliability in CurveBS CurveBS uses the RAFT protocol to maintain consistency of stored data. It generally takes the form of 3 replicas of data. If one replica fails intervention is required to handle the failure according to the actual situation of the system. Estimation of availability and reliability in the three- replicas case Assume that the total number of0 码力 | 2 页 | 34.51 KB | 6 月前3
PostgreSQL 8.2 Documentation.........................................................................1327 49.6. Index Cost Estimation Functions...............................................................................1328 50 ...............................................................................1346 54.1. Row Estimation Examples...................................................................................... shared memory allocated by PostgreSQL, nor does it reserve kernel disk cache; it is used only for estimation purposes. The default is 128 megabytes (128MB). 17.6.3. Genetic Query Optimizer geqo (boolean)0 码力 | 1748 页 | 13.12 MB | 1 年前3
PostgreSQL 8.1.11 Documentation.........................................................................1219 48.6. Index Cost Estimation Functions...............................................................................1220 49 ...............................................................................1236 52.1. Row Estimation Examples...................................................................................... shared memory allocated by PostgreSQL, nor does it reserve kernel disk cache; it is used only for estimation purposes. The value is measured in disk pages, which are normally 8192 bytes each. The default0 码力 | 1582 页 | 12.19 MB | 1 年前3
PostgreSQL 8.1 Documentation.........................................................................1212 48.6. Index Cost Estimation Functions...............................................................................1213 49 ...............................................................................1229 52.1. Row Estimation Examples...................................................................................... shared memory allocated by PostgreSQL, nor does it reserve kernel disk cache; it is used only for estimation purposes. The value is measured in disk pages, which are normally 8192 bytes each. The default0 码力 | 1548 页 | 11.54 MB | 1 年前3
PostgreSQL 8.2 Documentation.........................................................................1327 49.6. Index Cost Estimation Functions...............................................................................1328 50 ...............................................................................1346 54.1. Row Estimation Examples...................................................................................... shared memory allocated by PostgreSQL, nor does it reserve kernel disk cache; it is used only for estimation purposes. The default is 128 megabytes (128MB). 17.6.3. Genetic Query Optimizer geqo (boolean)0 码力 | 1762 页 | 5.43 MB | 1 年前3
PostgreSQL 9.4 Documentation.........................................................................2077 55.6. Index Cost Estimation Functions...............................................................................2078 56 ...............................................................................2122 61.1. Row Estimation Examples...................................................................................... Options .......................................................................2411 F.32.1.3. Cost Estimation Options...................................................................2412 xli F.32.1.4.0 码力 | 2603 页 | 6.05 MB | 1 年前3
PostgreSQL 9.5 Documentation.........................................................................2200 58.6. Index Cost Estimation Functions...............................................................................2201 59 ...............................................................................2252 65.1. Row Estimation Examples...................................................................................... Options .......................................................................2548 F.31.1.3. Cost Estimation Options...................................................................2549 F.31.1.4. Updatability0 码力 | 2714 页 | 6.33 MB | 1 年前3
PostgreSQL 8.3 Documentation.........................................................................1475 50.6. Index Cost Estimation Functions...............................................................................1476 51 ...............................................................................1495 55.1. Row Estimation Examples...................................................................................... shared memory allocated by PostgreSQL, nor does it reserve kernel disk cache; it is used only for estimation purposes. The default is 128 megabytes (128MB). 18.6.3. Genetic Query Optimizer geqo (boolean)0 码力 | 2143 页 | 4.58 MB | 1 年前3
PostgreSQL 8.3 Documentation.........................................................................1389 50.6. Index Cost Estimation Functions........................................................................1390 xxiv 51 ...............................................................................1409 55.1. Row Estimation Examples..................................................................................1409 shared memory allocated by PostgreSQL, nor does it reserve kernel disk cache; it is used only for estimation purposes. The default is 128 megabytes (128MB). 363 Chapter 18. Server Configuration 18.6.30 码力 | 2015 页 | 4.54 MB | 1 年前3
共 428 条
- 1
- 2
- 3
- 4
- 5
- 6
- 43













