Tagged articles
41 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
May 17, 2025 · Databases

Master MySQL: Full Guide to Theory, Commands & Real-World Practices

This comprehensive MySQL tutorial covers everything from core concepts and architecture to practical CRUD operations, advanced queries, indexing, transaction control, stored procedures, triggers, replication, performance tuning, backup strategies, and real-world use cases, providing a complete roadmap for developers and DBAs.

BackupReplicationStored Procedures
0 likes · 25 min read
Master MySQL: Full Guide to Theory, Commands & Real-World Practices
Huolala Tech
Huolala Tech
Mar 18, 2025 · Information Security

Mastering MSSQL Attack Chains: Exploit Techniques and Defense Strategies

This article provides a comprehensive analysis of MSSQL attack vectors—including stored procedures, COM components, CLR, sandbox bypass, triggers, proxy jobs, Kerberoasting, and linked servers—detailing prerequisites, exploitation steps with code examples, and practical mitigation recommendations to harden database security.

Attack TechniquesCLRCOM
0 likes · 21 min read
Mastering MSSQL Attack Chains: Exploit Techniques and Defense Strategies
Architect
Architect
Dec 12, 2024 · Databases

Design and Implementation of MySQL SQL Flow‑Control (Throttling) Feature

This document details the purpose, requirements, architecture, detailed design, performance impact, and limitations of a MySQL kernel extension that throttles SQL statements based on configurable flow‑control rules to protect core services from CPU overload caused by heavy or slow queries.

Database flow controlSQL throttlingStored Procedures
0 likes · 13 min read
Design and Implementation of MySQL SQL Flow‑Control (Throttling) Feature
ITPUB
ITPUB
Aug 18, 2024 · Databases

When to Use Database Stored Procedures? Pros, Cons, and Best Practices

This article examines the advantages and disadvantages of using stored procedures in relational databases, discusses common pitfalls and vendor‑specific issues, provides guidance for Oracle stored procedures, and offers practical recommendations on when and how to apply them effectively.

OracleStored Proceduressql
0 likes · 5 min read
When to Use Database Stored Procedures? Pros, Cons, and Best Practices
ITPUB
ITPUB
Feb 1, 2024 · Databases

Why MySQL Now Lets You Write Stored Procedures in JavaScript

Oracle announced preview support for JavaScript‑based stored procedures in MySQL, showing how to write, call, and debug them using GraalVM, while industry reactions highlight both excitement and concerns about mixing languages in database logic.

JavaScriptStored Proceduresdatabase
0 likes · 4 min read
Why MySQL Now Lets You Write Stored Procedures in JavaScript
21CTO
21CTO
Jan 15, 2024 · Databases

How Oracle’s MySQL 8.2 Preview Brings JavaScript Stored Procedures

Oracle’s MySQL 8.2 preview introduces JavaScript stored procedures powered by GraalVM, allowing developers to write JavaScript or Java code inside the database, but the feature remains a technical preview with performance benefits, debugging support, and cautions about production use and global variable behavior.

Database DevelopmentJavaScriptStored Procedures
0 likes · 4 min read
How Oracle’s MySQL 8.2 Preview Brings JavaScript Stored Procedures
Aikesheng Open Source Community
Aikesheng Open Source Community
Jan 2, 2024 · Databases

Using EXPLAIN INTO and EXPLAIN FOR SCHEMA in MySQL 8.1 and 8.2

This article explains the new EXPLAIN INTO clause introduced in MySQL 8.1 for storing JSON‑formatted EXPLAIN output in a user variable and the EXPLAIN FOR SCHEMA clause added in MySQL 8.2 for running EXPLAIN on other schemas, showing how to extract costs with JSON functions and automate collection with stored procedures.

JSONStored Proceduresdatabase
0 likes · 7 min read
Using EXPLAIN INTO and EXPLAIN FOR SCHEMA in MySQL 8.1 and 8.2
JavaEdge
JavaEdge
Aug 28, 2022 · Databases

