Home > Database > Mysql Tutorial > body text

如何修改表空间数据文件路径

WBOY
Release: 2016-06-07 14:58:58
Original
1818 people have browsed it

如何修改表空间数据文件路径 -- 修改表空间的数据文件路径; -- 5个步骤 -- 1. alter tablespace tbs_name offline; -- 2. 物理拷贝到指定路径【这个很重要】 -- 3. alter tablespace 表空间名 rename datafile 文件原有路径 to 文件新路径; -- 4. alter dat


如何修改表空间数据文件路径

 

-- 修改表空间的数据文件路径;

 

-- 5个步骤

 

-- 1. alter tablespace tbs_name offline; 

 

-- 2. 物理拷贝到指定路径【这个很重要】 

 

-- 3. alter tablespace 表空间名 rename datafile '文件原有路径' to '文件新路径'; 

 

-- 4. alter database recover datafile '文件新路径';

 

-- 5. alter tablespace 表空间名 online; 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!