schema - Orientdb maximum number of classes
问题描述
The orientdb documentation doesn't say anything about limitations regarding the number of classes. In practise it seems a large number of classes is limiting functionality.
I have a database with the Buildingsmart IFC classes as it's schema. This means I have a lot of classes. Every time a connection to the db is made, the server sends the complete list of classes (clusters). As a result, opening my database is taking too much time.
Is there a way to tell orientdb not to sent the list? I already know the internal db class structure, so I don't really have need for the list.
解决方案
OrientDB 支持的最大类数是数据库中集群数的函数。请参阅聚类部分。
从 v2.2 开始,OrientDB 可以自动为每个 Class 创建多个集群,以提高并行性能。每个类创建的集群数等于服务器上可用的 CPU 内核数。每个班级还可以有更多的集群。数据库中的集群数限制为 32,767(或 2 15 - 1)
因此,对于 4 核 CPU,假设每个类都有默认的集群数,数据库中的总类数约为 8100。
推荐阅读
- pointers - golang 中嵌入类型的内部状态 - 它是如何工作的?
- elasticsearch - Kibana unabe 在 Windows 上连接到 elasticsearch
- xamarin - xamarin 表单属性/首选项最大推荐字符串长度
- google-search-console - 如何修复解析错误:Osclass 免费分类上缺少“}”或对象成员名称
- sql-server - 计算列值相对于最大行值占一行的所有列的百分比
- flutter - 颤振:没有为类“标记”定义吸气剂“选项”
- swift - WatchOS 6.0、Swift 5.0:无背景触觉
- c# - Azure Function v3 中的 System.Text.Json:JsonResult.SerializerSettings 必须是 JsonSerializerSettings 类型的实例
- c# - 将 DataTable 插入 MySQL 数据库表时缺少行
- php - PHP每天重命名文件