| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Charles Kirby | Date: | March 11 1999 7:43pm |
| Subject: | Re: sort of defragmentation? | ||
| View as plain text | |||
Aha, yes, and speaking of dependencies, are table-to-table dependencies spelled out anywhere (I couldn't find this in the on-line manual)? If, for instance, you deleted a line from a table like "contacts", could this leave any orphan data? Thanks, ck On Thu, 11 Mar 1999, Christian Mack wrote: > But try this: > > LOCK TABLE fruits WRITE > DELETE FROM fruits WHERE ID=2 > UPDATE fruits SET ID=ID-1 WHERE ID>2 > UNLOCK TABLE > > This obviously only works, if you delete only one row. > And you have to watch out for dependencies on ID in other tables. > > Tschau > Christian
| Thread | ||
|---|---|---|
| • sort of defragmentation? | Mike Otto | 11 Mar |
| • Re: sort of defragmentation? | kalle volkov | 11 Mar |
| • Re: sort of defragmentation? | Christian Mack | 11 Mar |
| • Re: sort of defragmentation? | Charles Kirby | 11 Mar |
| • Re: sort of defragmentation? | Sasha Pachev | 11 Mar |
| • Re: sort of defragmentation? | Charles Kirby | 11 Mar |
| • Re: sort of defragmentation? | Sasha Pachev | 11 Mar |
| • Re: sort of defragmentation? | Charles Kirby | 11 Mar |
| • Splitting query results among machines? | Brian Bray | 11 Mar |
| • RE: Splitting query results among machines? | Brett Error | 11 Mar |
| • SIGSEV using Mysql++ | Sander Pilon | 26 Aug |
| • Re: sort of defragmentation? | Ed Carp | 11 Mar |
| • Re: sort of defragmentation? | Sasha Pachev | 11 Mar |
| • Re: sort of defragmentation? | Ed Carp | 11 Mar |
| • Re: sort of defragmentation? | Christian Mack | 12 Mar |
| • Re: Splitting query results among machines? | Fred Lindberg | 11 Mar |
| • Re: sort of defragmentation? | Ed Carp | 12 Mar |
| • Re: sort of defragmentation? | Christian Mack | 13 Mar |
| • Re: sort of defragmentation? | Ed Carp | 13 Mar |
