Changes between Initial Version and Version 1 of Ticket #25470
- Timestamp:
- Sep 26, 2015, 7:47:34 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25470 – Description
initial v1 21 21 }}} 22 22 23 Actually the second query did a type cast. This is the root cause of the slow.23 I noticed that the second query did a type cast. The cast is not a necessary step. It slows down when the amount of records is huge. I pretty sure this is the root cause of the slow. 24 24 25 I'd like to know, why django cast DATE to DATETIME. Is it a bug? 25 The table is created by django. The field is exactly `DATE` field. I'd like to know, why django cast DATE to DATETIME. Is it a bug?