Bonjour,
La table history_uint est beaucoup trop grosse (28Go).
Comme je n'ai pas besoin de garder d'historique, est ce que je peux supprimer la table pour recréer une autre vierge ?
J'aurais fait dans MySQL :
CREATE TABLE history_uint_new LIKE history_uint;
ALTER TABLE history_uint RENAME history_uint_old;
ALTER TABLE history_uint_new RENAME history_uint;
je test que cela fonctionne. Enfin, je supprime l'ancienne table :
DROP TABLE history_uint_old;
Cela fonctionnera ?
Merci
La table history_uint est beaucoup trop grosse (28Go).
Comme je n'ai pas besoin de garder d'historique, est ce que je peux supprimer la table pour recréer une autre vierge ?
J'aurais fait dans MySQL :
CREATE TABLE history_uint_new LIKE history_uint;
ALTER TABLE history_uint RENAME history_uint_old;
ALTER TABLE history_uint_new RENAME history_uint;
je test que cela fonctionne. Enfin, je supprime l'ancienne table :
DROP TABLE history_uint_old;
Cela fonctionnera ?
Merci
Comment