Best of DatabaseMarch 2024

  1. 1
    Video
    Avatar of communityCommunity Picks·2y

    Stop using COUNT(id) to count rows

    Counting rows using COUNT(*) in MySQL is not slow as often believed. It is actually optimized to be the fastest way to count rows.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    The Faster Redis Alternative

    KeyDB is a fully open source database and a faster drop-in alternative to Redis. It offers high throughput, supports various data structures, has multiple persistence options, and is scalable to any workload. KeyDB also has open source features such as MVCC non-blocking architecture, cross-region multi-master support, better EXPIRation, TLS encryption, and ModJS for creating custom commands.

  3. 3
    Article
    Avatar of hnHacker News·2y

    teableio/teable: ✨ A Super fast, Real-time, Professional, Developer friendly, No code database

    Teable is a super fast, real-time, professional, developer-friendly, no-code database built on Postgres. It offers a simple, spreadsheet-like interface, supports various data views, and integrates with popular software tools. It aims to meet the evolving demands of modern software development.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    10 Cool SQL Optimisations That do not Depend on the Cost Model

    The post evaluates 10 SQL optimizations that do not depend on the cost model. It discusses the applications and support for transitive closure, removing 'silly' predicates, JOIN elimination, provably empty sets, and more.

  5. 5
    Article
    Avatar of bytebytegoByteByteGo·2y

    How Uber Uses Integrated Redis Cache to Serve 40M Reads/Second?

    Uber uses an integrated Redis cache called CacheFront to serve 40M reads per second. It helps overcome challenges with low latency database reads and provides scalability, reduced load, and cost savings.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Learn SQL for Free

    Learn SQL for free and unlock the power of data with SQL basics. This comprehensive tutorial will equip you with the fundamental SQL skills needed to thrive in today's data-driven world.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    Astro Studio - first impression

    Astro Studio is a database tool with features like scalability, Astro integration, and schema management.

  8. 8
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    I Suck At SQL, Now My DB Tells Me How To Fix It

    Planet Scale introduces schema recommendations, a new feature that helps improve database performance by providing tailored recommendations based on production database traffic. The recommendations include adding indexes for inefficient queries, removing redundant indexes, preventing primary key ID exhaustion, and dropping unused tables.

  9. 9
    Article
    Avatar of devtoDEV·2y

    What Are the Top Database Optimization Techniques?

    Discover effective database optimization techniques for improving performance and learn how to implement them in your projects.

  10. 10
    Article
    Avatar of vladmihalceaVlad Mihalcea·2y

    PostgreSQL Index Types

    This post explores PostgreSQL index types, including B+Tree, Hash, and GIN indexes. It discusses the benefits of using B+Tree indexes for filtering, range scans, and sorting. It explains how Hash indexes are useful for equality checks and saving space. It also explains how GIN indexes can speed up JSON-specific operations. The post concludes by mentioning other index types available in PostgreSQL.

  11. 11
    Video
    Avatar of communityCommunity Picks·2y

    Prisma in 100 Seconds

    Prisma is an open source tool that provides a modern and safe way to work with databases. It allows you to write a schema to express your data and relationships, performs typesafe CRUD operations, handles migrations, and offers a convenient way to view and manage your data in the browser.

  12. 12
    Article
    Avatar of planetscalePlanetScale·2y

    The problem with using a UUID primary key in MySQL

    Learn about the downsides of using UUIDs as a primary key in your MySQL database, including insert performance and higher storage utilization. Discover best practices for minimizing the negative impacts and explore alternative ID types.

  13. 13
    Article
    Avatar of mwaseemzakirWaseem .NET Newsletter·2y

    EP 53 : 8 Tips To Improve EF Core Performance

    Tips to improve EF Core performance include using projections, async methods, compiled queries, avoiding non-cancellable queries, using database context pool, using IQueryable for multiple filters, using AsNoTracking for read-only operations, and implementing pagination.

  14. 14
    Article
    Avatar of gcgitconnected·2y

    SQL Series: Preparing a Database Step by Step

    This post discusses the process of preparing a database step by step for SQL learning, using a dataset related to sanitary inspections on cruise ships. It provides an overview of the dataset, instructions for creating a schema in MySQL Workbench, and guidance on loading data into the database.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    Exploring Supabase, the Open Source Backend for Developers

    Explore Supabase, an open source backend for developers with features like managed Postgres database, user authentication, real-time updates, file storage, and intuitive API & console. Compare it with proprietary solutions. Supabase offers transparency, customization, and clear pricing guidelines.

  16. 16
    Article
    Avatar of communityCommunity Picks·2y

    How to Detect Cache Misses Using Observability

    Learn about caching, cache misses, and how to implement caching in Spring Boot. Discover the benefits of caching and how it can improve performance, reliability, and user experience. Use Digma to detect cache misses during development.

  17. 17
    Article
    Avatar of milanjovanovicMilan Jovanović·2y

    Implementing Soft Delete With EF Core

    Learn how to implement soft deletes using EF Core. Soft deletes allow for the marking of records as deleted without actually removing them from the database. Interceptors and global query filters are used to handle soft-deleted data, and filtered indexes can improve query performance.

  18. 18
    Article
    Avatar of logrocketLogRocket·2y

    Prisma ORM adoption guide: Overview, examples, and alternatives

    Prisma is an open source ORM for Node.js and Typescript that simplifies database access and management. It provides a type-safe query builder and auto-generator. Prisma is compatible with several frontend technologies and offers features like automated migrations, type safety, and a great developer experience.

  19. 19
    Article
    Avatar of supabaseSupabase·2y

    PostgREST Aggregate Functions

    PostgREST v12 has released aggregate functions, which allow users to summarize data by performing calculations across groups of rows. These functions can be used directly through the PostgREST API, making data manipulation easier. Users can also use aggregate functions in conjunction with embedded resources to perform complex calculations. However, it is important to use aggregate functions safely to prevent potential performance issues.

  20. 20
    Article
    Avatar of newstackThe New Stack·2y

    How to Write SQL Queries

    SQL is a declarative language used for querying, analyzing, and manipulating data. It uses different elements like SELECT, FROM, JOIN, WHERE, GROUP BY, HAVING, ORDER BY, OFFSET, and FETCH to retrieve and analyze data. SQL queries can be used to join tables, filter rows, aggregate data, and sort results. The GROUP BY clause is used to group rows with common values and the HAVING clause is used to filter the grouped rows based on a condition.

  21. 21
    Article
    Avatar of kdnuggetsKDnuggets·2y

    Boost Your Data Science Skills: The Essential SQL Certifications You Need

    Learn about essential SQL certifications for data scientists to boost their skills and improve job prospects.

  22. 22
    Article
    Avatar of robinwieruchRobin Wieruch·2y

    Seeding a Database with Prisma (TypeScript)

    A tutorial on how to seed a database with Prisma in a TypeScript application.

  23. 23
    Article
    Avatar of codemazeCode Maze·2y

    Execute the SELECT WHERE NOT EXIST SQL Query Using LINQ

    This article explains how to execute the SELECT WHERE NOT EXISTS SQL query using LINQ in C#. It covers different methods, such as using the Any method, the Join method for Left Anti-Join, and the Contains method. The article also includes a benchmark comparison of these methods.

  24. 24
    Article
    Avatar of communityCommunity Picks·2y

    How Amazon Scaled E-commerce Shopping Cart Data Infrastructure

    Learn how Amazon scaled their e-commerce shopping cart data infrastructure by addressing write scalability, ensuring data durability, and resolving data conflicts.