Why Serializability Matters: Single‑Threaded Transactions and Stored Procedures

The article explains how RC and snapshot isolation fail to prevent write skew and phantom reads, advocates serializable isolation, and examines three implementation techniques—strict serial execution, two‑phase locking, and optimistic concurrency—detailing their trade‑offs, stored‑procedure usage, partitioning, and practical constraints for achieving true serializable isolation.

PartitioningSingle‑threadedStored Procedures
0 likes · 11 min read
Why Serializability Matters: Single‑Threaded Transactions and Stored Procedures
Architecture & Thinking
Architecture & Thinking
Feb 10, 2022 · Databases

MySQL Custom Functions: How to Create, Use, and Compare with Stored Procedures

This guide explains MySQL custom functions, covering their definition, advantages over stored procedures, step‑by‑step creation syntax, parameter handling, invocation, and management commands such as showing, altering, and dropping functions, with practical examples for both parameterless and parameterized functions and a concise comparison table.

Stored Proceduresfunctionsmysql
0 likes · 6 min read
MySQL Custom Functions: How to Create, Use, and Compare with Stored Procedures
Top Architect
Top Architect
Aug 22, 2021 · Databases

Why Using Stored Procedures for Simple Existence Checks Can Be Problematic

The article examines a real‑world scenario where a developer tried to reuse existing stored procedures to merely check the presence of Job, Certification, and Disclosure records, discusses the pitfalls of such an approach, and explains why storing this logic in T‑SQL is often fragile and hard to maintain.

Stored Procedurescode-reusedatabase
0 likes · 6 min read
Why Using Stored Procedures for Simple Existence Checks Can Be Problematic
ITPUB
ITPUB
Aug 18, 2021 · Databases

Master SQL Basics: From Core Concepts to Advanced Queries and Database Management

This comprehensive guide covers fundamental SQL concepts, syntax, and terminology, then walks through CRUD operations, subqueries, joins, unions, functions, ordering, grouping, data definition, transaction control, permission management, stored procedures, cursors, and triggers, providing clear examples for each.

CRUDJoinsStored Procedures
0 likes · 28 min read
Master SQL Basics: From Core Concepts to Advanced Queries and Database Management
Python Programming Learning Circle
Python Programming Learning Circle
Aug 2, 2021 · Databases

Comprehensive Guide to Relational Database Concepts and SQL Syntax

This article provides a detailed tutorial on relational database fundamentals, covering key terminology, SQL syntax, DDL/DML/DCL/TCL commands, query clauses, joins, set operations, functions, aggregation, indexing, constraints, transactions, permission management, stored procedures, cursors, and triggers with practical code examples.

DDLDMLStored Procedures
0 likes · 20 min read
Comprehensive Guide to Relational Database Concepts and SQL Syntax
Open Source Linux
Open Source Linux
Jul 22, 2021 · Databases

Master SQL: Essential Syntax, Queries, and Advanced Techniques

This comprehensive guide covers SQL fundamentals—including database terminology, syntax structure, DDL/DML/TCL/DCL commands, CRUD operations, subqueries, joins, unions, functions, ordering, grouping, indexes, constraints, transactions, permissions, stored procedures, cursors, and triggers—providing clear examples and best practices for relational database development.

CRUDStored ProceduresTransactions
0 likes · 26 min read
Master SQL: Essential Syntax, Queries, and Advanced Techniques
Architecture Digest
Architecture Digest
Jun 12, 2021 · Databases

Why Reusing Stored Procedures Can Be Problematic: A Practical Example with Job, Certification, and Disclosure Checks

This article examines the pitfalls of reusing existing SQL stored procedures to determine the presence of Job, Certification, and Disclosure data for a user, illustrating maintenance challenges with temporary tables, output parameters, and code‑reuse limitations through concrete code examples.

