https://software.codidact.com/categories/38/tags/3437.rssNew Posts Tagged 'database-index' - Software DevelopmentSoftware Development - Codidact2020-11-11T06:26:48Zhttps://software.codidact.com/posts/279034Why would an unique index get moved to the primary key after the underlying column is dropped?Charlie Brumbaughâ€https://software.codidact.com/users/81632020-11-09T18:34:18Z2020-11-11T06:26:48Z<p>So I had a table with a primary key and a bunch of different columns. Columns A, B, and C were all unsigned ints (like the primary key column) and each column had a unique constraint</p>
<p>I d...https://software.codidact.com/posts/277469Can renaming a MySQL column be sped up by dropping indexes or foreign keys?Charlie Brumbaughâ€https://software.codidact.com/users/81632020-08-24T15:30:17Z2020-08-24T20:38:00Z<p>I need to rename one column in 170 tables in a MySQL database and its going really slow.</p>
<p>The columns all have an index plus a foreign key on them, <strong>would dropping the index/tempor...