CTChí Thiên Đinhinleodinh.hashnode.dev·1d ago · 1 min readSpring AOPAOP is a programming paradigm that aims to increase modularity by allowing the separation of cross-cutting concerns. It does this by adding additional behavior to existing code without modifying the c00
CTChí Thiên Đinhinleodinh.hashnode.dev·1d ago · 2 min readSpring IoC ContainerWhat is Dependency Injection (DI) and Inversion of Control (IoC)? IoC is a design principle used to achieve loose coupling in computer programming. It shifts the control of object creation and lifec00
CTChí Thiên Đinhinleodinh.hashnode.dev·Sep 13 · 1 min readPerformance Optimization in PostgreSQLExplain & Explain Analyze Explain giúp giải thích các bước thực hiện trong câu query là gì với các thông số về cost, rows, widths,... EXPLAIN SELECT * FROM inventory_tbl; cost: chi phí để thực hiện 00
CTChí Thiên Đinhinleodinh.hashnode.dev·Sep 13 · 2 min readIndex trong databaseIndex trong database là một cấu trúc dữ liệu đặc biệt giúp database tìm các records nhanh hơn mà không cần phải đọc toàn bộ records trong table. Cứ tưởng tượng như mục lục theo kí tự theo bảng chữ cái00
CTChí Thiên Đinhinleodinh.hashnode.dev·Sep 12 · 5 min readGiải thích ACID trong databaseAtomicity Atomicity là tính chất cơ bản của relational database đảm bảo rằng một transaction nhiều step phải được đối xử như 1 transaction duy nhất mà không thể chia cắt. Thường được mô tả là "hoặc là00