官术网_书友最值得收藏!

What is a semantic layer?

In this section, we will define the semantic layer and then describe the main role of semantic layers in BI reporting solutions.

The semantic layer acts like a translator. A translator is an expert in two languages at least. During a conversation, he or she will listen to the first person, understand what they said, and then translate the same message into a language that the other person can understand and vice versa.

The semantic layer does exactly the same thing. The end user can understand it and communicate with it, because it talks the same business language. Then, the other part translates the request into a technical language that can be submitted to the database. After that, it does the opposite by receiving the data from the database in a raw format and then translates it in a format that can be interpreted by the end user. So, it is like a man with two faces. One face is the technical face (evil one), which talks to the database, and the other one is the business user face (good one), which talks to the business end users.

The main idea of the semantic layer is to translate and simplify complex technical information in a way that business people can understand and utilize. The information is stored in a database, and it requires many technical skills to access it directly and do the required analysis. The semantic layer will isolate all technical staff from the actual business information needed, and it provides an easy way to understand and use a business model that can be accessed directly by the business to do their own reports and on-the-fly analysis.

The semantic layer will consist of two layers at least. The first one is the physical layer that will contain the technical part. In this layer, you will set up your data model by adding the required tables/views and create the proper joins between them. Usually, technical experts will be responsible for building this part as it requires technical skills. The second layer is the business model, which will be visible to the business users. This layer will contain attributes that business users can understand. Every attribute will have its own mapping to the physical layer either directly or it will be a driven attribute (calculated from other physical database columns). This will hide and isolate the complex technical part behind the frontend business model.

Note

For more information on the semantic layer, you can visit http://en.wikipedia.org/wiki/Semantic_layer.

主站蜘蛛池模板: 台南县| 江都市| 陆良县| 米泉市| 阿拉善盟| 渝中区| 原平市| 柘荣县| 金阳县| 阳高县| 邵阳县| 云林县| 崇明县| 二连浩特市| 城固县| 墨竹工卡县| 读书| 桐乡市| 全椒县| 分宜县| 正宁县| 临沧市| 海丰县| 龙海市| 芦溪县| 汶川县| 娄底市| 增城市| 长汀县| 吕梁市| 固原市| 崇阳县| 普兰店市| 黄骅市| 赤水市| 镇沅| 澄迈县| 安徽省| 报价| 唐河县| 江津市|