-
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 handle database failover?
✅ 1. Understand the Goals Requirement Description ⏱️ High availability Keep the application running with minimal disruption 💾 Data integrity Avoid data loss (use sync replication if needed) 🔄 Automatic switch Detect failure and switch to standby quickly 🔁 Failback … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How would you handle database failover?
Database.Advanced.What is Saga pattern ?
The Saga pattern is a design pattern used to manage distributed transactions in microservices or distributed systems, where traditional ACID transactions are not feasible across services or databases. 🧠 What Problem Does It Solve? In distributed systems: A single business … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.What is Saga pattern ?
Database.Advanced.Explain acid compliance in distributed systems
ACID compliance in distributed systems is a major challenge because you’re trying to guarantee strong consistency across multiple machines, each of which may fail independently, lose connectivity, or process operations at different speeds. 🧪 What is ACID? ACID stands for: … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.Explain acid compliance in distributed systems
Database.Advanced.What is bloom filter
🧠 Key Concept A Bloom filter is a bit array of fixed size, with multiple hash functions. You use it to: Insert: Map an item to a few bit positions and set those to 1. Query: Check if all the … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.What is bloom filter
Database.Advanced.How does a bloom filter help in database optimization?
A Bloom filter helps optimize databases and storage systems by answering this question very efficiently: 🔍 “Does this item possibly exist?”(with a small chance of false positives, but zero false negatives) 🧠 What Is a Bloom Filter? A Bloom filter … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How does a bloom filter help in database optimization?
Database.Advanced.How would you implement full-text search in SQL?
To implement full-text search (FTS) in SQL, you need to go beyond simple LIKE queries and use built-in text indexing and search functions that support: Tokenization (splitting into words) Ranking / relevance Stemming / stop words Boolean logic (AND, OR, … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How would you implement full-text search in SQL?
Database.Advanced.Is MVCC implementation of optimisti lock ?
✅ Short Answer: MVCC is a form of optimistic concurrency control, but not all optimistic locking is MVCC. 🧠 Detailed Comparison Feature MVCC Optimistic Locking (manual) Type System-level concurrency control Application or ORM-level concurrency control Uses versions? ✅ Yes — … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.Is MVCC implementation of optimisti lock ?
Database.Advanced.What is multi-version concurrency control (MVCC)?
Multi-Version Concurrency Control (MVCC) is a concurrency control method used in databases to allow multiple users to read and write to the database without blocking each other. Instead of locking data for every read/write, MVCC keeps multiple versions of a … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.What is multi-version concurrency control (MVCC)?
Database.Advanced.How do you implement eventual consistency in a distributed database?
🧠 1. Understand the Use Case Eventual consistency is useful when: High availability is critical. Temporary stale reads are acceptable (e.g., social media likes, shopping carts). You want to keep writing during network partitions. ⚙️ 2. Key Techniques for Eventual … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How do you implement eventual consistency in a distributed database?
Database.Advanced.What is eventual consistency ?
Eventual consistency is a consistency model used in distributed systems to ensure that, given enough time and no new updates, all replicas of a piece of data will converge to the same value. ✅ In Simple Terms: When you update … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.What is eventual consistency ?