Tagged articles

SQLite

190 articles · Page 2 of 2
php Courses
php Courses
Apr 1, 2024 · Databases

Creating SQLite Database Tables with PHP: A Step-by-Step Guide

This tutorial walks through connecting to an SQLite database with PHP, creating a 'users' table using SQL, and verifying the table’s structure through PRAGMA queries, providing complete code examples for each step to help developers understand SQLite integration in web projects.

PHPSQLSQLite
0 likes · 4 min read
Creating SQLite Database Tables with PHP: A Step-by-Step Guide
Ops Development & AI Practice
Ops Development & AI Practice
Mar 22, 2024 · Databases

How to Use SQLite3 in Go: A Step‑by‑Step Guide

This guide walks you through installing the Go SQLite3 driver, opening a database connection, creating tables, inserting records, querying data, and provides a complete runnable example, helping developers integrate lightweight SQLite storage into Go applications efficiently.

GoSQLSQLite
0 likes · 6 min read
How to Use SQLite3 in Go: A Step‑by‑Step Guide
Linux Cloud Computing Practice
Linux Cloud Computing Practice
Mar 13, 2024 · Databases

Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More

This article explores SQLite’s 2018 SQL feature updates—from boolean literals and truth testing to window functions, FILTER clauses, upsert syntax, column renaming, and related API changes—highlighting syntax details, limitations, and practical examples for developers seeking to leverage these modern capabilities in production.

Database FeaturesSQLSQLite
0 likes · 10 min read
Unlock SQLite’s 2018 SQL Enhancements: Booleans, Window Functions, Upserts & More
ITPUB
ITPUB
Jan 22, 2024 · Databases

Why SQLite Became the World’s Most Popular Embedded Database

This article traces SQLite’s origins from a 2000 Navy project, explains how its first version wrapped GDBM, details its layered architecture and code flow, and shows how Richard Hipp’s philosophy of building every component himself turned SQLite into the ubiquitous embedded database we see everywhere today.

GDBMRichard HippSQLite
0 likes · 10 min read
Why SQLite Became the World’s Most Popular Embedded Database
dbaplus Community
dbaplus Community
Jan 21, 2024 · Databases

Why SQLite Dominates Everywhere: Origins, Architecture, and Secrets

This article explores why SQLite is the world’s most ubiquitous database, tracing its birth from a Navy project, its early implementation atop GDBM, the layered architecture that processes SQL statements, the transition to a B‑tree engine, and the creator’s philosophy of self‑contained software.

GDBMRichard HippSQL Engine
0 likes · 10 min read
Why SQLite Dominates Everywhere: Origins, Architecture, and Secrets
21CTO
21CTO
Dec 14, 2023 · Databases

Why esProc SPL Beats SQLite for Lightweight Data Processing

esProc SPL, a pure‑Java, lightweight data‑processing engine, offers richer data source support, built‑in flow control, and easier complex calculations compared to SQLite, making it a powerful alternative for small applications that need database‑like capabilities without the overhead of traditional databases.

JavaSPLSQLite
0 likes · 7 min read
Why esProc SPL Beats SQLite for Lightweight Data Processing
Laravel Tech Community
Laravel Tech Community
Nov 7, 2023 · Databases

SQLite 3.44.0 Release Highlights and New Features

SQLite 3.44.0 introduces enhanced aggregate functions with ORDER BY support, new scalar functions like concat(), string_agg(), expanded strftime() format specifiers, additional C APIs, stricter PRAGMA behavior, improved query planner optimizations, runtime detection of long‑double support, and default UTF‑8 handling in the Windows CLI.

Database EngineSQLSQLite
0 likes · 5 min read
SQLite 3.44.0 Release Highlights and New Features
Aikesheng Open Source Community
Aikesheng Open Source Community
Oct 26, 2023 · Databases

SQL Learning Course Outline and Book Giveaway Announcement

This announcement details a book giveaway sponsored by Tsinghua University Press and presents a comprehensive SQL learning curriculum covering SQLite, MySQL, query fundamentals, subqueries, joins, and advanced database features, complete with micro‑lecture videos and hands‑on exercises.

Book GiveawayDatabase TutorialMySQL
0 likes · 9 min read
SQL Learning Course Outline and Book Giveaway Announcement
Liangxu Linux
Liangxu Linux
Oct 10, 2023 · Operations

