📄 886.txt
字号:
发信人: netsaint (大圣), 信区: DataMining
标 题: Re: 数据仓库里的实体化视图怎么实现?
发信站: 南京大学小百合站 (Wed Sep 11 21:34:38 2002)
一般的ROLAP确实把这种数据存放在关系表里
我把这些数据存放在临时文件里是出于这样的目的:
把这些文件常驻内存,这样,对每个请求,首先去查询内存中的文件
如果找不到结果,再去数据库检索关系表
是否可行?
对于这个临时文件怎么去统一它的格式,还有怎样去读取里面的数据(好像要对字符串读
取和处理的)?
头都大了
【 在 fervvac 的大作中提到: 】
: For any serious implementation, it is a bad idea to store data in text
: format.
: First of all, you need to know which type of system you have, ROLAP or MOL..
: Chunk is only used in MOLAP, and relations are only used in ROLAP.
: The basic method to store data in ROLAP is to store in relational table(s).
: You can either create a table with all dimension attributes pulus the mea..
: attribture, or use multiple tables, each for a cuboid. So there is no
: fundamental difficulty there.
: For chunks, I am not sure of the real implementation of commercial systems.
: For most prototype systems, the problem is that "extra-long" integer type
: and its efficient calculation is needed. Space trade-off is another issue.
: Moreoever, there is an issue of choosing an appropriate compression method.
:
: 【 在 netsaint (大圣) 的大作中提到: 】
: : 我指的是物理存储模式,目前有很多都是用chunk方式,但这样实现起来比较难的
: : 如果直接存放在关系表里,那对不同的维的组合就有一个值,表的字段不好统一设..
: : 我想(把那些综合数据)存放在一个临时文件里如.txt里,好像更麻烦了
--
※ 来源:.南京大学小百合站 http://bbs.nju.edu.cn [FROM: 202.120.98.54]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -