on 06-05-2017 5:07 PM
Hi Experts,
We are reporting over a database which have no primary ke.
Will it be a good idea to create it in Data foundation?
What are the best practices?
That's a pretty broad question, so here's an equally broad answer....
PKs in the data foundation help the query engine build SQL correctly, particularly with complex models.
You can tag a column in IDT as being a PK even if it's not designated as such in the physical table. Conversely, a physical table can have a PK and not be tagged as such in the data foundation.
It's a good idea to identify PKs if they exist. but not absolutely necessary for a universe to function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Best Practice is to use keys for optimization.
check out Index awareness techniques here:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.