Master Your Shell History with Atuin: Install, Sync, and Powerful Search

Atuin replaces the traditional shell history with a SQLite‑backed, feature‑rich UI, offering encrypted synchronization across machines, detailed command metadata, and flexible search capabilities, while providing multiple installation methods and shell plugin integrations for zsh, bash, and fish.

AtuinSQLiteShell
0 likes · 8 min read
Master Your Shell History with Atuin: Install, Sync, and Powerful Search
Soul Technical Team
Soul Technical Team
Oct 9, 2023 · Databases

Understanding SQLite Log Modes and Fixing Duplicate Message ID Issues in Chat Applications

This article explains SQLite's Rollback and WAL logging modes, compares their performance and concurrency characteristics, investigates a real‑world problem where duplicate IM message IDs appear after app upgrades, and presents a step‑by‑step solution using UNIQUE constraints and index checks to prevent repeated inserts.

SQLiteWALchat-application
0 likes · 26 min read
Understanding SQLite Log Modes and Fixing Duplicate Message ID Issues in Chat Applications
Test Development Learning Exchange
Test Development Learning Exchange
Aug 7, 2023 · Databases

Python Code Examples for Connecting to Common Databases

This article provides concise Python code snippets for connecting to and querying a variety of popular databases—including MySQL, PostgreSQL, SQLite, MongoDB, Oracle, SQL Server, Redis, Elasticsearch, Cassandra, Couchbase, Firebase, DynamoDB, Neo4j, and InfluxDB—illustrating the essential steps for each.

Code ExamplesMongoDBMySQL
0 likes · 8 min read
Python Code Examples for Connecting to Common Databases
php Courses
php Courses
Jul 29, 2023 · Databases

Using SQLite with PHP: Comparison with MySQL and Practical Code Examples

This article compares SQLite and MySQL, outlines SQLite’s advantages and disadvantages, describes scenarios where SQLite is appropriate, and provides a step‑by‑step PHP tutorial with complete code for connecting, creating tables, inserting, querying, updating, deleting, and closing an SQLite database.

MySQLPHPSQLite
0 likes · 8 min read
Using SQLite with PHP: Comparison with MySQL and Practical Code Examples
Past Memory Big Data
Past Memory Big Data
Jun 19, 2023 · Databases

Why esProc SPL Outperforms SQLite for Small Java Applications

The article analyzes SQLite's shortcomings in data‑source support, complex calculations, and workflow handling for tiny Java apps, then demonstrates how the open‑source esProc SPL engine offers richer data‑source integration, simpler SQL‑like syntax, powerful calculation capabilities, and built‑in flow control, making it a more suitable lightweight database alternative.

JavaSPLSQLite
0 likes · 16 min read
Why esProc SPL Outperforms SQLite for Small Java Applications
Laravel Tech Community
Laravel Tech Community
May 18, 2023 · Databases

SQLite 3.42.0 Release Highlights and New Features

SQLite 3.42.0, the widely used public-domain SQL database engine, introduces features such as FTS5 secure-delete, JSON5 support, new sqlite3_config options, enhanced query planner optimizations, CLI improvements, additional SQL functions, extended PRAGMA integrity_check, subsecond time modifiers, and various bug fixes and performance enhancements.

CLIDatabase EngineFTS5
0 likes · 5 min read
SQLite 3.42.0 Release Highlights and New Features
Open Source Linux
Open Source Linux
Mar 21, 2023 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews the SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0, covering boolean literals, window functions, the FILTER clause, upsert syntax, column renaming, and related API changes, while comparing SQLite’s support to other major database systems.

FILTER clauseSQLSQLite
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Java Backend Technology
Java Backend Technology
Sep 17, 2022 · Databases

What New SQL Features Did SQLite Add in 2018?

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, UPSERT syntax, column‑renaming support, and other API changes, while comparing SQLite's capabilities to other major database systems.

Boolean LiteralsFILTER clauseSQL
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018?
Laravel Tech Community
Laravel Tech Community
Sep 7, 2022 · Databases

SQLite 3.39.3 Release Highlights: New JOIN Support, Binary Comparison Operators, and Performance Optimizations

