Tagged articles
26 articles
Page 1 of 1
ITPUB
ITPUB
Mar 5, 2026 · Databases

How to Recover a Truncated Oracle Table: Tools and Step‑by‑Step Guide

This article explains what the Oracle TRUNCATE command does, why recovery is challenging, and provides detailed step‑by‑step instructions for four practical tools—FY_Recover_Data, ODU, BBED, and GDUL—to restore data from a mistakenly truncated table.

Data RecoveryDatabase AdministrationOracle
0 likes · 5 min read
How to Recover a Truncated Oracle Table: Tools and Step‑by‑Step Guide
Xiao Liu Lab
Xiao Liu Lab
Jan 7, 2026 · Operations

Zero‑IO Techniques to Safely Clear Massive Log Files on Linux

This article explains why deleting huge log files can crash a server, compares the low‑IO echo and truncate commands for safely emptying logs, provides practical examples, parameter tips, additional methods, and best‑practice recommendations for production environments.

EchoIO optimizationLinux
0 likes · 10 min read
Zero‑IO Techniques to Safely Clear Massive Log Files on Linux
dbaplus Community
dbaplus Community
May 24, 2025 · Databases

How to Recover Data After an Oracle TRUNCATE Accident

When an Oracle table is accidentally truncated, this guide explains what TRUNCATE does, why recovery is difficult, and walks through four practical tools—Fy_Recover_Data, ODU, BBED, and GDUL—detailing step‑by‑step commands to restore the lost data safely.

Data RecoveryDatabase ToolsOracle
0 likes · 5 min read
How to Recover Data After an Oracle TRUNCATE Accident
Selected Java Interview Questions
Selected Java Interview Questions
Oct 17, 2023 · Databases

SQL Techniques: Finding Duplicate Records, TRUNCATE vs DELETE, Primary vs Candidate Keys, Second Highest Salary, and Common Interview Queries

This article explains how to locate duplicate rows in a table, contrasts TRUNCATE and DELETE commands, clarifies the difference between primary and candidate keys, demonstrates queries for retrieving the second highest salary, and provides a collection of typical SQL interview questions with sample code.

SQLTRUNCATEduplicate records
0 likes · 9 min read
SQL Techniques: Finding Duplicate Records, TRUNCATE vs DELETE, Primary vs Candidate Keys, Second Highest Salary, and Common Interview Queries
Laravel Tech Community
Laravel Tech Community
Aug 3, 2023 · Databases

MySQL Data Deletion Methods: DELETE, TRUNCATE, and DROP

This article explains the three primary ways to delete data in MySQL—using DELETE, TRUNCATE, and DROP—detailing their execution speed, underlying mechanisms, storage‑engine differences, and best‑practice considerations such as space reclamation and auto‑increment handling.

DELETEDROPTRUNCATE
0 likes · 5 min read
MySQL Data Deletion Methods: DELETE, TRUNCATE, and DROP
ITPUB
ITPUB
Nov 13, 2022 · Databases

Why Does MySQL Hang on Startup? Deep Dive into InnoDB Truncate Bug and Fix

A MySQL DBA recounts a 4‑TB InnoDB instance that stalled during startup, analyzes top, stack traces, and source code to pinpoint a bug involving truncate operations and the buf_flush_event, then presents three practical solutions—including adjusting innodb_flush_sync, using GDB to break the wait loop, or removing truncate logs—to restore normal operation.

DebuggingInnoDBTRUNCATE
0 likes · 16 min read
Why Does MySQL Hang on Startup? Deep Dive into InnoDB Truncate Bug and Fix
Liangxu Linux
Liangxu Linux
Dec 28, 2021 · Operations

5 Quick Linux Commands to Empty a File Instantly

Learn five practical Linux techniques—using shell redirection, built‑in commands, /dev/null with cat/cp/dd, echo, and truncate—to clear a file's contents without deleting the file, each with clear examples and explanations.

