2021
01-09
01-09
MySQL 内存表和临时表的用法详解
内存表:session1$mysql-urootroot@(none)10:05:06>usetestDatabasechangedroot@test10:06:06>CREATETABLEtmp_memory(iINT)ENGINE=MEMORY;QueryOK,0rowsaffected(0.00sec)root@test10:08:46>insertintotmp_memoryvalues(1);QueryOK,1rowaffected(0.00sec)root@test10:08:46>session2$mysql-uroottestroot@test10:05:12>CREATETABLEtmp_memory(iINT)ENGINE=MEMORY;ERROR1050(42S01):...
继续阅读 >