SQLite 3.39.3, the latest version of the widely used embedded SQL database engine, introduces RIGHT and FULL OUTER JOIN support, new binary comparison operators IS NOT DISTINCT FROM and IS DISTINCT FROM, additional APIs such as sqlite3_db_name, enhanced file‑name handling, HAVING clause for aggregates, and overall CPU optimizations reducing cycles by about 2.3%.

APIsDatabase EngineSQL
0 likes · 2 min read
SQLite 3.39.3 Release Highlights: New JOIN Support, Binary Comparison Operators, and Performance Optimizations
WeChat Client Technology Team
WeChat Client Technology Team
Aug 30, 2022 · Databases

How WeChat Optimized Its Desktop Database for Speed, Size, and Reliability

This article analyzes the performance and storage problems of the Windows version of WeChat, explains why message growth causes slowness, large file size, and corruption risk, and presents a multi‑pronged solution involving sharding, indexing, payload compression, and robustness improvements that halve database size and boost I/O performance by about ten percent.

CompressionDatabase OptimizationIndexing
0 likes · 11 min read
How WeChat Optimized Its Desktop Database for Speed, Size, and Reliability
Python Programming Learning Circle
Python Programming Learning Circle
Jul 30, 2022 · Backend Development

Python Web Scraping Tutorial: Crawling QDaily, Storing in SQLite, Analyzing Data and Generating a Word Cloud

This tutorial walks through building a simple Python web crawler for the QDaily website, covering target analysis, environment setup, SQLite database creation, data extraction with requests and BeautifulSoup, storing articles and comments, performing basic analysis, and visualizing results with a word cloud.

BeautifulSoupData AnalysisPython
0 likes · 6 min read
Python Web Scraping Tutorial: Crawling QDaily, Storing in SQLite, Analyzing Data and Generating a Word Cloud
Open Source Linux
Open Source Linux
Jul 22, 2022 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

This article reviews SQLite's 2018 enhancements, covering Boolean literals, window functions, the FILTER clause, upsert support, column renaming, and related API changes, while highlighting limitations and compatibility notes compared with other major databases.

Boolean LiteralsSQLSQL features
0 likes · 12 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Top Architect
Top Architect
Jul 21, 2022 · Databases

Overview of SQLite’s New SQL Features in 2018 (Versions 3.22.0–3.26.0)

The article explains SQLite’s 2018 enhancements—including boolean literals, window functions, FILTER clause, UPSERT syntax, and column‑renaming—detailing how these features work, their syntax, limitations, and providing code examples for developers seeking to use SQLite in production environments.

Database FeaturesFILTER clauseSQL
0 likes · 10 min read
Overview of SQLite’s New SQL Features in 2018 (Versions 3.22.0–3.26.0)
MaGe Linux Operations
MaGe Linux Operations
Jul 15, 2022 · Databases

What New SQL Features Did SQLite Add in 2018? A Deep Dive

SQLite, often underestimated, introduced several powerful SQL enhancements in 2018—including boolean literals, window functions, FILTER clauses, UPSERT syntax, and column renaming—bringing its capabilities closer to major RDBMSes while retaining its lightweight, file‑based design.

Boolean LiteralsDatabase FeaturesSQL
0 likes · 11 min read
What New SQL Features Did SQLite Add in 2018? A Deep Dive
Liangxu Linux
Liangxu Linux
Jul 14, 2022 · Databases

What New SQL Features Did SQLite Add in 2018?

This article reviews the SQLite SQL enhancements introduced between versions 3.22.0 and 3.26.0 in 2018, covering boolean literals, window functions, FILTER clauses, UPSERT syntax, column renaming, and related API changes with code examples and practical notes.

SQLSQLiteUpsert
0 likes · 10 min read
What New SQL Features Did SQLite Add in 2018?
Programmer DD
Programmer DD
Jul 5, 2022 · Databases

SQLite 2018: New SQL Features – Booleans, Window Functions, Upserts & More

SQLite, often underestimated, has added powerful SQL capabilities in 2018—including true/false literals, advanced boolean checks, window functions, FILTER clauses, upsert support via INSERT ON CONFLICT, and column renaming—bringing its feature set closer to major databases while retaining its lightweight, file‑based architecture.

Boolean LiteralsSQLSQLite
0 likes · 12 min read
SQLite 2018: New SQL Features – Booleans, Window Functions, Upserts & More
Tencent Cloud Developer
Tencent Cloud Developer
Apr 25, 2022 · Databases

