database

DEV Community
Jedidah Ondiso
1h ago

In Power BI, joins are primarily used in Power Query (during the "Merge Queries" step) to combine data from two separate tables based on a common column or relationship. Power BI supports six main types of joins, each serving a specific data combination need: 1. Left Outer Join This is the most common join. It keeps all rows from the first (left) table and adds matching data from the second (righ…

computer-sciencedatabases
DEV Community

Developers inheriting sprawling SQL codebases or revisiting queries from weeks earlier know the frustration: a dense, unformatted block that obscures joins, filters, and logical flow. Readable SQL isn’t cosmetic — it directly affects debugging speed, peer review accuracy, and long-term maintainability. What it is SQL Formatter restructures raw SQL into clear, conventionally formatted code, runnin…

computer-sciencedatabases
DEV Community

If you've ever tried converting a MySQL database to PostgreSQL (or the reverse), you've probably run into tools that do text replacement on your SQL dump. They work fine — until they don't. Where regex converters fail The edge cases pile up fast: Zero dates ( 0000-00-00 ) — PostgreSQL rejects them outright AUTO_INCREMENT — needs to become a proper sequence with the counter set to the right value …

computer-sciencedatabasesprogramming-languages
DEV Community

If you missed the recent deprecation notice for Cloud-Scaled Analytics in the Cloud Adoption Framework, including the deprecation of Data Landing Zones, then this might be the post for you. Azure Data Platforms are fading away, making way for Fabric and Databricks to become the frontrunners for building data platforms in Microsoft's data and analytics ecosystem. This isn't groundbreaking news, as…

computer-sciencedatabases
DEV Community

Manticore Search 27.1.5 has been released. This release brings built-in authentication and authorization, sharded tables, conversational search, faster HNSW builds, better faceting and aggregations, and a long list of fixes across KNN, replication, protocol compatibility and other areas. This post is a catch-up for everything shipped from 25.0.1 through 27.1.5 . Upgrade Notes Please review these …

computer-sciencedatabases
DEV Community

1. Introduction Django's ORM is one of its greatest strengths. It abstracts away raw SQL, lets you express database operations in clean Python, and gets you productive fast. But that convenience comes with a hidden cost: if you're not deliberate about how you fetch related objects, you'll silently generate far more queries than you intend — and you won't notice until your app slows to a crawl in …

computer-sciencedatabases
DEV Community

The Only DBMS & SQL Cheat Sheet You Need for Tech Interviews in 2026 Whether you're a CS student preparing for campus placements or a working professional switching to a product company — DBMS and SQL questions will show up in your interview. Every time. The problem? Most resources are either 500-page textbooks or scattered blog posts that take hours to piece together. This article covers every D…

computer-sciencedatabases
DEV Community

Introduction To master Power BI, you need to understand how data is structured, connected, and stored. Here is a comprehensive, structured guide to Modelling, Joins, Relationships , and Schemas in Power BI. Data Modeling in Power BI Data modeling is the process of identifying, organizing and defining the types of data a business collects and the relationships between them. It uses diagrams, symbo…

computer-sciencedatabases
DEV Community

We opened Chapter 1 with a single line, SELECT * FROM users WHERE id = 1 . For that line to leave the client and come back as a result row, the PostgreSQL backend went through five stages. First it decided which processing path the message should take; then the parser and analyzer turned the text into a tree and gave it meaning from the catalog. The rewriter expanded views and injected policies t…

computer-sciencedatabases
DEV Community

A scan node sits at the leaf of the tree and pulls rows from a single table. A join node sits in the middle and brings together the rows that its two children send up. It takes one row from users , one row from orders , checks whether they belong to the same user, and if they match, emits the combined row. PostgreSQL has three nodes for this one job: NestLoop, HashJoin, and MergeJoin. The reason …

computer-sciencedatabases
DEV Community

By the time 1.4 ends, the planner has produced one PlannedStmt. Inside it is an execution tree built from Plan nodes, frozen into a form you can follow step by step, something like "go into the primary key index on users, fetch the one matching row, then output that whole row." But that is still only a blueprint. Reading actual pages off disk, picking out the rows that match the condition, handin…

computer-sciencedatabases
DEV Community

In the earlier posts of this series, we looked at practical query tuning tips and how to read and interpret query plans . A recurring theme in both was: "add an index here." But "add an index" is a bit like saying "use the right tool" — the interesting part is which one. PostgreSQL ships with several index types, each tuned for a different kind of data and query. Picking the wrong one means Postg…

computer-sciencedatabases
DEV Community

A ~6 minute read — just three concepts that, once you know them, change how you reason about DNS inside a cluster. While chasing some DNS timeouts recently, I went down a rabbit hole and came out with three concepts I wish I'd known earlier. None of them is exotic, but together they explain a surprising amount of "why is DNS being weird" behaviour on Kubernetes-on-AWS. ndots — why one hostname lo…

computer-sciencedatabases
DEV Community

Your Serverless Is Lying To You About Scale! Introduction The promise of serverless computing is irresistible: infinite scalability, pay-per-use, and zero operational overhead. We've eagerly embraced platforms like AWS Lambda, Google Cloud Run, and Azure Container Apps, pushing them to scale horizontally with unprecedented agility. Yet, a recent surge in backend outages tells a different story. T…

cloud-computingcomputer-sciencedatabases
DEV Community

Someone sends you a CSV. Then a folder of CSVs. Then a CSV that's actually tab-separated but named .csv , with a stray header row and a column that's a number on most rows and the string N/A on the rest. For years my answer to "can you pull a quick number out of this?" was a throwaway Python script. Read it in, fight pandas about dtypes, groupby , print, delete the script, forget everything, repe…

computer-sciencedatabases
DEV Community

DNS Is an Indirection Layer, Not a Lookup Table The "phonebook" metaphor everyone reaches for is actively misleading — and worse, it frames DNS as solved infrastructure when it's anything but. A phonebook is a static mapping. You look up a name, you get a number, done. DNS is something fundamentally different: a decoupling mechanism that separates stable human-readable identifiers from the volati…

computer-sciencedatabases
DEV Community

What i was learning Today i started learning PostgreSQL , the objective was to create a mental model to build a strong foundation and potentially a smooth learning curve for PostgreSQL . What confused me Coming from SQLite, confusion was inevitable.The initial assumption was that PostgreSQL would be smooth, that perhaps all i needed to do was change the app configuration from SQLite to PostgreSQL…

computer-sciencedatabases
DEV Community

Originally published on lavkesh.com I've hit walls with traditional SQL databases while building web applications. Evolving schemas become nightmarish migration scripts, and unstructured data doesn't fit neatly into rows and columns. That's where NoSQL databases come in - they don't replace SQL but solve specific problems. The term 'NoSQL' stands for 'Not Only SQL,' which is a vague name. It cove…

computer-sciencedatabases
DEV Community

Data Modeling, Joins, Relationships, and Different Schemas Introduction In today's data-driven world, organizations generate massive amounts of data from various sources such as websites, mobile applications, financial systems, customer transactions, and social media platforms. To transform this raw data into meaningful information, organizations rely on effective data management techniques. Data…

computer-sciencedatabases
DEV Community

DuckDB 1.4.5 LTS, pgEdge ColdFront Beta, and SQLite's FCNTL_PDB Internals Today's Highlights This week's highlights feature the latest DuckDB 1.4.5 LTS release, a new open-source beta for PostgreSQL data tiering, and a deep dive into an obscure SQLite internal file control operation. These updates offer performance, architectural flexibility, and internal insights across the SQLite ecosystem. Ann…

computer-sciencedatabases
research.ioresearch.io

Sign up to keep scrolling

Create your feed subscriptions, save articles, keep scrolling.

Already have an account?