ZXpower ([info]nfoworm) rakstīja [info]koderi kopienā,
@ 2005-11-04 14:01:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
MySQL HANDLER
Reāli noderīga informācija par MySQL ISAM tabulu izmantošanu - http://www.00f.net/php/show-article.php/lockless_queries_with_mysql_handler


(Ierakstīt jaunu komentāru)


[info]grrr
2005-11-04 14:54 (saite)
Bypassing the SQL layer can lead to incomplete results. For instance, if a DELETE query deletes 10000 rows, a concurrent SELECT query will usually either return these 10000 rows (is executed before the DELETE), or none of these rows (if executer afterwards). By using HANDLER...READ instead of SELECT, you can get 0, 10000 or maybe 4736 rows because the data will be fetch while the DELETE query will be in progress.

[info]grrr saķer galvu un aiziet nošauties. Jeb varbūt kādu nošaut drīzāk.

(Atbildēt uz šo) (Diskusija)


[info]nfoworm
2005-11-04 15:04 (saite)
Nu labi - tas jau galeejais variants. Shito manupraat vislabaak var izmantot uz lasiishanu.

(Atbildēt uz šo) (Iepriekšējais)


Neesi iežurnalējies. Iežurnalēties?