Implementing a Simple SQLite‑like Database in Go

The article walks through building a minimal SQLite‑style database in Go, covering memory‑disk page storage, B‑tree indexing, simple SQL parsing for INSERT and SELECT, row serialization, a pager that flushes pages, and a basic REPL, while highlighting current single‑page limits and future extensions.

B+ TreeGoSQLite
0 likes · 12 min read
Implementing a Simple SQLite‑like Database in Go
Laravel Tech Community
Laravel Tech Community
Feb 24, 2022 · Databases

SQLite 3.38.0 Released with New JSON Operators, Enhanced Date/Time Functions, and Query Planner Improvements

SQLite version 3.38.0 introduces new JSON operators compatible with MySQL and PostgreSQL, built‑in JSON functions, added unixepoch() and auto/julianday modifiers for date/time, renamed printf() to format(), enhanced virtual table interfaces, CLI columnar output options, and query planner optimizations using Bloom filters and balanced merge trees.

CLIDatabase EngineQuery Planner
0 likes · 4 min read
SQLite 3.38.0 Released with New JSON Operators, Enhanced Date/Time Functions, and Query Planner Improvements
WeChat Client Technology Team
WeChat Client Technology Team
Feb 22, 2022 · Mobile Development

How iOS WeChat Supercharged Search with SQLite FTS5 and Custom Tokenizers

This article details the 2021 overhaul of iOS WeChat's full‑text search, covering engine selection, segment‑merge optimization, a new VerbatimTokenizer, multi‑level separator support, table schema choices, asynchronous index updates, and extensive performance gains across chat, contacts, and favorites.

FTS5Performance OptimizationSQLite
0 likes · 27 min read
How iOS WeChat Supercharged Search with SQLite FTS5 and Custom Tokenizers
Sohu Tech Products
Sohu Tech Products
Oct 27, 2021 · Backend Development

Using PrettyTable in Python to Create Formatted Command‑Line Tables

This article introduces the PrettyTable Python library, explains how to install it, demonstrates creating tables with headers, adding rows and columns, importing data from CSV, databases, or HTML, and shows various output formats and styling options for clear command‑line presentation.

CSVPythonSQLite
0 likes · 13 min read
Using PrettyTable in Python to Create Formatted Command‑Line Tables
Alibaba Terminal Technology
Alibaba Terminal Technology
Oct 13, 2021 · Mobile Development

How Youku Built HarmonyOS Widgets: A Deep Dive into Mobile Development

This article details Youku’s practical experience developing HarmonyOS widgets, covering Ability packaging, mixed Android‑HarmonyOS builds, card UI designs, lifecycle callbacks, data fetching via WebView, local caching with SQLite, update strategies, and lessons learned for future mobile development on HarmonyOS.

AbilityData CachingHarmonyOS
0 likes · 15 min read
How Youku Built HarmonyOS Widgets: A Deep Dive into Mobile Development
Programmer DD
Programmer DD
Aug 21, 2021 · Backend Development

Why althttpd Is the Ultra‑Lightweight Web Server Behind SQLite.org

Discover how althttpd, the minimalist C‑based web server created by SQLite’s author Richard Hipp, powers the high‑traffic SQLite.org site with minimal resources, its simple design philosophy, low‑cost hardware usage, and why it makes an excellent learning project for developers.

C ProgrammingSQLitelightweight
0 likes · 3 min read
Why althttpd Is the Ultra‑Lightweight Web Server Behind SQLite.org
Python Programming Learning Circle
Python Programming Learning Circle
Aug 11, 2021 · Databases

Generating One Billion SQLite Rows in Under a Minute: Python, PyPy, and Rust Performance Comparison

A programmer needed to create a billion‑row SQLite test database within a minute, found a naïve Python script unbearably slow, applied batch inserts and SQLite PRAGMA tweaks, then compared CPython, PyPy, and Rust implementations, ultimately achieving sub‑minute runtimes with Rust and highlighting best‑practice optimizations.

PerformancePyPyPython
0 likes · 6 min read
Generating One Billion SQLite Rows in Under a Minute: Python, PyPy, and Rust Performance Comparison
Tencent Cloud Developer
Tencent Cloud Developer
Jul 27, 2021 · Backend Development

