山东统一银座数据仓库分析系统的设计与实现
原站著录信息
摘要
硕士学位论文 论文题目: 山东统一银座数据仓库分析系统的设计与实现 The Design and Implementation of The Data Warehouse Analysis System for ShanDong Uni-mart 目 录 摘 要 I ABSTRACT III 第1章 绪 论 1 1.1 系统开发背景 1 1.2 国内外研究现状 2 1.3 解决的主要问题 4 1.4 本文的主要工作 4 1.5 论文的组织结构 6 第2章 山东统一银座数据仓库分析系统需求分析 7 2.1 数据仓库分…
硕士学位论文
论文题目:
山东统一银座数据仓库分析系统的设计与实现
The Design and Implementation of The Data Warehouse Analysis System for ShanDong Uni-mart
目 录
摘 要 I
ABSTRACT III
第1章 绪 论 1
1.1 系统开发背景 1
1.2 国内外研究现状 2
1.3 解决的主要问题 4
1.4 本文的主要工作 4
1.5 论文的组织结构 6
第2章 山东统一银座数据仓库分析系统需求分析 7
2.1 数据仓库分析系统概述 7
2.1.1 项目背景 7
2.1.2 系统概述 7
2.2 数据仓库分析系统目标 9
2.2.1 项目业务目标 9
2.2.2 项目技术目标 9
2.3 数据仓库分析系统需求问题描述 10
2.3.1 功能性需求 11
2.3.2 工作流程需求 12
2.3.3 功能性需求 12
2.3.4 产品质量需求 14
第3章 山东统一银座数据仓库分析系统详细设计 15
3.1 数据仓库的设计方法 15
3.2 数据仓库的模组维度设计 16
3.3 数据仓库的物理模型设计 22
3.3.1 存储结构设计 22
3.3.2 索引策略设计 23
3.3.3 存储策略设计 24
3.4 数据仓库的建模 25
3.4.1 数据仓库模型架构设计 25
3.4.2 数据仓库建模阶段设计 26
3.4.3 数据仓库建模方法设计 27
3.4.4 数据库表设计 30
3.5 数据接口设计 34
第4章 山东统一银座数据仓库分析系统实现与测试 37
4.1 数据仓库的系统实现 37
4.1.1 数据导入和加载自动化 39
4.1.2 创建基于SQL OLAP的自定义报告 44
4.1.3 配置 HTTP 访问的 OLAP 源 46
4.1.4 设定OLAP 安全访问 47
4.1.5 构建应用程序 47
4.2 SQL性能优化 49
4.2.1 SQL能优化目的 49
4.2.2 SQL语句优化实例 51
4.3 报表工具的选择 51
4.4 数据仓库测试 52
4.4.1 测试对象 52
4.4.2 测试环境与测试资源 54
4.4.3 测试成果 55
第5章 总 结 57
5.1 总结 57
5.2 展望 58
参考文献 60
致 谢 62
CONTENTS
Chinese Abstract I
Eglish Abstract III
Chapter 1 Introduction 1
1.1 System development background 1
1.2 Research status at home and abroad 2
1.3 Main problems 4
1.4 Major work of this article 4
1.5 Organizational structure of five papers 6
Chapter 2 SD UNI-MART data warehouse and analysis system needs analysis 7
2.1 Data warehouse and analysis system overview 7
2.1.1 Project background 7
2.1.2 System overview 7
2.2 The target data warehouse and analysis system 9
2.2.1 Project business goals 9
2.2.2 Project technical objectives 9
2.3 Data warehouse and analysis system needs problem statement 10
2.3.1 Functional requirements 11
2.3.2 Workflow requirements 12
2.3.3 Software and hardware requirements 12
2.3.4 Product quality requirements 14
Chapter 3 SD UNI-MART Data warehouse and analysis system for detailed design 15
3.1 Data warehouse method design 15
3.2 Physical model of the data warehouse design 16
3.3 Data warehouse modeling design 22
3.3.1 Design data warehouse schema design 22
3.3.2 Design data warehouse modeling phase design 23
3.3.3 Data warehouse modeling method design 24
3.4 Modeling data warehouse 25
3.4.1 Data warehouse schema design 25
3.4.2 Data warehouse modeling stage design 26
3.4.3 Data warehouse modeling method design 27
3.4.4 Database table design 30
3.5 Data interface design 34
Chapter 4 SD UNI-MART dw and analysis system implementation and testing 37
4.1 Data warehouse system implementation 37
4.1.1 Create OLAP based on SQL custom report 39
4.1.2 Configuring HTTP access to OLAP source 44
4.1.3 OLAP security access 46
4.1.4 Building application 47
4.1.5 Building applications 47
4.2 SQL performance optimization 49
4.2.1 SQL optimization purposes 49
4.2.2 SQL statement tuning instance 51
4.3 Reporting tool select 51
4.4 Test data warehouse 52
4.4.1 Test object 52
4.4.2 Test environment and testing resources 54
4.4.3 Test result 55
Chapter 5 Summary 57
5.1 Summary 57
5.2 Prospect 58
Reference 60
Thanks 62
摘 要
近年来,各类企业随着业务的飞速发展,运营过程中积累了大量的历史数据。原业务系统的关系数据库和传统的数据分析手段只能提供的简单查询和报表,不能获得数据的内在关系和隐含的信息。而零售行业内,连锁性质的公司因行业和业务形式的特点在市场快速推广中,有效分析数据已成为企业拓展业务的依据。因此,如何对积累的这些历史数据进行有效的分析,发现商机,用以指导经营决策,已成为企业在同行业竞争中制胜的关键。
数据仓库(Data Warehouse,DW)、联机分析处理(On-Line Analytical Processing,OLAP)、数据挖掘(Data Mining,DM)技术的发展为解决这一问题提供了有效途径。但目前将数据仓库技术的应用在零售业领域较少取得系统性的研究成果和成功的实施案例。在此背景之下,本文调查研究零售连锁业的业务运营情况并分析掌握数据仓库和数据分析技术的基础上,设计并实现一个基于数据仓库的情报分析系统。论文主要进行了如下工作。
1. 介绍了系统开发背景,以目前数据仓库技术的发展和商业应用展开,从成果面阐述系统建立能够为业务面解决的问题。
2. 在零售连锁行业业务的运营情况进行调研的基础上,总结零售连锁行业业务的运营特点和主要业务流程,这是设计实现经营分析系统的业务基础。分析研究了数据仓库的相关技术,包括数据仓库设计基础、联机分析处理(OLAP)技术和数据挖掘技术,这是设计实现数据仓库分析系统的技术基础。
3. 详细阐述了基于数据仓库分析系统的设计与实现,这部分是全文的重点。在这部分首先设计了数据仓库分析系统的总体技术方案,然后从数据存储层、数据获取层和数据访问层三方面描述了具体方案的设计和实现过程。数据存储层采用面向主题的数据仓库技术来组织存储数据,结合对零售连锁行业业务经营状况的分析理解,设计了数据仓库概念模型的实体关系图、逻辑模型的星型模型图、物理模型详细设计的事实表、维表的表结构及总体关系图。在数据获取层根据数据源的特点及数据仓库模型设计的数据抽取、转换、加载(Extraction-Transformation-Loading,ETL)方案,制定了数据的抽取转换策略,实现了数据的抽取转换和加载。数据访问层采用了多维分析(OLAP)和数据挖掘(DM)两种分析形式。多维分析部分设计了多维OLAP型(Muiltdimension OLAP,MOLAP)的技术方案,根据用户需求,设计、构建各个分析主题的多维立方体模型,并生成、发布多维立方体。数据挖掘部分设计实现了时段销售预测、商品类型消费预测、顾客年龄层消费额度销售分析的挖掘方案,并生成、验证和应用了挖掘模型。
文章在最后对论文进行了总结,并对基于数据仓库的数据分析技术的发展方向进行了展望。
关键字:零售连锁业;数据仓库(DW);数据挖掘(DM);联机分析处理(OLAP);维表
ABSTRACT
In recent years, various types of enterprise as the business of operation to gather a large number of historical data.The original system for relational databases and traditional data analysis methods can only provide simple queries, and reports of this total, the relationship between data and implied information.And retail industry, the nature of the company was industry and business styles in a fast market, effectively in the popularization of analytical data has become the basis for business.Therefore, how the accumulation of these historical data for effective analysis and found opportunity to guide management decisions, has become a quality key competitive.
Data warehouse (DW) data warehouse, and online analytical processing (On-Line analytical processing, OLAP), data mining, data mining, DM) technology to tackle this problem.But at the moment the application of the data warehouse in the retail field less obtain systematic research results and successful implementation.In this context, the article investigation of retail chain business works and analyze data warehouse and data analysis techniques, design and implement a data warehouse information analysis system.Main work was carried out as follows:
1. describes system development background, with the present data warehouse technology development and commercial application
