How to Test the Database

How to Test the Database

Post Date : 2022-11-12T18:31:01+07:00

Modified Date : 2022-11-12T18:31:01+07:00

Category: cheatsheet

Tags: database

Things you may concern when test your database

Basic

  1. CRUD
  2. Data mapping

Steps

  1. Setup environment
  2. Prepare data and testcases
  3. Run tests
  4. Report

Details

  1. Schema
  2. Database Table, Column
  3. Keys and Indexes
  4. Stored Procedures
  5. Trigger
  6. Database Server Configuration
  7. Functional
  8. Data integrity and consistency

Non functional testing

  1. Performance testing
  • Load testing
  • Stress testing
  • Endurance testing
  • Spike testing
  • Volume testing
  • Scalability testing

Common Performance Problems

  • Long Load time
  • Poor response time
  • Poor scalability
  • Bottlenecking

Common performance bottlenecks

  • CPU utilization
  • Memory utilization
  • Network utilization
  • Operating System limitations
  • Disk usage

References