Comprehensive Guide to Go Unit Testing: Tools, Mocking, and Dependency Management

This guide explains Go’s built‑in testing framework, assertion libraries, table‑driven and sub‑tests, and demonstrates how to mock functions, structs, interfaces, databases, and Redis using tools such as ngmock, gomock, sqlmock and miniredis, while covering test setup, teardown, coverage handling, and best‑practice insights.

Dependency InjectionGoMock
0 likes · 21 min read
Comprehensive Guide to Go Unit Testing: Tools, Mocking, and Dependency Management
ITPUB
ITPUB
Jun 28, 2021 · Databases

How a 2,592‑Line C File Became the World’s Most Ubiquitous Database

The article recounts how Richard Hipp created SQLite—a tiny, fully embedded 900 KB database written in a single C file—that now powers billions of devices, and how his later Althttpd web server handles hundreds of thousands of requests daily, illustrating his prolific open‑source legacy.

AlthttpdDatabase historyRichard Hipp
0 likes · 7 min read
How a 2,592‑Line C File Became the World’s Most Ubiquitous Database
The Dominant Programmer
The Dominant Programmer
Dec 7, 2020 · Mobile Development

How to Perform CRUD on SQLite with Android Room ORM

This article walks through using Google’s Room ORM in an Android project to create a SQLite database, define entities and DAOs, set up a singleton database instance, and implement add, query, fuzzy search, and delete operations via a simple UI.

AndroidCRUDORM
0 likes · 11 min read
How to Perform CRUD on SQLite with Android Room ORM
Sohu Tech Products
Sohu Tech Products
Dec 2, 2020 · Mobile Development

How iOS Retrieves Night‑Mode Launch Images from applicationState.db

This article explains how iOS obtains the night‑mode launch image by analyzing the naming pattern of cached images, inspecting the SQLite‑based applicationState.db file, extracting the XBApplicationSnapshotManifest entry, and reconstructing the actual image path using system‑level data structures.

Mobile DevelopmentSQLiteapplicationState.db
0 likes · 9 min read
How iOS Retrieves Night‑Mode Launch Images from applicationState.db
MaGe Linux Operations
MaGe Linux Operations
Aug 8, 2020 · Databases

Master SQLite in Python: From Setup to Pandas Integration

This tutorial walks Python developers through using the built‑in sqlite3 library to create, query, and manage SQLite databases, demonstrates how to connect with SQL clients like DBeaver, and shows seamless integration with Pandas data frames for advanced data handling.

PythonSQLSQLite
0 likes · 8 min read
Master SQLite in Python: From Setup to Pandas Integration
vivo Internet Technology
vivo Internet Technology
Aug 5, 2020 · Mobile Development

An ORM Wrapper for Native SQLite in Android SDKs

The article presents Sponsor, a lightweight ORM‑style wrapper for Android’s native SQLite that uses runtime annotations and dynamic proxies to generate Retrofit‑like, type‑safe CRUD APIs, automatically handling table creation, upgrades, and threading while keeping performance overhead negligible for SDK developers.

AndroidORMPerformance
0 likes · 18 min read
An ORM Wrapper for Native SQLite in Android SDKs
Laravel Tech Community
Laravel Tech Community
May 25, 2020 · Databases

What’s New in SQLite 3.32.0? Key Features and Enhancements Explained

SQLite 3.32.0, the latest release of the world’s most widely used database engine, introduces approximate ANALYZE support, a bytecode virtual table, new SQL functions, expanded parameter limits, numerous CLI enhancements, and behavior changes that align the LIKE operator with PostgreSQL, offering developers richer functionality and improved compatibility.

CLI EnhancementsSQLSQLite
0 likes · 3 min read
What’s New in SQLite 3.32.0? Key Features and Enhancements Explained
ITPUB
ITPUB
Jan 16, 2020 · Information Security

How SQL Injection Works and How to Prevent It with Safe SQLite Code

This article explains what SQL injection is, demonstrates a vulnerable SQLite example that drops a table using malicious input, shows why the attack works, and provides practical prevention techniques such as using parameterized queries, input validation, unpredictable table names, and regular backups to secure databases.

Input ValidationSQL injectionSQLite
0 likes · 8 min read
How SQL Injection Works and How to Prevent It with Safe SQLite Code
JD Retail Technology
JD Retail Technology
Oct 25, 2019 · Backend Development

Design and Optimization Strategies for High‑Concurrency Instant Messaging Processing

This article explains how to handle high‑concurrency instant‑messaging scenarios by designing message deduplication, optimizing SQLite write performance with batch inserts and WAL mode, improving query speed with indexes and caching, and reducing UI refresh overhead through delayed and scroll‑aware updates.

Performance OptimizationSQLiteWAL
0 likes · 19 min read
Design and Optimization Strategies for High‑Concurrency Instant Messaging Processing
21CTO
21CTO
Dec 27, 2018 · Databases

SQLite vs MySQL vs PostgreSQL: Which Database Fits Your Needs?

This article compares SQLite, MySQL, and PostgreSQL across architecture, features, scalability, use cases, and limitations, helping developers choose the most suitable relational database for their specific application requirements.

MySQLPostgreSQLRDBMS
0 likes · 11 min read
SQLite vs MySQL vs PostgreSQL: Which Database Fits Your Needs?
WeChat Client Technology Team
WeChat Client Technology Team
Dec 6, 2018 · Databases

How SQLiteLint Detects Hidden Performance Issues in Mobile Apps

This article introduces SQLiteLint, a runtime analysis tool that automatically checks SQLite usage in mobile apps for index problems, redundant indexes, SELECT *, AUTOINCREMENT, missing prepared statements, and without‑rowid opportunities, enabling developers to catch performance issues before release.

Index OptimizationMobile DevelopmentSQLite
0 likes · 17 min read
How SQLiteLint Detects Hidden Performance Issues in Mobile Apps
MaGe Linux Operations
MaGe Linux Operations
Dec 21, 2017 · Databases

Master Python Database Operations: SQLite, MySQL, LMDB & LevelDB

This guide walks through installing and using four Python‑compatible databases—SQLite, MySQL, LMDB, and LevelDB—covering environment setup, core APIs, common CRUD patterns, and complete runnable examples to help developers choose and operate each storage engine effectively.

Database TutorialLMDBLevelDB
0 likes · 9 min read
Master Python Database Operations: SQLite, MySQL, LMDB & LevelDB
Hujiang Technology
Hujiang Technology
Dec 18, 2017 · Mobile Development

An Introduction to Android Room: Entities, DAO, Database, Migrations, and Advanced Usage

This article provides a comprehensive guide to Android's Room persistence library, covering the creation of Entity classes, defining Data Access Objects (DAO), building the RoomDatabase, handling foreign keys, embedded objects, query methods, LiveData and RxJava return types, as well as database migrations and type converters for complex data types.

AndroidMobile DevelopmentORM
0 likes · 11 min read
An Introduction to Android Room: Entities, DAO, Database, Migrations, and Advanced Usage
WeChat Client Technology Team
WeChat Client Technology Team
Oct 18, 2017 · Databases

How WeChat Supercharged Mobile Full‑Text Search with SQLite FTS Optimizations

This article explains the principles of SQLite’s Full‑Text Search extension, details WeChat’s architecture for mobile search, and shares practical performance‑tuning techniques—including custom tokenizers, offset function improvements, and SQL‑level ranking—to achieve sub‑50 ms query times on billions of records.

Mobile DevelopmentSQLiteWeChat
0 likes · 13 min read
How WeChat Supercharged Mobile Full‑Text Search with SQLite FTS Optimizations
Tencent TDS Service
Tencent TDS Service
Jun 15, 2017 · Databases

How We Built WCDB: Inside WeChat’s Open‑Source Mobile Database Evolution

This article chronicles the development of WCDB, WeChat’s open‑source mobile database, detailing its early challenges, performance bottlenecks, security risks, concurrency improvements, cross‑platform collaboration, and future roadmap for a more reliable and efficient data layer on iOS and Android.

AndroidPerformanceSQL injection
0 likes · 14 min read
How We Built WCDB: Inside WeChat’s Open‑Source Mobile Database Evolution
WeChat Client Technology Team
WeChat Client Technology Team
Jun 15, 2017 · Databases

How WCDB’s WINQ Eliminates SQL String Concatenation and Injection Risks

