MySQL會(huì)話臨時(shí)表空間-創(chuàng)新互聯(lián)

創(chuàng)新互聯(lián)于2013年創(chuàng)立,是專業(yè)互聯(lián)網(wǎng)技術(shù)服務(wù)公司,擁有項(xiàng)目成都網(wǎng)站制作、成都網(wǎng)站設(shè)計(jì)網(wǎng)站策劃,項(xiàng)目實(shí)施與項(xiàng)目整合能力。我們以讓每一個(gè)夢(mèng)想脫穎而出為使命,1280元永新做網(wǎng)站,已為上家服務(wù),為永新各地企業(yè)和個(gè)人服務(wù),聯(lián)系電話:028-86922220>1、物理文件 [root@roidb1 data]# cd \#innodb_temp/ [root@roidb1 #innodb_temp]# ls -lh total 160K -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_10.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_1.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_2.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_3.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_4.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_5.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_6.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_7.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_8.ibt -rw-r-----. 1 mysql mysql 80K Nov 22 18:58 temp_9.ibt [root@roidb1 #innodb_temp]# 2、臨時(shí)表空間目錄 mysql> show variables like 'innodb_temp_tablespaces_dir'; +-----------------------------+-----------------+ | Variable_name | Value | +-----------------------------+-----------------+ | innodb_temp_tablespaces_dir | ./#innodb_temp/ | +-----------------------------+-----------------+ 1 row in set (0.00 sec) 使用了新的版本MySQL8.0.18,有很多地方和MySQL5.7有很大的區(qū)別。 Defines the location where InnoDB creates a pool of session temporary tablespaces at startup. The default location is the #innodb_temp directory in the data directory. A fully qualified path or path relative to the data directory is permitted. 說明:定義了創(chuàng)建臨時(shí)表空間池的位置。默認(rèn)位置為#innodb_temp目錄。 As of MySQL 8.0.16, session temporary tablespaces always store user-created temporary tables and internal temporary tables created by the optimizer using InnoDB. (Previously, the on-disk storage engine for internal temporary tables was determined by the internal_tmp_disk_storage_engine system variable, which is no longer supported. 說明:從MySQL8.0.16版本以后,會(huì)話臨時(shí)表空間總是存儲(chǔ)創(chuàng)建用戶臨時(shí)表和 內(nèi)部臨時(shí)表。

文章題目:MySQL會(huì)話臨時(shí)表空間-創(chuàng)新互聯(lián)
文章鏈接:http://muchs.cn/article30/cdsdpo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供手機(jī)網(wǎng)站建設(shè)、App開發(fā)、Google、服務(wù)器托管、企業(yè)網(wǎng)站制作、虛擬主機(jī)

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

網(wǎng)站優(yōu)化排名