Post

Table Full Scan/ Index Range Scan/ Index Full Scan

βœ… Table Full Scan

  • read all blocks in table to find data
  • used for database optimization, optimizing query
  • πŸ‘ŽπŸ» can affect database performance if the table is big, query is complex

βœ… Index Range Scan

  • use index to read certain data
  • use ROWID to find table record
  • ROWID: point to where table record is saved on disk

βœ… Index Full Scan

  • not read all table, but read all index
  • index is much smaller than table
This post is licensed under CC BY 4.0 by the author.