Automatically translated.View original post

Light database sqlite3

# Trending # Web Site Writing Basics

# Lemon 8 Howtoo # Drug sign with lemon8 # lemon 8 diary

🗄️ is SQLite3?

SQLite3 is a Relational Database Management System - RDBMS that is very special and popular because it is an Embedded or Serverless database.

Definition: SQLite is not a standalone application that requires a separate server (like MySQL or PostgreSQL) to be installed, but a library (library) embedded directly into the application itself.

Storage format: All databases (tables, data, indexes) are stored in a single file, on the user's disk (typically a file with a extension such as .db or .sqlite).

In other words, SQLite is the most widely used database engine in the world because it is embedded in many software and devices such as web browsers (Firefox, Chrome), mobile operating systems (Android, iOS), and small desktop software.

👍 The main advantages of SQLite3

SQLite has several advantages that make it suitable for specialized applications:

1. ⚙️ No server required (Serverless)

Ease: No Server Process required to run behind the scenes. No installation, setup, or maintenance of complex servers.

Connection: Connecting to a database is simple, just open and read the database file directly.

2. 💨 Lightweight & Fast (Lightweight & Fast)

Small: The library itself is very small (about 500 KB to 1 MB), making it ideal for embedding in devices with limited resources such as mobile, IoT, and embedded systems.

Performance: For data reading (Read Operation) is usually faster than server-based databases in low to moderate use environments.

3. 💾 Easy storage

Single file: All data is included in a single file, making it easy to store, copy, move, or back up (just Copy files).

Cross-Platform: Database files can be instantly copied to use on different operating systems (e.g. built on Linux and then opened on Windows).

4. 🔬 Suitable for Development & Testing

Developers often use SQLite as a database for Local Development (local development) and Unit Tests runs because it's easy to install and quick to get started.

5. 🛡️ ACID support (Transaction Compliance)

Even though it is a small database, SQLite still supports ACID (Atomicity, Consistency, Isolation, Durability) features, ensuring that transactions (Transactions) are accurate and reliable.

2025/11/28 Edited to

... Read moreถ้าเพิ่งเริ่มทำเว็บ/แอปแล้วเจอคำว่า “SQLite” บ่อย ๆ ฉันเคยงงเหมือนกันว่า sqlite คืออะไร แล้วต่างจาก MySQL/PostgreSQL ยังไง สรุปที่เข้าใจง่ายที่สุดคือ SQLite เป็นฐานข้อมูลเชิงสัมพันธ์ที่ “อยู่เป็นไฟล์เดียว” และ “ไม่ต้องมีเซิร์ฟเวอร์” แยกให้ปวดหัว เวลาใช้งานก็เหมือนเราเปิดไฟล์ .db / .sqlite แล้วสั่ง SQL คุยกับมันได้เลย สิ่งที่ฉันชอบมากคือมันเหมาะกับงานเริ่มต้นและงานทดลองสุด ๆ เช่น ทำโปรเจกต์เล็ก ๆ, ทำระบบเก็บข้อมูลในเครื่อง (local), หรือทำแอปมือถือที่อยากมีฐานข้อมูลติดไปกับแอป พอเราแพ็กโปรเจกต์ไปไหนก็แค่พกไฟล์ฐานข้อมูลไฟล์เดียว จบ ตัวอย่างการใช้งานที่เจอบ่อย (อิงจากที่หลายคนทำจริง) - แอปมือถือ: เก็บข้อมูลออฟไลน์ เช่น รายการสินค้า/บันทึก/ประวัติการใช้งาน แล้วค่อยซิงก์ทีหลัง - งานทดสอบ/พัฒนาในเครื่อง: ใช้แทนฐานข้อมูลจริงตอน dev เพราะตั้งค่าง่าย เปิดปุ๊บใช้ได้ปั๊บ - โปรแกรมเดสก์ท็อปเล็ก ๆ: เช่น โปรแกรมจัดการ “ตารางสินค้า (products)” เก็บรหัส ชื่อ ราคา รายละเอียด ที่อยู่รูปภาพไว้ในไฟล์เดียว ถ้าถามว่าเริ่มใช้ SQLite ต้องมีเครื่องมืออะไรบ้าง ฉันมักเริ่มจาก 2 แบบนี้ 1) ใช้คำสั่งในเทอร์มินัล: ติดตั้ง sqlite3 แล้วสั่งสร้างไฟล์ฐานข้อมูล จากนั้น CREATE TABLE/INSERT/SELECT ได้เลย 2) ใช้โปรแกรม GUI: อย่าง Browser for SQLite จะเห็นตารางชัดมาก เหมาะกับคนอยากคลิกดูข้อมูลในตาราง เช่น products ดูคอลัมน์รหัสสินค้า ชื่อ ราคา รายละเอียด และ path รูปภาพ แก้ไขได้สะดวก ข้อควรรู้ก่อนเลือกใช้ (อันนี้ช่วยตัดสินใจได้ดี) - SQLite เหมาะกับงานผู้ใช้ไม่เยอะมากหรือไม่ได้เขียนพร้อมกันหนัก ๆ เพราะมันล็อกไฟล์เวลามีการเขียน ถ้ามีการเขียนพร้อมกันจำนวนมากอาจช้ากว่าฐานข้อมูลแบบเซิร์ฟเวอร์ - แต่ถ้าเน้นอ่านเยอะ ๆ (read-heavy) หรือเก็บข้อมูลในเครื่อง/ต้นแบบโปรเจกต์ SQLite ตอบโจทย์มาก สรุปมุมมองของฉัน: ถ้าคุณกำลังหาฐานข้อมูลที่ “เริ่มง่าย เบา ไฟล์เดียว ไม่ต้องตั้งเซิร์ฟเวอร์” และยังใช้ SQL แบบ relational ได้เต็ม ๆ SQLite3 คือหนึ่งในตัวเลือกที่คุ้มและเป็นมิตรกับมือใหม่สุด ๆ

Related posts

Notion 101 just in time for back to school 👩🏻‍💻📚 Teamed up with @Notion for this one so you’ll find a link to get started with notion for free in my bio & a FULL deep dive tutorial over on YouTube! I’ve been using Notion for so many years so this was so fun to make - drop your questions,
Chantal 👩🏻‍💻 PaperNRoses

Chantal 👩🏻‍💻 PaperNRoses

826 likes

A screen displaying Python code for checking duplicates and an 'orders' dictionary, alongside a file directory. An overlay text expresses a PM's frustration about a small copy change requiring two sprints from developers.
A user interface for assigning tasks, showing various team members including 'simon', 'charlie', and 'engine'. The 'engine' option is highlighted, with an overlay text stating, 'Now I have an AI dev that actually closes tickets...'
A laptop screen shows the EngineLabs.ai website, advertising 'Engine' as a remote AI software engineer that turns issues into pull requests. An overlay promotes shipping faster and reducing stress by using EngineLabs.ai.
PM's secret weapon! #coding #programming #developer #techtok #engine #usptp
dewdropghost

dewdropghost

16 likes

#PhotoDump
Olivia Morgan

Olivia Morgan

1 like

My Content Repurposing Strategy
How I Repurpose My Content & Stay Organized As A Creator 💁‍♀️ #contentcreatortips #contentcreation #contentstrategy #businesstipsforwomen #onlinebusinessforbeginners
Inuri

Inuri

31 likes

Meal Prep Like A Pro part 2!
Part 2 is here! In this one we're taking everything we prepped in Part 1 and inputting it into our food tracking app so we actually know what we're eating. I use Cronometer to track my food. I know this part can feel like a lot so save this video and come back to it as many times as you
Lay

Lay

661 likes

After Searching "My Database In My Head"
#Lee #wolf #vtuber #pngtuber #fyp
Vtuber Lee

Vtuber Lee

5 likes

SageParade🔮✨🌙

SageParade🔮✨🌙

24 likes

Gabriella Fernandez✨

Gabriella Fernandez✨

8 likes

#greenscreen #greenscreenvideo @Eric Thor
Seema R

Seema R

0 likes

A desk setup featuring a laptop displaying colorful artwork and a monitor showing online course material for "Database Essentials for Business". The desk includes a colorful keyboard and various decorative items, with a "it's tuesday" text overlay.
🤍 happy tuesday 🤍
getting my homework out of the way early this week since my sons football team made the championship 🥹🫶🏽 i also updated my notion!! new colors, new vibe, more organization has been added to my home page. 🩷💚 #notion #collegestudent #footballmom #Apple
Drue Alexandria 🐆

Drue Alexandria 🐆

8 likes

#greenscreen
Seema R

Seema R

0 likes

#news #royals #royalsfamilys
Daily News5 Trending❤️

Daily News5 Trending❤️

2 likes

#fyp #foryoupage #foryou #police #capcut
lackluster07

lackluster07

4 likes

The obvious disclaimer, I am a scientist, not a medical professional. This video is meant for educational purposes as I’m simply providing the wealth of data and what that data is saying/showing. #fitness #scientificsnitch #gym #gymmotivation #health #healthtips #healthy #fitnesstips #gym
Scientific Snitch

Scientific Snitch

0 likes

This infographic, titled "Location Tracking Techniques" by Dan Nanni, details 23 methods for determining location. It covers techniques like IP address geolocation, GPS, Wi-Fi, Bluetooth, RFID, thermal imaging, LIDAR, and online user activity patterns, each with a brief explanation.
Location tracking techniques
Your location information can leak through multiple data sources, such as GPS, Wi-Fi, Bluetooth, cellular networks, and device sensors, each offering varying levels of accuracy Here are available location tracking techniques 😎👆 #privacy #TechTips #technology Find high-res pdf books wi
Learn Linux with Dan

Learn Linux with Dan

235 likes

This is disturbing #foryoupage #fyp #foryou
Lemon8er

Lemon8er

149 likes

3 days free trial now in #CalDiet @caldiet.official
Dr.jaimeeDPT

Dr.jaimeeDPT

12 likes

A man stands shirtless in a gym locker room, with text overlaid: 'Rating calorie trackers that helped me stay fit in my 20s 🥑✨'.
The MyFitnessPal app icon is displayed over a gym background, rated 6/10. Text highlights its outdated reputation, cluttered social features, and unmatched food database.
The Cal AI app icon is shown over a treadmill with feet, rated 7/10. Text notes photo logging issues with mixed meals, male-centric design, and lack of community features.
Unlocking the secret to staying fit in your 20s 🍏💪
Transform the way you track your meals with Nutri AI! Just snap a photo and let the app do the rest. 📸✨ #health #lifestyle #nutriai #103tr
Nawinski

Nawinski

0 likes

Organized, Stress Free, and on top of EVERYTHING.
Ever since I started using this planner, I finally stopped stressing about grades and deadlines. Instead of guessing where I stand in a course, I know my exact GPA, every due date, and even small progress I’ve made along the way. It’s literally like having an academic safety net built into my daily
Byst

Byst

9 likes

- * No but fr. When i learn bout hacking into the MAINSTREAM DATABASE…ITS OVER FOR YALL 🤣💞 #informationtechnology #MIT #mastersdegree #cybersecurity #techtok #hacking
Lipschmack

Lipschmack

1 like

#story #storytime #storytelling #stories
Hdigger12

Hdigger12

1 like

3 days free trial now in #CalDiet @caldiet.official
Dr.jaimeeDPT

Dr.jaimeeDPT

7 likes

Notion Book database
Check out my Notion book database! I tweaked some templates, and it's the best place to keep all my book logs, etc. 📚💻 #Notion #Books #Database #booksoflemon8
✨️ Steph Reads ✨️

✨️ Steph Reads ✨️

2 likes

A list titled 'Top Cybersecurity GitHub Projects' created by Dan Nanni, updated 2026/1. It displays 25 GitHub projects with their star counts, repository names, and brief descriptions, covering tools for hacking, pentesting, reverse engineering, proxies, and security scanning.
Top cybersecurity-related GitHub projects
My top GitHub list for cybersecurity projects is updated for this month 😎👆 Explore top-ranked FOSS projects spanning both the defensive and offensive sides of cybersecurity. Find a high-res pdf book with all my cybersecurity related infographics from https://study-notes.org #cybersecurity
Learn Linux with Dan

Learn Linux with Dan

50 likes

A desk setup features a computer monitor displaying text, a laptop, a glass of tea, and a notebook with pens. Overlay text announces "Making Money Selling Prompts w/ ChatGPT" and "I PROVIDE ALL THE STEPS AND PROMPTS BELOW," with an arrow pointing downwards.
A desk setup shows a computer monitor displaying code and a laptop with a "Lender Filter Tool" interface. Overlay text states "Step 1 Create Prompt Packs" and instructs to "USE CHATGPT TO HELP YOU GENERATE HIGH-VALUE PROMPT PACKS FOR NICHES LIKE: Business Automation, Content Creation, Personal Productivity," accompanied by a ChatGPT logo.
A desk setup includes a computer monitor showing code and a laptop displaying a web page. Overlay text reads "Step 2 Setup Your Storefront" and advises to "UPLOAD YOUR PROMPT PACKS AS DIGITAL DOWNLOADS ON: --Etsy & Pinterest (Beginners) --Gumroad or Lemon Squeezy (Pros)," with logos for Etsy and Pinterest.
The AI Money Blueprint w/ ChatGPT
Follow these 3 simple steps to stay focused and start selling. I provide all the steps and prompts below. ⤷ Step 1: Create Prompt Packs Use ChatGPT to generate high-value prompt packs for niches like business automation, content creation, and productivity. ⤷ Prompt: Create 10 advanced ChatG
Deft Point Consulting

Deft Point Consulting

242 likes

A computer monitor displays the Canva website, showing design templates and recent projects like "Pickleball Flyer" and "Pickleball T-shirt Design," illustrating its use for fundraising design tasks.
A laptop screen displays an Excel spreadsheet titled "Donor Data" with columns for "Responsible Party," "Organization Name," and "Received," demonstrating its use for gift tracking in fundraising.
A laptop screen displays an Outlook Calendar for May 18-24, 2025, showing a detailed work week with appointments like "Private Appointment" and "Employee Event," highlighting its use for scheduling fundraising tasks.
6 Tools I Use Every Week in Fundraising
If you're curious what powers nonprofit fundraising, here are my go-to tools: 1️⃣ Raiser’s Edge (donor database life!) 2️⃣ Canva (for all things design) 3️⃣ Excel (for gift tracking & budget planning) 4️⃣ Qgiv (our fundraising platform) 5️⃣ OneNote (my brain in digital form) 6️⃣
Natalee Bean

Natalee Bean

22 likes

Cake Pricing Breakdown! This is how I PERSONALLY price my custom cakes. Some bakers might charge more, some less—it all depends on experience, ingredients, time, and design. This is just where I’m currently comfortable. Delivery is always a separate charge—75¢ per mile round trip. And I didn
Favored Flavors

Favored Flavors

14 likes

DIML as a med student researcher !
Almost done with research year and onto MS4 😁 One of the best tips I have for med students is to keep a consistent workout routine to the very best of your ability… changes your mood, outlook, physical function, everything! I live for my morning SoulCycle 🫶🫶 even if it means going to bed at 9pm
Beth C. | MS 3.5

Beth C. | MS 3.5

4 likes

Comment 👉🏾RESOURCE👈🏾 to find safer games for your kids and teens! 🩷
Fareedah | Protect Kids Online

Fareedah | Protect Kids Online

2 likes

things u need to do as a first year sports player
sorry if u can’t read the 4th text. if you can’t tell me in the comment or something and will fix it #sports #firstyearsportsplayer #firstyears #athletic
Burkey3.0

Burkey3.0

1 like

#GutHealth #BloatingRelief #guthealthmatters
Tiffany | Gut & Hormones

Tiffany | Gut & Hormones

0 likes

See more