Skip to main content

Questions tagged [best-practices]

Best practices are generally and informally recognized as the methods and processes that have been shown over time to be superior to those achieved by other means.

-1 votes
1 answer
93 views

I don't have any particular problem in mind, I am just looking for the best practices. I am creating a bank database. Nothing too important or involving real money, nevertheless, I think it would be ...
phy0072's user avatar
2 votes
1 answer
883 views

Prior to SQL Server 2016, partitioning columnstore indexes was considered pretty much mandatory because the locks taken on them during inserts/updates/deletes were extreme. However, as of SQL Server ...
J. Mini's user avatar
  • 1,342
3 votes
2 answers
614 views

On Enterprise Edition and Development edition, database integrity checks (e.g. DBCC CHECKDB) can run in parallel. According to best practice, backups should be tested regularly. So if I'm following ...
J. Mini's user avatar
  • 1,342
-1 votes
1 answer
110 views

I am designing my first database for a mobile application, which is also planned to be developed into a web application. The photo shows the part responsible for user authentication and information ...
GetReady's user avatar
0 votes
0 answers
137 views

I'll be pushing data from an Amazon Aurora db to a Redshift data warehouse. The painful part is that the transformation portion of the ETL workflow relies heavily on business logic, that lives within ...
mstrom's user avatar
  • 143
11 votes
6 answers
3k views

The table looks like this, it's SCD type 2: +-----------+------------------+------------------------+ | id (text) | version (serial) | created_at (timestamp) | +-----------+------------------+---------...
Henry's user avatar
  • 213
2 votes
2 answers
117 views

MySQL serves as our primary database, while MongoDB is employed for handling intensive write operations. I have been tasked with implementing a system for tracking visits and likes on products. The ...
BooRuleDie's user avatar
1 vote
1 answer
65 views

Part I I have a database model with members and organizations with each organization has many members, so it is clear that is a one-to-many relationship. The difficulty is that among those members ...
AmineBinOthman's user avatar
2 votes
3 answers
114 views

On the database there is this table: products: id name type 1 product 1 1 2 product 2 2 3 product 3 2 4 product 4 1 5 product 5 1 6 product 6 1 7 product 7 2 the select to extract them is: select * ...
gotali4396's user avatar
-3 votes
1 answer
63 views

I am looking for basic file shrinking / growing training for SQL Server. I see a number of similar questions as I post this - will read those answers now
Debbie S's user avatar
1 vote
1 answer
305 views

I have a Posts table and want to be able to have comments that are full fledged Posts in their own right. So instead of creating a Comments table I was thinking of adding a parent_id column to the ...
micahblu's user avatar
  • 113
2 votes
1 answer
2k views

We have a PostgreSQL 14 database where we store products fetched from online platforms. We have scrapers that are run on schedule which fetch products, and this data is then either inserted if the ...
Nuxurious's user avatar
2 votes
2 answers
767 views

I have a greenfield project involving a SQL database that is under development. There is no production data involved yet. There is a rather long list of specifications which I expect can be ...
alx9r's user avatar
  • 449
-3 votes
1 answer
124 views

Say I am designing a data model for a company with multiple 'actors', at the least employees and customers, but perhaps many more. There's likely some common core for this like name, address, phone/...
Rusi's user avatar
  • 95
2 votes
1 answer
296 views

I am in the need to query a relation between an entity called article (it's a product sold in a shop) and it's characterstics (a set of attributes). The result will always presented in a paged manner (...
Skary's user avatar
  • 368

15 30 50 per page
1
2 3 4 5
26