BackendStored Procedurescode-reuse
0 likes · 5 min read
Why Reusing Stored Procedures Can Be Problematic: A Practical Example with Job, Certification, and Disclosure Checks
Selected Java Interview Questions
Selected Java Interview Questions
Apr 22, 2021 · Databases

Key MySQL Concepts: DROP/DELETE/TRUNCATE, Data Types, Storage Engines, Transactions, Views, Procedures, Indexes, UNION, and SQL Language Parts

This article explains the differences between DROP, DELETE, and TRUNCATE, recommends appropriate MySQL data types for monetary values, compares MyISAM and InnoDB storage engines, outlines transaction ACID properties, describes views, stored procedures versus triggers, indexes, UNION vs UNION ALL, and lists the main SQL language categories.

Storage EnginesStored ProceduresTransactions
0 likes · 10 min read
Key MySQL Concepts: DROP/DELETE/TRUNCATE, Data Types, Storage Engines, Transactions, Views, Procedures, Indexes, UNION, and SQL Language Parts
Top Architect
Top Architect
Oct 13, 2020 · Databases

Why Reusing Stored Procedures Is Tricky: Counting Results and Maintaining Code

The article examines the difficulties of reusing SQL Server stored procedures to obtain simple boolean checks, illustrates a concrete example of counting jobs with temporary tables, discusses maintenance pitfalls, and concludes that business logic is often better implemented outside stored procedures.

Database designStored ProceduresT-SQL
0 likes · 6 min read
Why Reusing Stored Procedures Is Tricky: Counting Results and Maintaining Code
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 21, 2020 · Databases

Comprehensive MySQL Tutorial: Basics, Commands, Data Types, Constraints, Functions, Joins, Stored Procedures, and Transactions

This article provides a detailed, step‑by‑step guide to MySQL covering its purpose, installation, directory layout, common commands, data types, table creation and modification, constraints, functions, subqueries, joins, custom functions, stored procedures, transaction control, and user management, illustrated with extensive code examples and screenshots.

Stored ProceduresTutorialdatabase
0 likes · 31 min read
Comprehensive MySQL Tutorial: Basics, Commands, Data Types, Constraints, Functions, Joins, Stored Procedures, and Transactions
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 22, 2020 · Databases

Comprehensive Guide to MySQL Storage Engines, Data Types, Indexes, Views, Stored Procedures, and Triggers

This article provides an in‑depth overview of MySQL, covering storage engine concepts, selecting appropriate data types, index design and usage, view creation, stored procedure syntax, variable handling, and trigger implementation, with practical examples and SQL code snippets to illustrate each topic.

Data TypesStorage EngineStored Procedures
0 likes · 25 min read
Comprehensive Guide to MySQL Storage Engines, Data Types, Indexes, Views, Stored Procedures, and Triggers
Laravel Tech Community
Laravel Tech Community
Jul 16, 2020 · Databases

Comprehensive Guide to SQL Syntax, Commands, and Operations

This article provides a comprehensive overview of relational database fundamentals and SQL syntax, covering basic concepts, statement categories (DDL, DML, TCL, DCL), CRUD operations, subqueries, joins, unions, functions, ordering, grouping, constraints, transactions, permission management, stored procedures, cursors, and triggers with illustrative code examples.

DDLDMLStored Procedures
0 likes · 23 min read
Comprehensive Guide to SQL Syntax, Commands, and Operations
Java Backend Technology
Java Backend Technology
May 28, 2020 · Databases

When Stored Procedures Turn Into a Maintenance Nightmare

An engineer recounts a real‑world challenge of reusing existing SQL stored procedures to check a user's job, certification, and disclosure status, explores why inserting results into temporary tables can cause maintenance headaches, and concludes that moving business logic out of the database often yields cleaner, more maintainable code.

Database designStored Procedurescode-reuse
0 likes · 6 min read
When Stored Procedures Turn Into a Maintenance Nightmare
Programmer DD
Programmer DD
May 26, 2020 · Databases

