The following is excerpted from the Internet and collated.
Noun:
BI (Business Intelligence): Commercial Intelligence,
DW (Data Warehouse): Warehouse, see the Text Q1 section.
OLTP (on-line Transaction processing): Online transaction processing
Also known as the transaction-oriented processing system, its basic characteristic is that the customer's raw data can be transferred to the computing center immediately and the processing results are given in a short time. The greatest advantage of this is that you can instantly process the input data and answer it in a timely manner. Also known as real time system. An important performance metric for online transaction processing systems is System performance, which is reflected in real-time response times (Response time), which is the time required for a computer to respond to a request after it has been fed into the terminal.
The OLTP database is designed to allow transactional applications to write only the data they need to handle a single transaction as quickly as possible.
OLAP (On-line Analytical Processing): Online analytical Processing
OLAP was proposed by E.f.codd in 1993.
OLAP Council definition: OLAP is a software technology that enables analysts to quickly, consistently and interactively observe information from all aspects in order to achieve a deeper understanding of the data, which is translated directly from the original data, and reflects the real situation of the enterprise in a way that users can easily understand.
Most of OLAP's strategy is to store relational or normal data for multidimensional data storage, so that it can be analyzed so as to achieve the purpose of online analytical processing. This multi-dimensional db is also seen as a hypercube that stores data along various dimensions, allowing users to easily analyze data along the axes of things, and the analytical forms associated with mainstream business users are generally sliced and diced, and drill down and excavated.
Datamart: A data mart, for a specific application purpose or scope of application, and part of the data that is isolated from the data warehouse can also be referred to as departmental data or subject data (Subjectarea). In the implementation of the data warehouse can often start from a department data mart, and then a few data marts to form a complete data warehouse. It is important to note that when implementing a different data mart, the same meaning of the field definition must be compatible, so that later implementation of the data Warehouse will not cause great trouble.
Data Mining: See the text Q5 section
Etl:etl are "Extract", "Transform", "load" the initials of three words is "extract", "transform", "load", but we are often referred to as the daily data extraction. ETL is the core and soul of BI/DW (Business intelligence/Data Warehouse), integrating and improving the value of data in accordance with unified rules, is responsible for the completion of data from the data source to the target Data Warehouse transformation process, is to implement the Data Warehouse is an important step.
MetaData: Metadata, metadata is data that describes the structure of data in a data warehouse and how to build it. It can be divided into two categories, technical metadata and business metadata, depending on the purpose. Technical metadata is the data that the data warehouse design and management personnel use to develop and manage the Data Warehouse daily. Includes: Data source information, description of data conversion, definition of object and data structure in data Warehouse, rules for data cleansing and updating, mapping of source data to destination data, user access rights, data backup history, data import history, information release history, etc.
Business metadata describes the data in a data warehouse from a business perspective. Include: Description of business topics, including data, queries, reports;
Metadata provides an information directory (informationdirectory) for accessing the Data Warehouse, which comprehensively describes what data is in the Data warehouse, how it is obtained, and how it is accessed. is the center of the Data Warehouse operation and maintenance, the Data Warehouse server uses him to store and update the data, the user through him to understand and access data.
Q1: What is a data warehouse?
A data warehouse is a subject-oriented (Subject oriented), integrated (integrate), relatively stable (nonvolatile), data collection that reflects historical changes (time Variant) to support management decisions. The concept of the Data Warehouse can be ① from two levels: The Data Warehouse is used to support decision-making and analytical data processing, which is different from the existing operational database of the enterprise. ② Data Warehouse is an effective integration of multiple heterogeneous data sources, integrated in accordance with the main
and contains historical data, and the data stored in the Data warehouse is generally no longer modified. The construction of enterprise Data Warehouse is based on the accumulation of existing enterprise business system and large amount of business data. The Data warehouse is not a static concept, only the information in a timely manner to users who need it, for them to improve their business operations decision-making, information can play a role, information only makes sense. The basic task of data Warehouse is to organize, summarize and reorganize the information and provide it to the corresponding management decision-maker in time.
Q2: Why build a Data warehouse?
The enterprise establishes the Data warehouse to fill the existing data storage form already cannot satisfy the information analysis the need. One of the core concepts in Data Warehouse theory is that transactional data and decision-supporting data have different processing performance.
The enterprise collects data in their transactional operations. In the process of enterprise operation: With the order, sales records, these transactional data is also continuously generated. In order to introduce data, we must optimize the transactional database.
When working with decision-support data, some questions are often raised: which type of product does the customer buy? How much will the sales change after the sale? How much will the sales change after the price changes or when the store's address changes? What kind of products are particularly easy to sell for a certain period of time relative to other products? Which customers have increased their purchase amount? Which customers have cut back on their purchase amount?
Transactional databases can answer these questions, but the answers they give are often not very satisfying. There is often competition in the use of limited computer resources. We need the transactional database to be idle when adding new information. When answering a series of specific questions about information analysis, the effectiveness of the system in processing new data is greatly reduced. Another problem is that transactional data is always in the midst of dynamic change. Decision-support processing requires relatively stable data, so that the problem can be consistently and continuously answered.
The solution of Data Warehouse includes: Separating decision-support data processing from transactional data processing. Data is imported from a transactional database into a decision-supporting database-both "data warehouses"-in a certain cycle (usually nightly or weekly). Data Warehouse is the most effective way to organize data by "subject" according to the question of answering enterprise.
In addition, the daily operation of the enterprise information system is generally composed of a number of traditional systems, incompatible data sources, databases and applications together constitute a complex collection of data, the parts can not communicate with each other. From this point of view: The current operating system is the user has spent a lot of energy and financial resources to build, irreplaceable system, especially the system data. The purpose of the data Warehouse is to organize and unify the data of these different sources, so as to achieve the consistency and integration of data, and provide a comprehensive, single-entry solution. This reminds me of the idea of SOA, but the former is a data-level integration optimization, and the latter is the integration optimization at the application service level.
Q3: What is the general structure of the Data Warehouse?
1. Architecture:
(1) The data source is the basis of the Data Warehouse system, and is the data source of the whole system, which usually includes the internal information and external information of the enterprise.
(2) The storage and management of data is the core of the whole data Warehouse system. Data warehouses can be divided into enterprise-level data warehouses and departmental data warehouses (often referred to as data marts) in terms of data coverage.
(3) OLAP (on Line Analytical Processing) servers effectively integrate the data needed for analysis, organized by multidimensional models for multi-angle, multi-layered analysis, and to uncover trends.
(4) Front-end tools include a variety of reporting tools, query tools, data analysis tools, data mining tools and a variety of data warehousing or data Mart application development tools.
2. Fact tables and dimension tables
Fact tables and dimension tables are the two basic concepts in multidimensional models.
A fact table is a major data item for data analysis, typically a business or an event within an enterprise. Facts in the fact table generally have data characteristics and additive, the fact table can store different granularity of data, the same topic in the different granularity of data is generally stored in a different fact table.
A dimension table contains generally descriptive textual information that becomes a condition for the fact table. The dimension attribute in the dimension table should be specific and explicit, which can become the constraint condition of analytic query, which is a different point of data warehouse and operation application in data model design. The number of levels in the dimension table hierarchy depends on the granularity of the query. In a real business environment, multidimensional data models typically contain 4~15 dimensions, and more dimensions or fewer dimensions are generally rare. In the specific work, the designer must be based on the actual situation of enterprises to determine the corresponding dimensions.
In the multidimensional model, the main code of the fact table is the combination code, the main code of the dimension table is a simple code, and the various components corresponding to the main code of the dimension table in the fact table are external codes. The fact table is connected with the dimension table by the outer code value corresponding to each dimension. This correspondence between the fact table and the dimension table is queried.
3. Data organization structure:
Star-shaped model
Multidimensional data modeling organizes data in an intuitive way and supports high-performance data access. Each multidimensional data model is represented by multiple multidimensional data patterns, and each multidimensional data pattern consists of a fact table and a set of dimension tables. The most common form of multidimensional models is the star pattern. In star mode, the fact table is centered, and multiple dimension tables are radiated in their four weeks and connected to the fact table.
The entity in the Star Center is the indicator entity, which is the center of the basic entity and query activity that the user is most concerned about, and provides quantitative data for the query activity of the Data Warehouse. Each indicator entity represents a series of related facts and completes a specified function. The entity on the star corner of the star is a dimension entity that restricts the scope of access by restricting the user's query results and filtering the data so that fewer rows are returned from the Indicator entity query. Each dimension table has its own attributes, and the dimension tables and fact tables are associated with keywords.
Snowflake model
The snowflake model is an extension of the star model, and each dimension can be connected outward to more than one detail category table. In this
Mode. Dimension tables are connected to the fact table in addition to the dimension table function in the Star model
A detailed description of the list of the foreign fine categories. The detailed category table provides a detailed description of the fact table on the relevant dimension, and achieves
The purpose of reducing the fact table and improving the query efficiency.
Q4: How to design and build a data warehouse?
Nine steps to designing a data Warehouse
1) Select the appropriate topic (the area to solve the problem)
2) clearly define the fact table
3) Identify and confirm dimensions
4) Choosing the facts
5) calculate and store the derived data segments in the fact table
6) Rounding out the dimension tables
7) Choosing the duration of the database
8) The need to track slowly changing dimensions
9) Determine the query priority and query mode.
Technically,
Hardware platform: The hard disk capacity of the Data warehouse is typically 2-3 times the capacity of the database drive. Mainframes typically have more reliable performance and stability and are easily integrated with legacy systems, while PC servers or UNIX servers are more flexible, easy to operate and provide the ability to dynamically generate query requests for queries. What to consider when choosing a hardware platform: Does it provide parallel I/O throughput? What is the ability to support multiple CPUs?
Data Warehouse DBMS: his ability to store large amounts of data, query performance, and support for parallel processing.
Network structure: the implementation of data warehouse in that part of the network segment will generate a lot of data communication, need not to improve the network structure.
Implementation on
Steps to build a data warehouse
1) collection and analysis of business requirements
2) Establish the physical design of data model and data Warehouse
3) define the data source
4) Select Data Warehouse technology and platform
5) Extract, transform, and load data from the operational database to the Data Warehouse
6) Select access and reporting tools
7) Select database connection software
8) Select data analysis and data display software
9) Update the Data Warehouse
Data extraction, cleanup, transformation, and porting
1) Data Conversion tool to be able to read data from a variety of different data sources.
2) Support flat files, index files, and Legacydbms.
3) can integrate data with different types of data sources for input.
4) A standard data access interface
5) It is best to have the ability to read data from a data dictionary
6) The code generated by the tool must be maintainable in the development environment
7) can only extract the data that satisfies the specified conditions, and the specified part of the source data
8) Ability to perform data type conversions and character set conversions in extraction
9) Generate derived fields can be calculated during the extraction process
10) enables the Data Warehouse management system to be automatically called to perform periodic data extraction or to generate flat files for the results
11) must carefully evaluate the vitality and product support capability of the software supplier
Q5: What is Data mining?
Data Mining is the process of extracting information and knowledge which is hidden in the unknown, but is potentially useful, from a large number of incomplete, noisy, fuzzy and random practical application data.
Data mining is a cross-disciplinary, it puts people's application of data from the low-level simple query, to the mining of knowledge from the data, to provide decision-making support. Under the traction of this kind of demand, researchers in different fields, especially the database technology, artificial intelligence technology, mathematical statistics, visualization technology, parallel computing and other scholars and engineering and technical personnel, devote themselves to the new research field of data mining and form the hot spot of technology.
Q6: How to do data mining?
1. Identify the business object
Clearly define business problems, and realize that data mining is an important step to data mining. The final structure of the excavation is unpredictable, but the problem to be explored should be predictable, and data mining for data mining is blind and will not be successful.
2. Data preparation
1) Selection of data
Search all the internal and external data related to the business object and select the data that applies to the data mining application.
2) Preprocessing of data
Study the quality of the data to prepare for further analysis. and determine the type of mining operation that will be made.
3) Conversion of data
Transform the data into an analytic model. This analysis model is based on the mining algorithm. The key to the success of data mining is to establish an analytic model that is really suitable for mining algorithm.
3. Data Mining
The resulting transformed data is mined. In addition to perfecting the selection of the appropriate mining algorithm, all the rest of the work can be done automatically.
4. Results analysis
Interpret and evaluate the results. The analytical methods used are generally used for data mining operations, often using visualization techniques.
5. Assimilation of knowledge
Integrate the knowledge gained in the analysis into the organizational structure of the business information system.
Q7: What is the relationship between data warehousing and data mining?
The relationship between data warehouse and data mining is an important part of Data Warehouse system, which has both connection and difference.
Contact is:
(1) The Data Warehouse provides a better and more extensive data source for data mining.
(2) The Data Warehouse provides a new support platform for data mining.
(3) The Data Warehouse is convenient for better use of the data mining tool.
(4) Data mining provides better decision support for Data Warehouse.
(5) Data mining provides higher requirements for data organization of Data Warehouse.
(6) Data Mining also provides a wide range of technical support for data Warehouse.
The difference is:
(1) Data Warehouse is a kind of data storage and data organization technology, providing data source.
(2) Data mining is a kind of data analysis technology, which can be used to analyze data in Data Warehouse.
Q8: The application and practical significance of data warehouse and data mining in some commercial fields
1) Sale of goods. The business sector's view of data as a competitive asset may be more important than any other sector, which requires a large marketing database to evolve into a data mining system. Colafort (Kraft) food Company (KGF) is one of the companies that applied the marketing database, and the company collects a list of 30 million users of its merchandise, which is (KGF) obtained through various promotional means. KGF regularly sends these users coupons for branded products that describe the performance and use of new products. The company realizes that the more users know about its products, the more opportunities to buy and use the goods, and the better the company's business.
2) manufacture. Many companies not only use decision support systems to support marketing campaigns, but, as the market becomes more competitive, these companies have used decision support systems to monitor the manufacturing process, with manufacturers claiming to have instructed their offices to reduce manufacturing costs by 25% per year over a three-year period. It goes without saying that the manufacturer often collects the parts suppliers. Because, they must also follow the manufacturer's strategy of reducing costs. In order to meet the challenges from all sides, the manufacturer has a "cost" decision support system that can monitor the cost of components provided by each supplier to achieve the set price targets, which need to collect information on product costs for each vendor for a year in a row, In order to determine whether such an organizational approach could meet the previously established strategic objective of reducing prices.
3) Financial Services/credit cards. General Motors has already adopted a credit card--GM card, which already has 12 million customers with credit cards in the company's database. By observing, the company can understand what kind of cars they are driving, what cars they plan to buy and what kind of vehicles they like. For example, a customer who holds a credit card says it is interested in a truck and the company can send an e-mail to the trucking Department and tell the relevant department about the customer's information.
4) remote communication. Many large telecommunications companies have suddenly discovered that they are under a lot of competitive pressure, which did not exist a few years ago. In the past, there was no need for them to keep a close eye on market movements because there was a limited selection of customers, but the situation has changed a lot lately. Companies are currently actively collecting a large number of customer information, to their existing customers to provide new services, open up new business projects to expand their market size. From these new services, the company will be able to achieve greater benefits in the short term.
Learning notes-data warehousing and data mining