Fading Coder

One Final Commit for the Last Sprint

Academic Assistance Management System Built with Spring Boot and Vue

System Overview This project implements a comprehensive platform designed to facilitate academic support activities. The architecture leverages a modern separation of concerns, utilizing a robust backend API coupled with a dynamic frontend interface to manage tuotring relationships and student progr...

MySQL Essentials: Views, Stored Procedures, and Triggers

Views Views are virtual tables derived from SQL queries. They don't store data physically but present filtered perspectives of base tibles. -- Create sample view for male students CREATE VIEW male_students AS SELECT * FROM students WHERE gender = 'male'; -- Join view with classes table CREATE VIEW m...

Essential SQL Query Patterns and Data Manipulation Techniques

SQL provides a robust set of constructs for retrieving, filtering, transforming, and modifying relational data. Below are foundational patterns used across database systems—with syntax adapted for portability and clarity. 1. Basic Column Selection Retrieve specific columns instead of all fields to i...

Advanced MySQL Indexing and Query Optimization Techniques

Checking Query Execution CostTo evaluate the efficiency of a query execution plan, inspect the optimizer's cost calculation.SHOW SESSION STATUS LIKE 'Last_query_cost';Prefix Indexing for String ColumnsIndexing long text columns entirely can consume excessive space. Instead, index a prefix of the str...

Installing MySQL 8 on Ubuntu 22.04

Installing MySQL 8 on Ubuntu 22.04 This guide describes the method for installing MySQL 8 on Ubuntu 22.04. Before starting, it's recommended to switch to the root user: # Enter the command below, then input the current user password to switch to root sudo -i 1. Update Package Lists # Network issues...

MySQL JSON Data Extraction Techniques

Extracting JSON Values in MySQL MySQL provides several built-in methods to extract and manipulate JSON data. These techniques vary based on whether you need raw JSON values, unquoted strings, or support for dynamic paths. Basic Field Access The -> operator retrieves a value from a JSON document w...

MySQL Backup, Restore, and Administration Essentials

Recovering Data with Binary Logs When you need to restore data from MySQL binary logs, use the mysqlbinlog utility with specific date-time ranges: mysqlbinlog --database=sfxt --start-datetime="2021-08-07 12:00:00" --stop-datetime="2022-09-19 18:31:00" /www/server/data/mysql-bin.0...

Implementing Interactive Data Visualization with HBase and ECharts

Technical Architecture The solution utilizes HBase for big data storage, MySQL for structured querying, and ECharts for frontend visualization. The primary tools involved are: HBase & MapReduce: For distributed storage and data processing. MySQL: Serves as a relational interface for aggregated d...

Restoring MyISAM Tables from FRM, MYD, and MYI Files in MySQL 5.7

Procedure OverviewPhaseAction1Authenticate with the database server2Provision a new schema3Position raw files into the data directory4Reconcile table metadata and indexesPhase 1: Authenticate with the database serverEstablish a connection to the MySQL instance using administrative credentials:mysql...

Essential Linux Administration Commands for Database and Web Services

MySQL Command Line Error Recovery When executing multi-line statements in the MySQL command-line interface, an error in a preceding line can be frustrating. Use the \c command to cancel the current input and return to the "mysql->" prompt. Tomcat Service Management Navigate to the Tomcat bin directo...