Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Advice
0 votes
6 replies
77 views

I am a software developer and I’m starting to learn System Design and Pattern Recognition concepts. I want to understand: how to approach system design problems step by step. what fundamentals I ...
-1 votes
0 answers
20 views

I've heard a lot that UUID v7 is performing much better in databases, when using it as primary key, due to the nature of how B-tree works. We have a huge problem with current implementation of PK as ...
Advice
0 votes
2 replies
52 views

I am building a time series database in C++. Changes to record sets are restricted to appends. This is not a production system, rather for learning. The motivation and purpose for a WAL (write-ahead ...
1 vote
1 answer
80 views

Some part of a post has translations: CREATE TABLE "posts" ( "id" int4 NOT NULL, "title" varchar, PRIMARY KEY ("id") ); CREATE TABLE "...
Best practices
0 votes
4 replies
49 views

We're building a SaaS platform for which we need to design a data model which could accompany domain specific data. We don't know the structure of domain specific data. So these are the evaluated ...
Best practices
0 votes
5 replies
164 views

How do I design a scalable user badges system without creating many boolean columns? I'm building a badge system where users earn specific badges by completing certain tasks. Schema::create('...
Advice
0 votes
3 replies
43 views

My case study project inventory system tracks stock and updates stock after every sale of a FMCG (Fast-moving consumer goods) business. Since it is FMCG, they get stock by consignment and the database ...
Best practices
0 votes
2 replies
129 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 ...
Best practices
0 votes
5 replies
105 views

I'm developing a desktop application for gym management. One feature is a store for selling memberships and products. My client sometimes wants to sell something that is not in the inventory or ...
Best practices
1 vote
1 replies
105 views

Our team manages a SQL Server 2019 data warehouse that’s grown to over 10 TB. It currently uses a single database with multiple schemas (clinical, financial, hr, operations, staging, etc.). Our DBA is ...
Best practices
3 votes
1 replies
120 views

I am creating an E-Commerce app. It has Category and Product classes. Both have multilingual descriptions, so, tables with title, description, meta-*, etc. and unique key (id, language_id). To add ...
0 votes
1 answer
67 views

I’ve been working on a React/Firebase app for the past 10 months, and things have been smooth so far. Recently, I decided to do some refactoring. I switched from using user-generated fields as unique ...
3 votes
1 answer
146 views

I have two tables in Postgres with a parent/child relationship: CREATE TABLE table_a ( id SERIAL PRIMARY KEY, type TEXT NOT NULL, rundate DATE NOT NULL ); CREATE TABLE table_b ( id ...
1 vote
2 answers
70 views

We have entities Teacher and Student; there are two relationships between them, supervision and teaching: Supervision is one-to-many, but teaching is many-to-many, which is a problem. To fix it, I ...
Sim's user avatar
  • 19
0 votes
1 answer
84 views

I have these tables in my PostgreSQL database: CREATE TABLE companies ( id INT PRIMARY KEY, name VARCHAR(255) NOT NULL UNIQUE ); -- Employees belong to one company CREATE TABLE employees ( ...

15 30 50 per page
1
2 3 4 5
...
1614

AltStyle によって変換されたページ (->オリジナル) /