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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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