Brin Index主Greenplum 7中的理论与实现 ## Brin Index在 Greenplum 7中的理论与实现 --《Greenplum 7 新版本大剧透》系列直播 讲师:陈金豹,Greenplum内核研发 活动时间:2021年4月28日 20:00 - 21:00 #### .greenplum.org ## Brin Index 在Greenplum 7中的理论与实践 陈金豹, VMWare内核工程师 ## 目录 Brin Index On Heap AppendOnly Table Brin在AppendOnly Table上的实现 性能测试 ## Block Range Index 存储数据块中元组字段的最大最小值,用于过滤不符合条件的数据块 Brin Selection: 1-((B-1)/B)^(N*a) = 1-0.000045 ## ◀ ◀ ◀ ◀ ## Brin的使用场景 表非常大 数据有一定的分布特性 我们不想再index上付出太多存储空间 ## Brin Scan select * from t where a > 1 and a < 8; |1, 3, 2, 5|7, 8, 8, 10|9, 110 码力 | 32 页 | 1.04 MB | 2 年前3
PostGIS 3.6 en dev Manual3.3 Creating spatial databases 23 3.3.1 Spatially enable database using EXTENSION 23 3.3.2 Spatially enable database without using EXTENSION (discouraged) ... 23 3.4 Upgrading spatial databases . Pre 9.1+ or without extensions ... 25 3.4.2 Hard upgrade ... 26 # 4 Data Management ... 28 4.1 Spatial Data Model ... 28 4.1.1 OGC Geometry ... 28 4.1.1.1 Point ... 29 4.1.1.2 LineString . Managing Validity ... 42 4.5 Spatial Reference Systems 43 4.5.1 SPATIAL_REF_SYS Table 44 4.5.2 User-Defined Spatial Reference Systems 45 4.6 Spatial Tables 45 4.6.1 Creating a Spatial Table 45 4.6.2 GEOMETRY_COLUMNS0 码力 | 941 页 | 5.34 MB | 5 月前3
PostGIS 3.6 ko_KR dev ManualEXTENSION 24 3.3.2 Spatially enable database without using EXTENSION (discouraged) 24 3.4 Upgrading spatial databases 25 3.4.1 Soft upgrade 25 3.4.1.1 Soft Upgrade 9.1+ using extensions 25 3.4.1 c091ca05bee4c/233ead5e.png) PostGIS is a spatial extension for the PostgreSQL relational database that was created by Refractions Research Inc, as a spatial database technology research project. Refractions PostGIS to better support a range of important GIS functionality in the areas of OGC and SQL/MM spatial standards, advanced topological constructs (coverages, surfaces, networks), data source for desktop0 码力 | 998 页 | 10.44 MB | 5 月前3
PostGIS 3.6 fr dev ManualGéométrie valide 41 4.4.3 Gestion de la validité 43 4.5 Systèmes de référence spatiale 44 4.5.1 Table SPATIAL_REF_SYS 45 4.5.2 Systèmes de référence spatiale définis par l'utilisateur 46 4.6 Tables spatiales Utilisation de Shapefile Dumper 53 4.9 Index spatiaux 54 4.9.1 Index GiST 54 4.9.2 Index BRIN 55 4.9.3 Index SP-GiST 57 4.9.4 Optimisation de l'utilisation de l'index 57 5 Requêtes spatiales 59 5 spatiales nommées 61 5.1.3 Relations spatiales générales 61 5.2 Utilisation des index spatiaux 63 5.3 Exemples de SQL spatial 63 6 Conseils sur les performances 67 6.1 Petites tables de grandes géométries0 码力 | 961 页 | 5.49 MB | 5 月前3
Materialize MySQL Database engine in ClickHouseMaterializeMySQL Database Engine • Custom HTTP Handler • MySQL Database Engine • BloomFilter Skipping Index • Query Predicate Optimizer • And more ~ 400+ commit ); for (size_t index = 0; index < rows_data.size(); index += 2) { writeable_rows_mask[index + 1] = true; writeable_rows_mask[index] = differenceSortingKeys(DB::get(rows_data[index]), DB::get (rows_data[index + 1]), sorting_columns_index); } for (size_t index = 0; index < rows_data.size(); index += 2) { if (likely( 0 码力 | 35 页 | 226.98 KB | 2 年前3
PostgreSQL 9.5 DocumentationReplication Functions ..... 343 9.26.7. Database Object Management Functions ..... 347 9.26.8. Index Maintenance Functions ..... 350 9.26.9. Generic File Access Functions ..... 350 9.26.10. Advisory and Related Constructs ..... 368 11. Indexes ..... 371 11.1. Introduction ..... 371 11.2. Index Types ..... 372 11.3. Multicolumn Indexes ..... 374 11.4. Indexes and ORDER BY ..... 375 11 Classes and Operator Families ..... 381 11.10. Indexes and Collations ..... 382 11.11. Examining Index Usage ..... 383 12. Full Text Search ..... 385 12.1. Introduction ..... 385 12.1.1. What Is a0 码力 | 2714 页 | 6.33 MB | 2 年前3
深度学习与PyTorch入门实战 - 08. 索引与切片specific index ## ☀️ ☁️ ☁️ 1 In [149]: a.shape 2 Out $$ 149 $$ : torch.Size([4, 3, 28, 28]) 3 4 In [159]: a.index_select(0, 5 0ot{h50ens0o({h,S]iæ($hapa, 28, 28]) 6 7 In [167]: a.index_select(1 0at[h6?ns0o(h,S]z£($Hape, 28, 28]) 10 In [168]: a.index_select(2, torch.arange(28)).shape 11 Out[168]: torch.Size([4, 3, 28, 28]) 13 In [169]: a.index_select(2, torch.arange(8)).shape 14 Out[169]: torch 14 In [175]: torch.masked_select(x, mask).shape 15 Out[175]: torch.Size([3]) ## select by flatten index ## ● 5 In [177]: torch.take(src, torch.tensor([0, 2, 6 0])): tensor([4, 5, 8]) ## 下一课时 Tensor变换0 码力 | 10 页 | 883.44 KB | 2 年前3
PostgreSQL 8.1.11 DocumentationCASE, and Related Constructs .....211 11. Indexes .....214 11.1. Introduction .....214 11.2. Index Types .....215 11.3. Multicolumn Indexes .....216 11.4. Combining Multiple Indexes .....217 Expressions .....218 11.7. Partial Indexes .....219 11.8. Operator Classes .....222 11.9. Examining Index Usage .....223 12. Concurrency Control .....225 12.1. Introduction .....225 12.2. Transaction 17.8. Run-Time Statistics .....304 17.8.1. Statistics Monitoring .....304 17.8.2. Query and Index Statistics Collector .....304 17.9. Automatic Vacuuming .....305 17.10. Client Connection Defaults0 码力 | 1582 页 | 12.19 MB | 2 年前3
TiDB v7.5 中文手册869 9.7.2 TiFlash_schema_apply_duration ··· 869 9.7.3 TiFlash_raft_read_index_duration ··· 870 9.7.4 TiFlash_raft_wait_index_duration ··· 870 9.8 自定义监控组件的配置 ··· 870 9.8.1 自定义 Prometheus 配置 ··· 871 Continuous Profiling ··· 4586 17.4 D ··· 4587 17.4.1 Dynamic Pruning ··· 4587 17.5 I ··· 4587 17.5.1 Index Merge ··· 4587 17.5.2 In-Memory Pessimistic Lock ··· 4587 17.6 L ··· 4587 17.6.1 Leader/Follower/Learner PDF查看两个LTS版本之间的所有release notes。下表列出了从7.2.0到7.5.0的一些关键特性: 分类 功能 描述 可扩展性与性能 支持并行运行多个ADD INDEX语句 通过该功能,为同一个表添加多个索引的任务可以变为并发运行。以前同时运行2个添加索引语句X和 $ \hookrightarrow $ Y需要花费X的时间+Y的时间,现在在一0 码力 | 4590 页 | 100.91 MB | 2 年前3
PostgreSQL 9.2 DocumentationCASE, and Related Constructs .....316 11. Indexes .....318 11.1. Introduction .....318 11.2. Index Types .....319 11.3. Multicolumn Indexes .....321 11.4. Indexes and ORDER BY .....322 11.5. Classes and Operator Families .....327 11.10. Indexes and Collations .....329 11.11. Examining Index Usage .....329 12. Full Text Search .....331 12.1. Introduction .....331 12.1.1. What Is a Document ..361 12.8.2. Parser Testing.....363 12.8.3. Dictionary Testing.....364 12.9. GiST and GIN Index Types.....365 12.10. psql Support.....366 12.11. Limitations.....369 12.12. Migration from Pre-80 码力 | 3007 页 | 7.07 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100
相关搜索词
Brin IndexAppendOnly TableHeap性能测试优势和劣势PostGISPostgreSQLPostGIS ExtensionGeometrySpatial IndexGISSpatialExtensionspatial databasegeometry typesextensionsMaterializeMySQL Database EngineClickHouseMySQLBloomFilter Skipping IndexQuery Predicate OptimizerBRIN indexesGiST indexesrow-level securityCREATE INDEX CONCURRENTLYPyTorch索引与切片张量(Tensor)masked_selectindex_selectPostgreSQL 8.1.11security issuesCVE-2007-6600regular-expressionindex expressions分布式执行框架ADD INDEXIMPORT INTOTiDB性能优化资源管控index-only scansSP-GiSTgroup commitvisibility mapJSON data type













