| От | Florian Weimer |
|---|---|
| Тема | Re: [OT] MySQL is bad, but THIS bad? |
| Дата | |
| Msg-id | 87u07nuczm.fsf@mid.deneb.enyo.de обсуждение |
| Ответ на | [OT] MySQL is bad, but THIS bad? ("Mark Woodward" <pgsql@mohawksoft.com>) |
| Список | pgsql-hackers |
* Mark Woodward: > "On the other hand, you shouldn't use mysql_use_result() if you are doing > a lot of processing for each row on the client side, or if the output is > sent to a screen on which the user may type a ^S (stop scroll). This ties > up the server and prevent other threads from updating any tables from > which the data is being fetched." > > How do busy web sites work like this? Any system based on locking exhibits this problem. Even with MVCC, you can run into it if you've got multiple writers. As a rule of thumb, I never perform network I/O within transactions which update the database (or "read the database", for systems without MVCC).
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера