Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 261831
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T22:27:54+00:00 2026-05-11T22:27:54+00:00

Can a fact table have no keys at all? or if it can, is

  • 0

Can a fact table have no keys at all?
or
if it can, is it a good design? If a fact table do not have any dimensions, on what basis is it analyzed?

What if a fact table has primary key/s only and no foreign key/s?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T22:27:54+00:00Added an answer on May 11, 2026 at 10:27 pm

    Speaking inexactly, the foreign keys link you to the tables that break your fact table into categories and sub-categories.

    So if the fact table was

    create table stores (id, kindOfStore, sales)
    

    Then the kindOfStore would be your dimension- if that was it, then you could argue that a separate table for kindOfStore is overkill (except for the space wasted saying kind of store = “Food” instead of “Kind_id= 8”. If you have sub categories, it make sense to link to a diminsion table like

    create table kindOfStore (id, Variety, Specialization, Subspecialization) 
    

    It would be space inefficient space wise to store the Variety, Specialization and Subspecialization in the fact table.

    The resulting schema is star schema and data warehouses are optimized to deal with those schemas, although newer and faster data warehouse engines seem to be so fast that even a non-star schema is pretty fast.

    Datawarehouses denormalize (use fewer tables) the fact tables as compared to a OLTP database, but by no means does that mean that you should strive for a single table solution.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table called Users that has a column called deleted, a boolean
Okay, so I have this problem with my Fact Table. I need it to
I have this table: create table demo ( key number(10) not null, type varchar2(3)
I have a ssas cube with the fact table containing: FactID Status StartDate EndDate
Given a table of models 'A', that can have multiple child models 'B', of
I have a table, demo_fact in Oracle 11g and it has several virtual columns
I have a Fact Table with 10 measures. out of 10 measures 9 are
I have a table like this: create table SomeTable ( tableKey int identity(1,1) not
Previous investigation in Can I make a table of String + lambdas that have
Suppose I have a table nodes where I store a tree. Each node has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.