Home » MYSQL » Mysql Query Optimization » Question
  1. Which of these comparisons is slowest?
    1. BIGINT/BIGINT
    2. INT/INT
    3. INT/BIGINT
    4. All are of same speed
    5. None of these
Correct Option: C

On comparing indexed columns, identical data types will give better performance than dissimilar types. So an INT/INT or BIGINT/BIGINT comparison is faster than an INT/BIGINT comparison.



Your comments will be displayed only after manual approval.