When creating a new data warehousing environment, there is much to consider. One of the most important elements to be aware of is the fact table. The fact table is one of the central tables within a data warehouse that uses a star schema. There are three main types of fact tables, each of which will store a different set of information to be analyzed and used as part of an overall business intelligence strategy.
When setting up a data warehouse, you will need to establish the fact tables used for organizing and accessing the data. In general, there are three main types of fact tables that most organizations will have set up:
Transactional – A transactional fact table is going to have one line for each piece of data associated with a transaction. This will usually have the most details, or grains, which means it will have the largest number of dimensions.
Periodic snapshots – A periodic snapshot fact table is where data is stored that is associated with a snapshot of an environment at a specific moment in time. This allows teams to access information that was originally part of the transactional fact table at a precise point in history.
Accumulating snapshots – An accumulating snapshot is used to track activity associated with a business process where there are set start and endpoints. An example of this could be producing a product where snapshots of the related data will be taken at each key point from the beginning of production through to when it is sold.
Each of these fact sheets has a clear type of data that is incorporated into them. When planning out the data integration for your company, it is important not only to ensure data is directed to the right fact table but also that all relevant data is accounted for. While some data sources are obvious, many others can go overlooked if not planned for in an overall enterprise data warehouse strategy. Failing to bring all data together in one place will make data mining and other activities more difficult in the future.
When creating a new data warehouse, most companies today choose to do it on the cloud. There are many data warehousing services (DWaaS) that offer cloud-based managed solutions for organizations of all types. While this type of technology will operate the same, whether on-prem or on the cloud, it is important to ensure that the fact tables and other aspects of the environment are properly configured.
When creating a fact table, you need to declare a grain, which describes exactly what a given record on the table represents. Based on what the grain is, establishing dimensions of the table is also important. An example of grain on a transactional fact table would be each item on an invoice: the customer name, address, delivery date, products or services provided, amount paid, and any other related data should each be represented by a grain on the table.
In the examples given, the dimensions of each grain would be established in a way to properly accommodate the data. The dimensions of a grain used to represent a name need to be sufficient to contain the longest potential names that would be included, for example. Once the fact table is properly established, data integration can begin.
Creating and maintaining a good data warehouse requires a great deal of work as well as a level of expertise that many organizations simply do not have. Trianz offers experienced data warehouse consulting services to help you plan, create, and support your entire data warehousing environment.
We have extensive experience helping companies across nearly every industry and are authorized consultants for every major cloud data warehousing services provider. We will work closely with you to determine your exact needs, set up the required fact table, and ensure everything is configured properly so you can begin using your data warehouse right away.
Contact Us Today
What Is an SQL Query Engine? SQL query engine architecture was designed to allow users to query a variety of data sources within a single query. While early SQL-based query engines such as Apache Hive allowed analysts to cut through the clutter of analytical data, they found running SQL analytics on multi-petabyte data warehouses to be a time-intensive process that was difficult to visualize and hard to scale.Explore
A Winning Base for Successful Digital Transformations When it comes to developing a successful digital strategy, it is not just corporations planning to maximize the benefits of data assets and technology-focused initiatives. The Government of Western Australia recently unveiled four key priorities for digital reform in its new Digital Strategy for 2021-2025.Explore
Engage Your Workforce with a Modern Employee Intranet Solution The employee intranet has changed significantly since it was first introduced in the early 1990s. What started as HTML-based static portals have now evolved into intuitive communication tools complete with search engines, user profiles, blogs, event planners, and more. Today, many organizations are taking a second look at employee intranets to bridge gaps between teams, build company culture, centralize information, increase productivity, and improve workflow.Explore
Adopting emerging cloud technologies, consolidating resources, and improving processes is the key. “IT no longer just supports corporate operations as it traditionally has but is fully participating in business value delivery. Not only does this shift IT from a back-office role to the front of business, but it also changes the source of funding from an overhead expense that is maintained, monitored, and sometimes cut, to the thing that drives revenue,” said John-David Lovelock, research vice president at Gartner.Explore
Deliver Powerful Insights Instantaneously with Federated Queries - No Matter Where Your Data Resides The concept of federated queries isn’t new. Facebook PrestoDB popularized the idea of distributed structured query language (SQL) query engines in 2013. Over the years, AWS, Google, Microsoft, and many others in the industry have accelerated the adoption of a distributed query engine model within their products. For example, AWS developed Amazon Athena on top of the Presto code base, while Google’s BigQuery is based on Cloud SQL.Explore
What is Unstructured Data? Almost 80% of the data that enterprises and organizations collect is unstructured - data without a set record format or structure. Unstructured data includes data such as emails, web pages, PDFs, documents, customer feedback, in-app reviews, social media, video files, audio files, and images.Explore