Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
2 replies
120 views

I’m designing a domain model where some entities evolve over time, and I need to keep a historical record of their state that can be retrieved later. A simplified example: A Credit Line represents a ...
0 votes
1 answer
412 views

The Structured ERM (SERM) is an extension of the ERM. There are two types of inheritance--how dependent entities/relationships inherit the primary key from the superior entity: "PK": For ...
0 votes
1 answer
42 views

I have a DynamoDB table defined as follows: Partition key: id (string) Sort key: ruleId (string) Example item: { "id": "123", "ruleId": "abc" } What I want is ...
-1 votes
3 answers
103 views

A business team is asking me to explain database design. I'm thinking of: what a RDBMS is. what a table is, what constraints are and why we need them. what a transaction is and what ACID properties ...
0 votes
2 answers
2k views

I am reading this post about arcs from data modeling. This example says: Arcs are a way to represent mutually exclusive relationships in the ERD. This arc represents the exclusive OR relationship – ...
2 votes
1 answer
47 views

I am developing web application using Gin and MongoDB. I have defined models for user like, type User struct { Id nftdb.ObjID `bson:"_id,omitempty"` Tenant string ...
1 vote
0 answers
48 views

I'm trying to build a bar chart in Power BI where the X-axis shows the following: A "PAST" bucket representing all data before today The next 12 months, displayed as 3-letter month names ...
-1 votes
2 answers
174 views

Is it normal / best practice to have multiple fact tables but only minimal dimension table(s). I am new to data modelling and trying to create the best / most efficient data model and it always seems ...
2 votes
0 answers
141 views

Say I have some simple struct, eg: struct SomeStruct { things: Vec<usize> recent_thing: Option<usize> } I'm trying to assert some invariant on this struct. For example, maybe we want ...
0 votes
2 answers
2k views

One universal data model author I am reading contends that in his experience, 50% of all enterprise systems are 'universal' in their need to deal with Parties, Work Efforts, etc, 25% is universal ...
0 votes
2 answers
569 views

I'm struggling finding the most efficient way to approach this DB design. This is for a client who wants to manage their contacts. The Software currently is Horizontal which allows each client to ...
0 votes
0 answers
23 views

I want to start picking up modern development so I’m looking at writing a simple web app for CRM / contact management. I’ve seen the likes of https://schema.org and also Microsoft’s Common Data Model, ...
0 votes
1 answer
88 views

For displaying the (daily-weekly-monthly-annual) total profits for the store's dashboard. I want to store the data in an array for each store to not have multiple docs for the same store but different ...
2 votes
3 answers
4k views

In DBT, whenever we deploy the models, the database name gets prefixed to each deployed model in the sql definition in database. I need to configure the dbt project in a way that it doesn't prefix ...
-1 votes
1 answer
114 views

Each appliance is classified as either: Kitchen appliances, Entertainment appliances, and it’s important to keep track of their type. Kitchen appliances and Entertainment appliances have details about ...
0 votes
1 answer
82 views

I'm usually quite good with Power BI, but weirdly stuck on this matrix, that I'm trying to create. I just can't seem to get the data in the right format to produce the below chart. Can anybody help? ...
0 votes
0 answers
41 views

I have 2 fact tables: FactSales and FactCharges. The sales is a header detail (order header and details) level of granularity (OrderDetId), whereas Charges are at the order header level of granularity ...
0 votes
1 answer
52 views

I have a simple question that it may be very easy for those Business Intelligence Architects, but I am struggling to find out the correct way. I have a fact-table with 2 or more potential date (let's ...
1 vote
1 answer
110 views

I need to manage a large dataset of approx 100.000 records per year over many years. The data is retrieved with SOAP connectors using custom query's. Each records has 'basic info' and 'historic info' ...
0 votes
1 answer
151 views

I’m working on a Proof of Concept (POC) to create a generic semantic data model using Tabular Editor that connects to multiple datasets for Power BI reports. The goal is to have one centralized ...
0 votes
1 answer
45 views

I am seeking help with a complex data modelling problem I am trying to solve. Was wondering if any kind soul with a good SQL expertise is able to help me. The question is: obtain the average number of ...
1 vote
1 answer
69 views

I am writing a world simulator for a turn-based game. The key feature is that there will be many NPCs with detailed psychology modelling, perhaps 20,000 - 30,000 of them. I want all NPCs to make their ...
0 votes
1 answer
92 views

I am writing a test project in the subject area "Password storage system". create table users ( login text primary key, access_token text, ...
-1 votes
1 answer
74 views

I have data model for a Kimball style data warehouse. Regarding the whole Star vs Snowflake schema conundrum when it comes to dimensional tables and their ownership. Scenario: A bunch of IoT Devices ...
0 votes
1 answer
178 views

I'm trying to implement a single table design in DynamoDB and I've seen recommendations to use prefixes for partition keys to identify entities. For example, a car's record might have a partition key ...

1
2 3 4 5
63