MySQL: Delete a subset in a table quickly

Published 2009-06-21, 14:04

Heute mal wieder über einen netten MySQL-Hack gestolpert:

The trick is, that INNER JOIN will ’shrink‘ the LargeTable down to the size of the TemporarySmallTable and the delete will operate on that smaller set only, since USING will reference to the joined table.

http://blog.mkoebele.de/2008/07/mysql-delete-subset-in-table-quickly.html
http://dev.mysql.com/doc/refman/5.0/en/delete.html#c9536

Mehr davon bitte…

Topic(s): Link, MySQL, Technik No comments - :(

Diskussion zum Artikel

» Selbst kommentieren

  1. Zum Artikel MySQL: Delete a subset in a table quickly sind noch keine Kommentare vorhanden. Deine Meinung wäre jedoch willkommen!

Selbst kommentieren

Trackback-URI, Kommentarfeed. XML-Feed





17 queries. 0,095 seconds.