Leveraging Stored Routines, Triggers, and MySQL 8 Advanced Features
Encapsulating Business Logic with Stored Procedures and Functions
Stored procedures and stored functions bundle multiple SQL statements into reusable server-side objects, reducing network overhead and improving security. A stored procedure accepts input, output, or both types of parameters, while a stored function always returns a single value. ...
Posted on Tue, 14 Jul 2026 16:59:58 +0000 by ClaytonBellmor
PostgreSQL Transition Tables and NamedTupleStore Internals
In PostgreSQL architecture, a NamedTupleStore represents an ephemeral named relation rather than a persistent catalog table. Officially referred to within the source code as part of the NamedTuplestoreScan mechanism, these structures exist temporarily to hold transition data during trigger execution.
Implementation Context
This mechanism is pri ...
Posted on Wed, 20 May 2026 05:26:47 +0000 by JREAM
Advanced MySQL Database Objects: Views, Stored Procedures, and Triggers
Database View Fundamentals
Views provide a virtual table interface based on the result of an SQL query. They simplify complex operations and enhance data security.
Basic view operations:
-- Create or replace a view
CREATE [OR REPLACE] VIEW view_name [(column_list)]
AS SELECT_statement [ WITH [ CASCADED | LOCAL ] CHECK OPTION ];
-- Display vie ...
Posted on Thu, 07 May 2026 13:50:24 +0000 by toro04
MySQL Advanced Features: Views, Transactions, Triggers, and Performance Optimization
Views in MySQL
Views are virtual tables that don't占用 any physical storage. When querying a view, MySQL retrieves data dynamically from the underlying base tables.
Key Characteristics
Modifications to a view propagate to the underlying base tables
Changes to base tables are visible through the view when querying
Views typically shouldn't be m ...
Posted on Thu, 07 May 2026 02:04:26 +0000 by recklessgeneral