简体   繁体   English

mondrian.xml模式文件pentaho位置

[英]mondrian.xml schema files pentaho location

I'm creating cubes (xml schemas) via schema-workbench or ivy schema editor. 我正在通过schema-workbench或ivy架构编辑器创建多维数据集(xml架构)。 When I'm publishing it, I would like to know where the schemas (mondrian.xml files) are actually saved,What is the location of these files? 当我发布它时,我想知道模式(mondrian.xml文件)实际保存在哪里,这些文件的位置是什么?

Thanks, 谢谢,

Which version of Pentaho BA server are you using? 您使用的是哪个版本的Pentaho BA服务器? Pre or Post 5.0? 5.0之前或之后?

Pre 5.0: you choose the file path when publishing. Pre 5.0:您在发布时选择文件路径。 The path is under you ${BISERVER}/pentaho-solutions. 路径在你的$ {BISERVER} / pentaho-solutions下。

5.0 and beyond: there's no physical file, it's stored in Pentaho's Jackrabbit repository only. 5.0及以上:没有物理文件,它只存储在Pentaho的Jackrabbit存储库中。

If you create any Analysis in Mondrian 5.*, and you have a test server and prod server, don't export Mondrian schemas from one to another. 如果您在Mondrian 5. *中创建任何Analysis,并且您有一个测试服务器和prod服务器,请不要将Mondrian模式从一个导出到另一个。 For a mystical reason you won't be able to get rid of them later. 出于神秘的原因,你以后无法摆脱它们。

This was my case, when I started searching for the pentaho-solutions/system/olap/datasources.xml in order to delete the problematic mondrian scheme. 这是我的情况,当我开始搜索pentaho-solutions / system / olap / datasources.xml以删除有问题的mondrian方案时。 This source just doesn't exist anymore. 这个来源不再存在。

All data is now saved with the help of Jackrabbit. 现在,所有数据都在Jackrabbit的帮助下保存。 Jackrabbit stores your Mondrian Schemas together with all other Reports and Analysis to the database (the path is given in the jackrabbit preference file). Jackrabbit将您的Mondrian Schemas与所有其他报告和分析一起存储到数据库中(路径在jackrabbit首选项文件中给出)。 But in the database you can only see their IDs. 但是在数据库中,您只能看到他们的ID。 So there is no chance to get rid of one object - you leave everything or delete everything by truncating the table. 所以没有机会摆脱一个对象 - 你留下一切或通过截断表删除所有内容。 The main problem is, that in the same table are saved not only schemas, but also all other reports, which you have downloaded to the server. 主要问题是,在同一个表中不仅保存了模式,还保存了已下载到服务器的所有其他报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM