본문 바로가기

DB

(5)
[Tibero,oracle] table, index, LOB 의 tablespace 변경 1. segments 확인 ( 테이블 , 인덱스, LOB 대한 테이블 스페이스 정보 확인) -- 세그먼트 확인 select * from user_segments -- lob 확인 select * from user_lobs; 2. 전체 테이블스페이스 변경 스크립 추출 -- 테이블 스페이스 변경 select 'alter table ' || segment_name || ' move tablespace 테이블스페이스명;' from user_segments where SEGMENT_TYPE = 'TABLE'; -- 인텍스 페이블 스페이스 변경 select 'alter index ' || segment_name || ' REBUILD TABLESPACE 테이블스페이스명;' from user_segments wher..
[oracle]오라클 버젼확인 명령어 오라클 버젼 확인 하기 select * from v$version;
[CentOS7] 기존 mysql제거 및 mysql8버전 설치, 환경설정, 대소문자 구분없이 1. 기존 mysql제거 # 설치된 mysql 정보 확인 : yum list installed | grep mysql yum list installed | grep mysql mysql-community-client.x86_64 8.0.30-1.el7 @mysql80-community mysql-community-client-plugins.x86_64 8.0.30-1.el7 @mysql80-community mysql-community-common.x86_64 8.0.30-1.el7 @mysql80-community mysql-community-icu-data-files.x86_64 8.0.30-1.el7 @mysql80-community mysql-community-libs.x86_64 8.0.30-1..
MySQL8 다운로드 MySQL Community Server https://dev.mysql.com/downloads/mysql/
mysqld: File '/var/data/mysql/auto.cnf' not found (OS errno 13 - Permission denied) 서버 재부팅 후 오류 발생 원인 : mysqld: File '/var/data/mysql/auto.cnf' not found (OS errno 13 - Permission denied) :16.945864Z 0 [Warning] [MY-010091] [Server] Can't create test file /var/data/mysql/mysqld_tmp_file_case_insensitive_test.lower-test :16.945930Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.29) starting as process 1697 :16.947561Z 0 [Warning] [MY-010091] [Server] Can't create t..