Why Reusing Stored Procedures Can Be a Pitfall: Lessons from Real Projects

The article examines the drawbacks of reusing stored procedures for business logic, illustrates maintenance challenges with example code, and argues that moving simple existence checks to the database while keeping complex logic in application code yields better readability, extensibility, and performance.

Database designStored ProceduresT-SQL
0 likes · 6 min read
Why Reusing Stored Procedures Can Be a Pitfall: Lessons from Real Projects
Top Architect
Top Architect
May 14, 2020 · Databases

Why Using Stored Procedures for Simple Boolean Checks Can Be Problematic

The article discusses a real‑world scenario where a developer tried to reuse existing stored procedures to determine the presence of Job, Certification, and Disclosure records, explores various T‑SQL techniques such as temporary tables and output parameters, and concludes that stored procedures are often unsuitable for simple boolean logic due to maintenance and reuse challenges.

Stored Proceduresc++code-reuse
0 likes · 6 min read
Why Using Stored Procedures for Simple Boolean Checks Can Be Problematic
Liangxu Linux
Liangxu Linux
Mar 22, 2020 · Databases

Comprehensive MySQL Cheat Sheet: Commands, Syntax, and Best Practices

A detailed reference covering MySQL service management, connection commands, database and table operations, data types, indexes, joins, subqueries, transactions, backup, user privileges, and common SQL functions, complete with practical code examples.

BackupStored ProceduresUser Management
0 likes · 40 min read
Comprehensive MySQL Cheat Sheet: Commands, Syntax, and Best Practices
AntTech
AntTech
Oct 7, 2019 · Databases

OceanBase TPC‑C Benchmark: SQL Optimization and Storage‑Procedure Techniques

This article, the third in a five‑part series on OceanBase’s record‑breaking TPC‑C results, explains the SQL‑level challenges faced during the benchmark and details the optimizations—including stored procedures, LLVM‑based compilation, array binding, prepared statements, and updatable views—that enabled the performance gains.

OLTPOceanBaseSQL Optimization
0 likes · 11 min read
OceanBase TPC‑C Benchmark: SQL Optimization and Storage‑Procedure Techniques
Efficient Ops
Efficient Ops
Jul 16, 2018 · Databases

Master MySQL Advanced Features: Partitioning, Views, Triggers, and More

This article explores MySQL’s advanced capabilities—including partition tables, views, stored procedures, triggers, foreign‑key constraints, bind variables, user‑defined functions, and character‑set considerations—explaining their principles, usage patterns, performance impacts, and best‑practice recommendations for handling large‑scale data.

Character SetForeign KeysPartitioning
0 likes · 34 min read
Master MySQL Advanced Features: Partitioning, Views, Triggers, and More
dbaplus Community
dbaplus Community
Oct 11, 2017 · Databases

Master MySQL Advanced Features: Partitioning, Views, Stored Procedures, and More

This article explores MySQL’s advanced features—including partition tables, views, stored procedures, triggers, foreign key constraints, bind variables, user‑defined functions, and character set considerations—explaining their principles, usage patterns, performance implications, and practical tips for large‑scale data scenarios.

Character SetPartitioningStored Procedures
0 likes · 35 min read
Master MySQL Advanced Features: Partitioning, Views, Stored Procedures, and More
ITPUB
ITPUB
Jul 19, 2017 · Databases

SQL Server vs Oracle: 10 Essential Syntax and Feature Differences

This guide compares SQL Server and Oracle across ten key areas—including data types, date functions, default constraints, string concatenation, identity columns, conditional statements, CASE syntax, triggers, stored procedures, and user creation—providing concrete code examples for each difference.

Data TypesDatabase SyntaxOracle
0 likes · 8 min read
SQL Server vs Oracle: 10 Essential Syntax and Feature Differences
ITPUB
ITPUB
Jun 8, 2017 · Databases

Unlock MySQL’s Advanced Features: Functions, Stored Procedures, and Storage Engines

