上一主题: 将 PostgreSQL 数据库中的数据迁移到 Oracle 数据库下一主题: 有关 SmartStor 层如何工作的详细信息


配置 SmartStor 数据存储

SmartStor 在处于生产状态时始终记录所有应用程序的性能数据(Introscope 度量标准),这不需要外部数据库。 这使得您可以对历史数据进行分析,以便确定应用程序停机的根本原因或执行容量分析,这都不需要外部数据库。 安装 Introscope 时将以默认设置启用 SmartStor。

每小时一次,SmartStor 会准点把 .spool 文件转化成 .data 文件,以优化查询处理。

每天一次,在午夜,SmartStor 会重新格式化基于企业管理器层设置的历史度量标准数据,并且删除过时的度量标准和元数据。

以下是 IntroscopeEnterpriseManager.properties 文件中的默认层设置:

introscope.enterprisemanager.smartstor.tier1.frequency=15

introscope.enterprisemanager.smartstor.tier1.age=7

introscope.enterprisemanager.smartstor.tier2.frequency=60

introscope.enterprisemanager.smartstor.tier2.age=30

introscope.enterprisemanager.smartstor.tier3.frequency=900

introscope.enterprisemanager.smartstor.tier3.age=365

在 SmartStor 使用的存储层次结构中,假定最近的数据访问最频繁并且拥有最高的解析度。 下面是基于以前列出的默认属性设置的数据解析度:

将 1 周的数据存储在 15 秒块中(未压缩)

将 30 天的数据存储在 1 分钟(60 秒)块中(压缩)

将 1 年的数据存储在 15 分钟(900 秒)块中(压缩)

重要信息! 配置 SmartStor 以写入专用磁盘,以便避免严重影响企业管理器性能和响应速度。 与运行在主机上的其他企业管理器活动或其他进程争夺磁盘可以导致性能不尽如人意。

当您为 SmartStor 数据设置专用磁盘时,将该属性设置为 true。 在默认情况下企业管理器安装程序把此属性设为 false。 请参阅 introscope.enterprisemanager.smartstor.dedicatedcontroller

以下几部分提供了 SmartStor 规划和配置说明: