Bandwidth และ Storage ต่างกันอย่างไร Hosting ต้องการเท่าไร
Bandwidth vs Storage in hosting: what each means, how much you need, and what "unmetered" bandwidth really means.
สารบัญ
Bandwidth คืออะไร
Bandwidth ใน Hosting หมายถึงปริมาณข้อมูลที่ถ่ายโอนระหว่างเซิร์ฟเวอร์กับผู้เข้าชม ทุกครั้งที่ผู้เข้าชม Load หน้าเว็บ ดาวน์โหลดรูปภาพหรือไฟล์ ข้อมูลเหล่านั้นนับเป็น Bandwidth ที่ใช้ไป วัดเป็น GB หรือ TB ต่อเดือน
Bandwidth in hosting is the volume of data transferred between the server and visitors. Every time a visitor loads a page, downloads images, or accesses files, that data counts toward bandwidth usage. Measured in GB or TB per month.
- หน้า 1MB × 1,000 Visit = 1GB Bandwidth
- รูปภาพ, CSS, JS รวมอยู่ใน Bandwidth ด้วย
- วัดเป็น GB/เดือน หรือ TB/เดือน
- ทิศทาง: Outbound เป็นหลัก (Server → ผู้เข้าชม)
- Bandwidth สูง = รองรับ Traffic ได้มาก
Storage คืออะไร
Storage ใน Hosting คือพื้นที่จัดเก็บข้อมูลบนเซิร์ฟเวอร์ ประกอบด้วยไฟล์ทั้งหมดในเว็บไซต์ได้แก่ HTML, PHP, CSS, JS, รูปภาพ, Video, Database และ Email วัดเป็น GB หรือ TB และเป็นพื้นที่ที่ใช้ตลอดเวลา ไม่ขึ้นรอบเดือน
Storage in hosting is disk space on the server for all your website files: HTML, PHP, CSS, JS, images, videos, databases, and email. Measured in GB or TB, used continuously — not reset monthly.
- ไฟล์เว็บ: HTML, PHP, CSS, JS, รูป
- Database: WordPress Database (wp_ tables)
- Email: ถ้าใช้ Email บน Hosting เดียวกัน
- อีเมลกินที่เยอะ: 1GB Email = ที่จอง 1GB
- Temp Files, Cache, Log ก็นับใน Storage
Bandwidth vs Storage ต่างกันอย่างไร
Storage = ที่เก็บของ (เหมือนพื้นที่บ้าน) Bandwidth = ปริมาณของที่เคลื่อนย้ายต่อเดือน (เหมือนถนนความจุรถ) เว็บที่มี Storage 5GB แต่เว็บขนาดนั้นอาจใช้ Bandwidth 100GB/เดือนถ้ามีผู้เข้าชมเยอะ
Storage = storage space (like house floor area). Bandwidth = monthly data movement volume (like road traffic capacity). A 5GB storage website might use 100GB/month bandwidth with many visitors.
- Storage: คงที่ ไม่ขึ้นกับ Traffic
- Bandwidth: ขึ้นกับ Traffic (Visit × Page Size)
- Storage เต็ม: Upload ไฟล์ไม่ได้
- Bandwidth เกิน: เว็บอาจช้าหรือโดน Suspend
- ทั้งคู่สำคัญ แต่กระทบคนละแบบ
คำนวณ Bandwidth ที่ต้องการ
สูตรประมาณ: Bandwidth/เดือน = จำนวน Visit/วัน × ขนาดหน้าเฉลี่ย (MB) × 30 วัน × 1.2 (Safety Factor) ตัวอย่าง: 500 Visit/วัน × 1MB × 30 × 1.2 = 18GB/เดือน เว็บเฉลี่ย 1,000 Visit/วัน ต้องการ 30-50GB/เดือน
Formula: Monthly Bandwidth = Daily Visits × Average Page Size (MB) × 30 days × 1.2 (safety factor). Example: 500 visits/day × 1MB × 30 × 1.2 = 18GB/month. Average websites at 1,000 visits/day need 30-50GB/month.
- 500 Visit/วัน × 1MB × 30 = 15GB/เดือน
- ตั้ง Safety Margin 20%: × 1.2
- ตรวจสอบ Bandwidth ที่ใช้จริงใน cPanel
- Traffic Spike: โปรโมชัน อาจ × 5-10
- Google Analytics: ดู Average Page Views
Unmetered Bandwidth คืออะไร
Unmetered Bandwidth ไม่ได้แปลว่าไม่จำกัดจริงๆ หมายความว่าไม่ตั้ง Quota GB ต่อเดือน แต่ยังถูกจำกัดด้วยความเร็ว Port ของเซิร์ฟเวอร์ และ Fair Use Policy บาง Hosting ระบุ Unmetered แต่มี CPU/IOPS Limit ที่จำกัดกว่า
Unmetered Bandwidth doesn't mean truly unlimited — it means no GB quota per month, but still limited by server port speed and fair use policy. Some hosting says "unmetered" but has more restrictive CPU/IOPS limits.
- Unmetered ≠ Unlimited (ยังมีขีดจำกัด)
- Server Port: 100Mbps = ความเร็วสูงสุดที่ Port ได้
- Fair Use: ถ้าใช้ Bandwidth สูงผิดปกติ อาจโดน Investigate
- Shared Hosting Unmetered: อยู่บน Fair Use เสมอ
- VPS Unmetered: มักแปลว่า Port Speed กำหนด
SSD vs HDD Storage ต่างกันอย่างไร
SSD เร็วกว่า HDD 5-10 เท่าสำหรับ Random Read/Write ซึ่งส่งผล Database Query โดยตรง NVMe SSD เร็วกว่า SATA SSD อีก 3-5 เท่า Hosting ที่ดีใช้ NVMe SSD ทำให้ WordPress Database Load เร็ว
SSD is 5-10× faster than HDD for random read/write operations, directly impacting database query speed. NVMe SSD is another 3-5× faster than SATA SSD. Quality hosting uses NVMe SSD for fast WordPress database loading.
- HDD: ช้า เสียงดัง แต่ถูกกว่า
- SATA SSD: เร็วกว่า HDD 5-10 เท่า
- NVMe SSD: เร็วกว่า SATA 3-5 เท่า (M.2/PCIe)
- WordPress: Database บน NVMe = เร็วมาก
- เลือก Hosting ที่ระบุ NVMe ชัดเจน
Storage Quota ใช้งานจริง
เว็บ WordPress ทั่วไปใช้ Storage 500MB-2GB ถ้าไม่มีรูปภาพเยอะ รูปภาพ Product สำหรับ E-commerce กินเนื้อที่มาก อาจต้องการ 5-20GB Email หนึ่ง Account อาจกิน 1-5GB ถ้าไม่ลบเลย
A regular WordPress site uses 500MB-2GB without many images. E-commerce product images are space-heavy, potentially needing 5-20GB. A single email account may consume 1-5GB if never deleted.
- WordPress เปล่า: ~300MB
- WordPress + Plugin + Theme: ~500MB-1GB
- รูปภาพเยอะ: 5-20GB ขึ้นไป
- Email 1 Account: 1-5GB ถ้าไม่ลบ
- Log File: ถ้าไม่ Rotate อาจใหญ่มาก
ถ้าเกิน Storage หรือ Bandwidth Limit
เกิน Storage: อัพโหลดไฟล์ใหม่ไม่ได้ Database อาจ Error ต้องลบไฟล์หรือ Upgrade Plan เกิน Bandwidth: เว็บอาจโดน Suspend หรือช้าลง หรือโดนชาร์จค่าเพิ่ม ขึ้นกับ Policy ของ Hosting
Exceeding storage: can't upload new files, database may error — must delete files or upgrade plan. Exceeding bandwidth: site may be suspended, slowed, or charged overage fees depending on hosting policy.
- Storage เต็ม: Upload ล้มเหลว Database Error
- Bandwidth เกิน: เว็บ Suspend หรือโดนชาร์จ
- แก้: ลบไฟล์ / Upgrade Plan / ใช้ CDN ลด BW
- ติดตาม Usage: cPanel → Statistics
- Alert: ตั้งแจ้งเตือนเมื่อใกล้เต็ม
เลือก Hosting Plan ที่ Storage และ Bandwidth เหมาะสม
มือใหม่: Storage 5-10GB, Bandwidth 20-50GB/เดือน Blog ทั่วไป: Storage 10-20GB, Bandwidth 50-100GB E-commerce: Storage 20GB+, Bandwidth 100GB+ หรือ Unmetered VPS/Cloud: กำหนด Storage และ Bandwidth เองตามต้องการ
Beginners: 5-10GB storage, 20-50GB/month bandwidth. Regular blog: 10-20GB storage, 50-100GB bandwidth. E-commerce: 20GB+ storage, 100GB+ bandwidth or unmetered. VPS/Cloud: configure exactly what you need.
- มือใหม่: Storage 5GB, BW 20GB/เดือน
- Blog: Storage 10GB, BW 50GB/เดือน
- E-commerce: Storage 20GB+, BW Unmetered
- Video Hosting: ต้องการ Storage สูงมาก
- CDN: ช่วยลด Bandwidth จาก Origin ได้ 70-80%