This guide walks through MySQL’s high‑level capabilities, covering built‑in and user‑defined functions, the creation and advantages of stored procedures, the variety of storage engines with their locking and transaction characteristics, and essential administration tools.

Database AdministrationStored Proceduresmysql
0 likes · 9 min read
Unlock MySQL’s Advanced Features: Functions, Stored Procedures, and Storage Engines
dbaplus Community
dbaplus Community
Mar 13, 2017 · Databases

MySQL 5.7 FAQ Highlights: NDB Cluster, Stored Routines, Replication & Encryption

This curated excerpt from the MySQL 5.7 FAQ provides concise answers on NDB Cluster versions and deployment, network and hardware requirements, memory sizing formulas, virtual machine support, common error causes, user management, replication setup and limitations, trigger behavior, and InnoDB tablespace encryption details, linking to official documentation for deeper reference.

FAQInnoDB EncryptionNDB Cluster
0 likes · 23 min read
MySQL 5.7 FAQ Highlights: NDB Cluster, Stored Routines, Replication & Encryption
ITPUB
ITPUB
Feb 13, 2017 · Databases

Mastering SQL: Joins, Normal Forms, Indexes, and Optimization Techniques

This article explains SQL join types, the three normal forms, table creation and alteration commands, data integrity constraints, practical query‑optimization tips, the roles and differences of clustered and non‑clustered indexes, and the distinctions between stored procedures and functions.

Database designJoinsStored Procedures
0 likes · 7 min read
Mastering SQL: Joins, Normal Forms, Indexes, and Optimization Techniques
dbaplus Community
dbaplus Community
Jan 3, 2017 · Databases

Implementing Parallel Stored Procedures in Oracle 10g with DBMS_SCHEDULER

This guide explains how to design and deploy a parallel execution framework for large Oracle stored procedures using DBMS_SCHEDULER, covering architecture principles, component details, development and user interfaces, database schema, view definitions, security grants, and remaining challenges such as RAC support.

DBMS_SCHEDULERDatabase ArchitectureOracle
0 likes · 12 min read
Implementing Parallel Stored Procedures in Oracle 10g with DBMS_SCHEDULER
21CTO
21CTO
Jun 14, 2016 · Databases

Why Your SSRS Report Is Slowing Down: Real-World SQL Optimization Lessons

An in‑depth case study of a sluggish SSRS report for Siemens China's MES system reveals how missing indexes, full‑table scans on billion‑row tables, and misguided partitioning cripple performance, and demonstrates practical SQL refactoring, stored‑procedure redesign, and indexing strategies that cut query time from hours to seconds.

PartitioningStored Proceduresdatabase indexing
0 likes · 10 min read
Why Your SSRS Report Is Slowing Down: Real-World SQL Optimization Lessons
Big Data and Microservices
Big Data and Microservices
Mar 28, 2016 · Information Security

Understanding Database SQL Injection: Types, Examples, and Defense Strategies

The article examines why databases are frequent targets of security breaches, explains the most common SQL injection vulnerability, categorizes injection paths, methods, and examples—including manipulation, code, function‑call, and buffer‑overflow attacks—then outlines practical defense measures such as input encryption, database firewalls, and patching.

Code InjectionDatabase SecurityOracle
0 likes · 14 min read
Understanding Database SQL Injection: Types, Examples, and Defense Strategies
MaGe Linux Operations
MaGe Linux Operations
Nov 23, 2015 · Databases

How to Partition Zabbix MySQL Tables for Faster Performance

This guide explains why Zabbix monitoring can become sluggish with large MySQL tables, and provides step‑by‑step instructions—including table modifications, stored procedures for creating, dropping, maintaining, and verifying partitions, plus automation scripts—to shrink the database and improve responsiveness.

Database OptimizationStored ProceduresTable Partitioning
0 likes · 10 min read
How to Partition Zabbix MySQL Tables for Faster Performance