This article examines WCDB’s design principles for efficient, complete, and easy-to-use client-side databases, explains the pitfalls of SQL string concatenation such as code redundancy, debugging difficulty, and injection attacks, and describes how WCDB’s WINQ abstraction and ORM layer safely encapsulate SQLite syntax to enable concise, compile-time-checked queries.

C++ORMSQL injection
0 likes · 10 min read
How WCDB’s WINQ Eliminates SQL String Concatenation and Injection Risks
ITPUB
ITPUB
Jun 9, 2017 · Databases

Master SQLite: From Installation to Advanced Queries in One Guide

This comprehensive SQLite tutorial walks beginners through what SQLite is, how to install it on Windows and Linux, essential syntax, CRUD operations, database objects, functions, and language-specific programming interfaces, providing step‑by‑step instructions and visual aids for practical mastery.

InstallationSQLSQLite
0 likes · 10 min read
Master SQLite: From Installation to Advanced Queries in One Guide
MaGe Linux Operations
MaGe Linux Operations
May 23, 2017 · Backend Development

How to Build a Python Zhihu Web Scraper: Login, User Data, and More

This article walks through building a Python web scraper for Zhihu, covering login simulation, extracting user profiles, answer likers, followers, avatars, and all answers of a question, and storing the collected data in SQLite, while highlighting challenges like captcha and anti‑scraping limits.

BeautifulSoupSQLiteZhihu
0 likes · 10 min read
How to Build a Python Zhihu Web Scraper: Login, User Data, and More
Tencent TDS Service
Tencent TDS Service
Apr 27, 2017 · Databases

Cutting WeChat SQLite Corruption in Half: Strategies and Lessons

Facing a 0.02% SQLite corruption rate that threatened years of chat history, the WeChat mobile team identified three main causes—insufficient space, power loss, and sync failures—and implemented space management, full sync settings, and master‑table backups, halving damage and doubling repair success.

Data ReliabilityDatabase OptimizationSQLite
0 likes · 9 min read
Cutting WeChat SQLite Corruption in Half: Strategies and Lessons
Hujiang Technology
Hujiang Technology
Mar 20, 2017 · Databases

Cross‑Platform SQLite Development with Free Pascal and CodeTyphon

This tutorial demonstrates how to build a single, reusable SQLite library in Free Pascal using CodeTyphon, covering platform‑specific APIs, export conventions for Android, iOS, PC, and detailed compilation and usage examples across Android, iOS, macOS, Linux, and Windows.

AndroidCodeTyphonFree Pascal
0 likes · 9 min read
Cross‑Platform SQLite Development with Free Pascal and CodeTyphon
WeChat Client Technology Team
WeChat Client Technology Team
Aug 15, 2016 · Databases

Boosting SQLite Performance on iOS: Threading, I/O, and Busy Retry Optimizations

This article explains how WeChat's iOS client tackled SQLite performance bottlenecks by introducing multi‑handle threading, enabling WAL mode, redesigning the Busy‑Retry mechanism, and applying I/O enhancements such as preserving WAL size and mmap usage, resulting in over 90% reduction in perceived lag.

ConcurrencyDatabase OptimizationPerformance
0 likes · 14 min read
Boosting SQLite Performance on iOS: Threading, I/O, and Busy Retry Optimizations
MaGe Linux Operations
MaGe Linux Operations
Aug 25, 2015 · Databases

Why SQLite Might Be the Perfect Database for Mobile Apps

This article introduces SQLite, a lightweight ACID‑compliant relational database widely used in mobile devices, detailing its zero‑configuration design, key features, limitations, transaction and locking mechanisms, and the Write‑Ahead Logging mode that enables concurrent reads and writes.

Mobile DevelopmentSQLiteTransactions
0 likes · 11 min read
Why SQLite Might Be the Perfect Database for Mobile Apps
WeChat Client Technology Team
WeChat Client Technology Team
Aug 24, 2015 · Databases

How We Boosted SQLite Chat Performance: Fragment Caching, Table Splitting, and Index Refactoring

This article details a multi‑stage performance overhaul of a large‑scale chat application's SQLite database, covering trace‑based I/O analysis, view caching with Fragments, table‑splitting experiments, index size reduction, and the development of a PageTracer tool to quantify page‑level gains.

AndroidFragmentPageTracer
0 likes · 21 min read
How We Boosted SQLite Chat Performance: Fragment Caching, Table Splitting, and Index Refactoring