-
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: Без рубрики
Java.HikaryCP.What happens if your application requests more connections than the pool allows?
🔄 1. HikariCP Waits for an Available Connection HikariCP does not immediately throw an error. Instead, it waits up to a configured amount of time (connection-timeout, in milliseconds) for a connection to be returned to the pool. For example: ➡️ … Continue reading
Posted in Без рубрики
Comments Off on Java.HikaryCP.What happens if your application requests more connections than the pool allows?
Java.HikaryCP.What are spring.datasource.hikari.maximum-pool-size and minimum-idle used for?
In HikariCP, the properties spring.datasource.hikari.maximum-pool-size and spring.datasource.hikari.minimum-idle control how many connections the pool maintains and manages. Here’s a detailed breakdown: 🔹 spring.datasource.hikari.maximum-pool-size Definition:The maximum number of connections that can exist in the pool (active + idle). Purpose:Limits the total number … Continue reading
Posted in Без рубрики
Comments Off on Java.HikaryCP.What are spring.datasource.hikari.maximum-pool-size and minimum-idle used for?
Java.HikariCP.How do you enable and configure HikariCP in a Spring Boot application?
✅ 2. Configure application.properties or application.yml Spring Boot auto-configures HikariCP when it detects the dependency. You can tune the pool using the spring.datasource.hikari.* properties. Example application.properties: Or using application.yml: ✅ 3. (Optional) Programmatic Configuration If you need custom configuration in … Continue reading
Posted in Без рубрики
Comments Off on Java.HikariCP.How do you enable and configure HikariCP in a Spring Boot application?
Java.HikaryCP.What is HikariCP and what is it used for in Java applications?
HikariCP is a high-performance JDBC connection pool library used in Java applications. It’s part of the ecosystem for managing database connections efficiently and is especially popular in Spring Boot applications. 🔹 What is a Connection Pool? A connection pool is … Continue reading
Posted in Без рубрики
Comments Off on Java.HikaryCP.What is HikariCP and what is it used for in Java applications?
Database.Beginner.Is primary key only about uniquness ?
When you define a Primary Key on a table: Uniqueness: ✅ No two rows can have the same value (or same combination, for composite keys). NOT NULL: ✅ No NULLs allowed in any column that is part of the Primary … Continue reading
Posted in Без рубрики
Comments Off on Database.Beginner.Is primary key only about uniquness ?
Database.Advanced.How do you minimize replication lag ?
Minimizing replication lag is crucial in systems where read replicas are used for scalability or high availability, especially in distributed databases. Replication lag means the replica is behind the primary, and returning stale data. 🧠 Causes of Replication Lag Cause … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How do you minimize replication lag ?
Database.Advanced.How would you implement a priority queue in a relational database?
Implementing a priority queue in a relational database involves modeling and querying data in a way that allows you to enqueue items with priorities and dequeue the highest-priority item efficiently. ✅ Step-by-Step Guide 🧱 1. Schema Design Here’s a basic … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How would you implement a priority queue in a relational database?
Database.Advanced.What is Z-ordering?
Z-ordering (also called Z-indexing or Z-order curves) is a multi-dimensional indexing technique used in databases to optimize queries on multiple columns, especially for big data and time-series workloads. 🧠 What is Z-ordering? Z-ordering transforms multiple dimensions (e.g., columns) into a … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.What is Z-ordering?
Database.Advanced.How would you store and query time-series data efficiently?
Storing and querying time-series data efficiently requires optimizing for high-ingest write patterns, fast sequential reads, and long-term archival. Here’s a structured approach to designing an efficient time-series system in a relational or NoSQL database: 🧱 1. Data Modeling Principles ✅ … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.How would you store and query time-series data efficiently?
Database.Advanced.Explain the architecture of Amazon Aurora.
Amazon Aurora is a high-performance, cloud-native relational database engine built by AWS, compatible with both MySQL and PostgreSQL. It’s designed to overcome the limitations of traditional databases by decoupling storage and compute, offering high availability, performance, and scalability. 🧱 Core … Continue reading
Posted in Без рубрики
Comments Off on Database.Advanced.Explain the architecture of Amazon Aurora.