Re: Sorting performance vs. MySQL
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Sorting performance vs. MySQL |
| Дата | |
| Msg-id | 20100222192756.GH4629@alvh.no-ip.org обсуждение исходный текст |
| Ответ на | Sorting performance vs. MySQL (Yang Zhang <yanghatespam@gmail.com>) |
| Ответы |
Re: Sorting performance vs. MySQL
|
| Список | pgsql-general |
Yang Zhang escribió: > I have the exact same table of data in both MySQL and Postgresql. In Postgresql: I just noticed two things: [snip lots of stuff] 1. > ) ENGINE=MyISAM AUTO_INCREMENT=50410166 DEFAULT CHARSET=latin1 You're doing a comparison to MyISAM. 2. > select * from metarelcloud_transactionlog order by transactionid; You're reading the whole table. This is unlikely to fly very far. I suggest you try some query that's actually going to be used in the real world. -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc.
В списке pgsql-general по дате отправления: