-
MY PROJECTS
-
Recent Posts
- SQL.How can you compare two nullable values safely, and how does IS DISTINCT FROM differ from <>?
- SQL.How are NULL values ordered by ORDER BY, how do defaults differ between databases, and how can you control their placement?
- SQL.How does NULL propagate through arithmetic expressions, and how can COALESCE and NULLIF help handle missing values and division by zero?
- SQL.How does NULL affect join conditions, and why can filtering the right-hand table in WHERE remove unmatched rows from a LEFT JOIN?
- SQL.How do GROUP BY and DISTINCT treat NULL values, even though NULL = NULL evaluates to UNKNOWN?
- SQL.How do aggregate functions handle NULL, and what is the difference between COUNT(*), COUNT(column), and COUNT(DISTINCT column)?
- SQL.How does NULL affect IN and NOT IN, and why can NOT EXISTS be a safer choice when a subquery returns nullable values?
- SQL.How do WHERE, HAVING, and CHECK constraints treat conditions that evaluate to UNKNOWN?
- SQL.Why do column = NULL and column <> NULL not work as expected, and when should you use IS NULL and IS NOT NULL?
- SQL.What is SQL’s three-valued logic (TRUE, FALSE, UNKNOWN), and how do AND, OR, and NOT behave with UNKNOWN?
- ChromeDevTools.Watch all failed requests
- SQL.What are domain types (or constraints on data types), and how do they help enforce data correctness?
- SQL.How does SQL handle comparisons between different data types (for example, string vs number), and why is this dangerous?
- SQL.What is the difference between DATE, TIME, TIMESTAMP, and TIMESTAMPTZ, and which one should be used for business events?
- SQL.How do numeric types like INTEGER, BIGINT, DECIMAL, and FLOAT differ in terms of precision and use cases?
- SQL.What problems can arise from implicit type casting in SQL, and how can it affect indexes?
- SQL.How does NULL differ from 0, an empty string, or FALSE in SQL?
- SQL.What is the difference between CHAR, VARCHAR, and TEXT, and when would you choose each?
- SQL.What is MVCC ?
- SQL.What is AutoVacuum Postgres ?
Categories
- Aptana
- Azure
- C#
- DataSnap
- DBExpress
- Delphi
- Delphi и сети
- Delphi. Язык программирования
- ExtJS
- FastReport
- FireDAC
- FireMonkey
- GIT
- ICS
- IDE
- IIS
- Indy
- InnoSetup
- javascript
- jQuery
- JSON
- LiveBindings
- MSHTML
- MySQL
- PHP
- REST
- Ribbons
- SMS
- SQL инструкции
- SVN
- TRichView
- UniGui
- WebBroker
- WinAPI
- Windows
- Алгоритмы
- Без рубрики
- Деревья
- Ищу ответ
- Компонентостроение
- Мои компоненты
- Начальный уровень
- Обработка исключений
- Парсинг
- Потоки(Threads)
- Регулярные выражения
- Тестирование приложений
Category Archives: Без рубрики
Database.Advanced.How would you design a high-availability database system?
Designing a high-availability (HA) database system means ensuring the database remains operational with minimal downtime, even in the face of hardware failures, software bugs, or network issues. Here’s how you can approach the design, step by step: ✅ 1. Set … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How would you design a high-availability database system?
Database.Middle.What is query execution plan (EXPLAIN)?
Understanding the query execution plan (via EXPLAIN) is key to becoming a query performance master. Let’s break it down step by step. 🧠 What Is a Query Execution Plan? A query execution plan is a step-by-step blueprint of how the … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.What is query execution plan (EXPLAIN)?
Database.Middle.How does a database optimizer work?
🧠 What Is a Database Optimizer? A database optimizer is a component of a database engine that takes your SQL query and figures out the best plan to execute it. It doesn’t just run the query directly — instead, it … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.How does a database optimizer work?
Database.Middle.Explain write-ahead logging (WAL).
📘 What is Write-Ahead Logging (WAL)? Write-Ahead Logging is a safety mechanism used by databases to protect your data from being lost or corrupted. 💡 The key idea:Write changes to a log before applying them to the actual database. 🧠 … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.Explain write-ahead logging (WAL).
Database.What is CAP theorem?
🧠 What is the CAP Theorem? The CAP theorem is a rule that says a distributed system (like a NoSQL database spread over many servers) can only guarantee 2 out of 3 things at the same time: C = ConsistencyA … Continue reading
Posted in Без рубрики
Comments Off on Database.What is CAP theorem?
Database.Middle.ACID
🧪 ACID — A Super Rule for Databases Think of a database like a notebook where important things are written down: money transfers, orders, messages, etc. We want to make sure: The writing is correct It doesn’t get messed up … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.ACID
Database.Middle.What is replication lag ?
Replication lag is the delay between when a change occurs on the primary database and when that same change is visible on a replica. 🔍 What Does That Mean? Imagine this sequence: A user updates their profile in the primary … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.What is replication lag ?
Database.Middle.What is a read replica and why would you use it?
A read replica is a read-only copy of a database that stays in sync with the primary (writeable) database. It is updated asynchronously — meaning changes in the primary DB are eventually propagated to the replica. 🧠 What Is a … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.What is a read replica and why would you use it?
Database.Middle.How would you track changes (auditing) in a table?
Tracking changes in a table — known as auditing — is essential for data integrity, compliance, and debugging. There are several techniques, depending on how deep and automated you want the auditing to be. ✅ Common Methods to Track Changes … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.How would you track changes (auditing) in a table?
Database.Middle.How does an index-only scan work?
An index-only scan is a performance optimization used by relational databases (like PostgreSQL, MySQL, Oracle) where a query is satisfied entirely by reading an index, without accessing the table (heap) at all. ✅ What Is an Index-Only Scan? In a … Continue reading
Posted in Без рубрики
Comments Off on Database.Middle.How does an index-only scan work?