Tag

database

0 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
Jan 8, 2025 · Databases

Recovering Accidentally Deleted MySQL Data Using Binlog

To recover accidentally deleted MySQL rows, ensure binary logging is enabled and set to ROW mode, locate the appropriate binlog files, use mysqlbinlog (or tools like binlog2sql) to extract the original INSERT events within a time window, and replay or reconstruct them to restore the data.

Data RecoveryMySQLSQL
0 likes · 16 min read
Recovering Accidentally Deleted MySQL Data Using Binlog
Java Tech Enthusiast
Java Tech Enthusiast
Oct 28, 2024 · Databases

Choosing Between int and string for Storing QQ Numbers

While storing early five‑ and six‑digit QQ IDs as int32 or int64 offers memory efficiency and fast queries, the later expansion to eleven‑digit numbers and potential inclusion of non‑numeric symbols makes a string representation preferable to ensure flexible, future‑proof handling of QQ numbers.

QQdata typedatabase
0 likes · 3 min read
Choosing Between int and string for Storing QQ Numbers
Java Tech Enthusiast
Java Tech Enthusiast
Apr 19, 2024 · Databases

The Fragile Foundations: How Tiny Volunteer Teams Maintain Critical Software like the TZ Database and SQLite

Critical software like the IANA TZ database and SQLite, which power billions of devices and services, are maintained by just two or three unpaid volunteers, exposing the global tech ecosystem to hidden single points of failure that could cause outages or security breaches without sustained corporate investment.

Critical InfrastructureSoftware Maintenancedatabase
0 likes · 7 min read
The Fragile Foundations: How Tiny Volunteer Teams Maintain Critical Software like the TZ Database and SQLite
Java Tech Enthusiast
Java Tech Enthusiast
Apr 6, 2024 · Backend Development

Inventory Deduction and Concurrency Control in Backend Systems

The article outlines the three‑step inventory deduction workflow—select, verify, update—and explains how concurrent requests can cause overselling, then compares mitigation strategies such as pessimistic SELECT FOR UPDATE locks, optimistic CAS version retries, atomic decrement SQL statements, and Redis transactions, highlighting their trade‑offs in consistency and throughput.

ConcurrencyInventoryRedis
0 likes · 5 min read
Inventory Deduction and Concurrency Control in Backend Systems
Tencent Cloud Developer
Tencent Cloud Developer
Mar 26, 2024 · Databases

Data Consistency in Distributed Systems: Master‑Slave, Master‑Master, and Leaderless Architectures

The article compares master‑slave, master‑master, and leaderless distributed architectures, explaining how synchronous, semi‑synchronous, and asynchronous replication affect consistency, latency and scalability, and showing that each pattern trades write throughput, conflict‑resolution complexity, and availability against strong data correctness.

Distributed SystemsMaster‑MasterMaster‑Slave
0 likes · 15 min read
Data Consistency in Distributed Systems: Master‑Slave, Master‑Master, and Leaderless Architectures
Tencent Cloud Developer
Tencent Cloud Developer
Aug 15, 2022 · Databases

Database Technology Development and Application

Tencent Cloud Database, a leading Chinese DB vendor, will host a live “Wiztalk” session featuring four experts who will discuss data and knowledge engineering, generic big‑data architectures, multi‑level consistency in distributed databases, and building elastic, cost‑effective cloud‑native storage engines, promoting research, talent and ecosystem development.

Researchacademicapplication
0 likes · 2 min read
Database Technology Development and Application
Tencent Cloud Developer
Tencent Cloud Developer
Aug 26, 2020 · Databases

How to Become an Outstanding Data Craftsman: Insights from Database Experts

Three leading database experts from Tencent and cloud firms share how deep curiosity, hands‑on experimentation, persistent learning—combined with mastering distributed, cloud, and autonomous databases—forge an outstanding data craftsman, while advising newcomers to master performance, security, one DB per category, and start with open‑source tools.

Cloud DatabaseDBADatabase Architecture
0 likes · 34 min read
How to Become an Outstanding Data Craftsman: Insights from Database Experts
Tencent Cloud Developer
Tencent Cloud Developer
Mar 11, 2019 · Game Development

Solving Mini‑Game Server Dependency with Cloud Development: A Case Study of "LeXiang Garden"

By adopting Tencent Cloud Serverless functions, the developers of the mini‑game “LeXiang Garden” eliminated the need for a dedicated backend, directly accessed WeChat authentication, stored tokens, and implemented global leaderboards with just two cloud functions, dramatically lowering the barrier to mini‑game creation.

Cloud FunctionsWeChatcloud development
0 likes · 8 min read
Solving Mini‑Game Server Dependency with Cloud Development: A Case Study of "LeXiang Garden"
Tencent Cloud Developer
Tencent Cloud Developer
Dec 26, 2018 · Backend Development

Cloud Development for Mini Programs: Simplifying Backend Services

Cloud development for mini programs streamlines backend creation by offering a document database, CDN‑linked storage, and server‑less functions, letting developers focus on business logic while eliminating server purchases, domain setup, and complex configuration, and providing unified authentication, one‑click provisioning, and future‑ready API extensions.

API IntegrationAuthenticationBackend Services
0 likes · 10 min read
Cloud Development for Mini Programs: Simplifying Backend Services
Tencent Cloud Developer
Tencent Cloud Developer
Dec 14, 2018 · Databases

CynosDB Storage Cluster Manager (SCM): Architecture, Data Model, and Scheduling Mechanisms

CynosDB’s Storage Cluster Manager (SCM) orchestrates storage utilization by maintaining pool‑SG relationships in Etcd, using Raft for leader election, exposing HTTP APIs, and running heartbeat‑driven pool and segment‑group schedulers that allocate, expand, contract, and balance SG replicas across regions, zones, racks, and hosts.

CynosDBSCMcloud
0 likes · 11 min read
CynosDB Storage Cluster Manager (SCM): Architecture, Data Model, and Scheduling Mechanisms
Tencent Cloud Developer
Tencent Cloud Developer
Jan 5, 2017 · Databases

MySQL JSON Data Type: Features, Implementation, and Indexing

MySQL 5.7.7 adds a native JSON data type that validates documents, stores them in a pointer‑key/value structure for fast selective deserialization, provides rich functions and path expressions for manipulation, and enables indexing via generated virtual columns while defining clear comparison and sorting rules.

Data TypesIndexingJSON
0 likes · 11 min read
MySQL JSON Data Type: Features, Implementation, and Indexing