CATEchoFile
0 likes · 4 min read
5 Quick Linux Commands to Empty a File Instantly
MaGe Linux Operations
MaGe Linux Operations
Dec 28, 2021 · Operations

5 Simple Shell Tricks to Empty Files Instantly

This guide shows five practical Linux shell methods—including redirection to /dev/null, using the built‑in ':' or true commands, cat/cp/dd utilities, echo with -n, and the truncate command—to quickly clear a file’s contents without deleting the file itself.

LinuxTRUNCATEfile management
0 likes · 3 min read
5 Simple Shell Tricks to Empty Files Instantly
Open Source Linux
Open Source Linux
Dec 14, 2021 · Fundamentals

5 Quick Linux Commands to Empty a File Instantly

Learn five simple Linux shell techniques—including redirection to /dev/null, the true command, cat/cp/dd utilities, echo variations, and truncate—to efficiently clear a file’s contents without deleting the file itself, all explained with clear examples and code snippets.

DevNullFile ClearingLinux
0 likes · 3 min read
5 Quick Linux Commands to Empty a File Instantly
Architecture & Thinking
Architecture & Thinking
Dec 1, 2021 · Databases

Master MySQL DML: Insert, Update, Delete, and Truncate Explained

Learn the essential MySQL Data Manipulation Language commands—INSERT, UPDATE, DELETE, and TRUNCATE—including syntax variations, best practices, and step‑by‑step command‑line examples that illustrate single‑row, batch, and conditional operations, plus key differences between delete and truncate.

DELETEDMLInsert
0 likes · 12 min read
Master MySQL DML: Insert, Update, Delete, and Truncate Explained
dbaplus Community
dbaplus Community
Nov 14, 2021 · Databases

What Happens When MySQL DROP Permission Is Revoked? A Hands‑On Exploration

After a colleague accidentally dropped a production database, we revoked DROP privileges for a MySQL user and systematically tested how this restriction impacts common operations such as renaming tables, using TRUNCATE, deleting rows, dropping objects, and recovering data via binlog, revealing surprising behaviors and practical workarounds.

DROP permissionSQLTRUNCATE
0 likes · 9 min read
What Happens When MySQL DROP Permission Is Revoked? A Hands‑On Exploration
Qunar Tech Salon
Qunar Tech Salon
Sep 9, 2021 · Databases

InnoDB Startup Hang Analysis: Truncate, Flush Sync, and Debugging Strategies

An in-depth investigation of a MySQL InnoDB startup deadlock caused by truncate operations and the innodb_flush_sync parameter, detailing log observations, stack traces, source code examination, and three practical solutions including GDB intervention, parameter adjustment, and data directory cleanup.

DebuggingInnoDBTRUNCATE
0 likes · 15 min read
InnoDB Startup Hang Analysis: Truncate, Flush Sync, and Debugging Strategies
Programmer DD
Programmer DD
Oct 25, 2020 · Databases

Mastering MySQL Deletion: DELETE vs TRUNCATE vs DROP Explained

This article compares MySQL's three data‑removal commands—DELETE, TRUNCATE, and DROP—detailing their execution speed, underlying mechanisms, impact on disk space and auto‑increment values, and best‑practice usage with code examples and optimization tips.

DELETEDROPSQL
0 likes · 7 min read
Mastering MySQL Deletion: DELETE vs TRUNCATE vs DROP Explained
Selected Java Interview Questions
Selected Java Interview Questions
Oct 18, 2020 · Databases

MySQL Data Deletion Methods: DELETE, TRUNCATE, and DROP

This article explains the three primary ways to remove data in MySQL—DELETE, TRUNCATE, and DROP—comparing their execution speed, underlying mechanisms, impact on disk space, transaction behavior, and how to reclaim space with OPTIMIZE, while providing practical SQL examples and usage warnings.

DELETEDROPTRUNCATE
0 likes · 6 min read
MySQL Data Deletion Methods: DELETE, TRUNCATE, and DROP