Skip to main content

New answers tagged

Best practices
0 votes
0 replies
0 views

How do I scale a notification + activity log system without hardcoding action types and categories everywhere?

Ask 1 (specific researched non-duplicate) question. https://stackoverflow.com/tour https://stackoverflow.com/help/how-to-ask https://stackoverflow.com/help
philipxy's user avatar
  • 15.2k
Best practices
0 votes
0 replies
0 views

Does an alias table need a primary key? Is the key just a composite of all the columns?

I went with your suggestion of "A combined unique key on game id + game name". And FYI unfortunately names can be repeated. Some examples include "Wizard" and "Samurai".
Philip H's user avatar
  • 420
Best practices
1 vote
0 replies
0 views

Does an alias table need a primary key? Is the key just a composite of all the columns?

A combined unique key on game id + game name would make sense, if you want to prevent that you insert the same data twice. If the game ID for "The Settlers of Catan" is 37, and you already ...
C3roe's user avatar
  • 98.1k
Best practices
0 votes
0 replies
0 views

Does an alias table need a primary key? Is the key just a composite of all the columns?

Thanks but, while I know that making a primary key using both columns is considered best practice, I'm just not sure why. For my other tables, I can see the primary key helps with joins or quick ...
Philip H's user avatar
  • 420
Best practices
0 votes
0 replies
0 views

Does an alias table need a primary key? Is the key just a composite of all the columns?

site:stackoverflow.com how to decide on primary key
philipxy's user avatar
  • 15.2k
Best practices
0 votes
0 replies
0 views

How to pass very large ID sets (500K–5M) to ClickHouse queries using clickhouse-cs (.NET)? any industry guidlines?

This site uses English please.
philipxy's user avatar
  • 15.2k
Best practices
0 votes
0 replies
0 views

How to pass very large ID sets (500K–5M) to ClickHouse queries using clickhouse-cs (.NET)? any industry guidlines?

best approach store your 5M ids in Log or ReplicatedMergeTree table in all servers then use id IN (SELECT id FROM ids_table) 5M ids is not so much, and if you use http+gzip encoding it could be 5-15M ...
Slach's user avatar
  • 2,718
Best practices
0 votes
0 replies
0 views

Best practices for designing a GridDB schema for IoT time-series sensor data

Nothing in the absurd discussions functionality changes what "a" question is. It allows a larger range of questions. I have made no mistake. PS Re magic links: Yeah I keep thinking this is ...
philipxy's user avatar
  • 15.2k
Best practices
0 votes
0 replies
0 views

Best practices for designing a GridDB schema for IoT time-series sensor data

Actually @PhilipXY this is one of the new "discussion" questions (this one is a "Best Practises") and as such does not need to ask a single specific question like a regular Q&A ...
Dale K's user avatar
  • 28.3k
Best practices
0 votes
0 replies
0 views

Best practices for designing a GridDB schema for IoT time-series sensor data

Ask 1 (specific researched non-duplicate) question. https://stackoverflow.com/tour https://stackoverflow.com/help/how-to-ask https://stackoverflow.com/help How much research effort is expected of ...
philipxy's user avatar
  • 15.2k
Best practices
0 votes
0 replies
0 views

What should the data structure of a help system for a dashboard web app look like?

You seem to have two columns in the tourinfo table that seem to store multiple data points as column value. You should normalise those columns. Besides these, it is pretty difficult to comment on a ...
Shadow's user avatar
  • 34.6k
Best practices
0 votes
0 replies
0 views

What should the data structure of a help system for a dashboard web app look like?

I would use these tables as a starting point: tooltips id, page_id, title, content, selector, position, etc. tours id, title, etc. tour_tooltips id, tour_id, tooltip_id, index_order This allows for ...
IT goldman's user avatar
  • 20.4k

Top 50 recent answers are included