Dimension Tables

Dimension tables store descriptive attributes that provide context to the facts.

Dimension Table NameDescriptionIndices
ccdw_dim_business_channelCategorizes different business channels.business_channel_id, business_type,order_channel
ccdw_dim_campaignDescribes various marketing campaigns.campaign_id, ncampaign_id
ccdw_dim_couponProvides details about coupons.coupon_id, ncoupon_id
ccdw_dim_currencyProvides details about various currencies. Each row represents an ISO 4217 currency.currency_id, alpha_code
ccdw_dim_customerContains detailed information about customers.customer_id, ncustomer_id
ccdw_dim_dateContains various attributes related to dates, providing detailed temporal information. Each record represents a calendar date and its component parts (year, quarter, month, week, day).day_id, day_timestamp, week_id, week_timestamp, month_id, month_timestamp, quarter_id, quarter_timestamp, year_id, year_timestamp, weekyear_id, weekyear_timestamp, year_of_era,month_of_year,day_of_month
ccdw_dim_geographyProvides geographical information, particularly for regions and countries. Each region rolls up to a country.geography_id, iso3166_alpha_code, country_code
ccdw_dim_localeStores information about different locales, such as language and country settings.locale_id, locale_code
ccdw_dim_locationRepresents individual physical locations, likely for inventory or shipping.location_id, nlocation_id
ccdw_dim_location_groupGroups physical locations together.location_group_id, nlocation_group_id
ccdw_dim_payment_methodLists available payment methods.payment_method_id, npayment_method_id
ccdw_dim_productContains detailed information about products and SKUs. Each SKU rolls up to a product.sku_id, nsku_id, product_id, nproduct_id
ccdw_dim_promotionDescribes various promotions.promotion_id, npromotion_id
ccdw_dim_siteStores information about different e-commerce sites or storefronts.site_id, nsite_id,nrealm_id
ccdw_dim_source_code_groupCategorizes source code groups, often used for tracking marketing channels.source_code_group_id, nsource_code_group_id
ccdw_dim_timeContains various attributes related to time, providing detailed temporal information within a day. Each row represents a minute of a clock.time_id, minute_of_day, hour_of_day
ccdw_dim_timezoneContains information about different time zones.timezone_id, ntimezone_id
ccdw_dim_user_agentStores details about user agents, which describe the client software making a request.user_agent_id, nuser_agent_id, ua_family_code, ua_class_code, ua_family_vendor_code, crawler_category_code, os_family_code, os_family_vendor_code, device_class_code, device_brand_code