设为首页 - 加入收藏 ASP站长网(Aspzz.Cn)- 科技、建站、经验、云计算、5G、大数据,站长网!
热搜: 创业者 手机 数据
当前位置: 首页 > 站长学院 > MySql教程 > 正文

MySQL对话临时表空间

发布时间:2022-07-03 13:05 所属栏目:115 来源:互联网
导读:物理文件 [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
  物理文件
  [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]#
 
  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版本以后,会话临时表空间总是存储创建用户临时表和
  内部临时表。

(编辑:ASP站长网)

    网友评论
    推荐文章
      热点阅读