Better HN
topnewbestaskshowjobs
Log inSign up

ftaurino

1 karma · joined Apr 10, 2017 (9y ago) · 2 submissions

Submissions

comment 9y ago · link · parent

MySQL has BIG problems with views. If the view statement contains aggregate functions, distinct, group by and some others constructs, the results from the view are retrieved into a temporary table, which then is used to execute the statement. If involved tables contain tens of thousands of records, this behaviour will hinder performance. In PostgreSQL you don't have to worry.