Derived category of varieties with $K_X > 0$ or $K_X < 0$