sqlcheck automatically detects common SQL anti-patterns. Such anti-patterns often slow down queries. Addressing them will, therefore, help accelerate queries. Storing a list of IDs as a VARCHAR/TEXT column can cause performance and data integrity problems. Querying against such a column would require using pattern-matching expressions. It is awkward and costly to join a comma-separated list to matching rows. This will make it harder to validate IDs. Think about what is the greatest number of entries this list must support? Instead of using a multi-valued attribute, consider storing it in a separate table, so that each individual value of that attribute occupies a separate row. Such an intersection table implements a many-to-many relationship between the two referenced tables. This will greatly simplify querying and validating the IDs.

Features

  • Logical Database Design Anti-Patterns
  • Physical Database Design Anti-Patterns
  • Query Anti-Patterns
  • Application Development Anti-Patterns
  • Imprecise Data Type
  • Eliminate Unnecessary DISTINCT Conditions

Project Samples

Project Activity

See All Activity >

Categories

Database

License

Apache License V2.0

Follow SQLCheck

SQLCheck Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SQLCheck!

Additional Project Details

Operating Systems

Windows

Programming Language

C++

Related Categories

C++ Database Software

Registered

2022-07-21