전체 글
-
-
오라클 계정 삭제 방법카테고리 없음 2021. 4. 10. 11:11
#오라클 #계정삭제 #삭제 #oracle #oraclelock #lock #오라클아이디삭제 #아이디삭제 set lines 399 set pages 555 [유저확인] select username,account_status,created,profile,default_tablespace,temporary_tablespace from dba_users where username in ('[계정명]') select owner,segment_name,segment_type,tablespace_name,bytes/1024/1024 from dba_segments where owner in ('[계정명]') select username,account_status from dba_users where username ..
-
[서버] OS 점검 명령어카테고리 없음 2021. 4. 9. 11:11
#prtconf #date #hostname #id #ifconfig -a #netstat -rn #ntpq -p #cat /etc/system #cat /etc/nsswitch.conf #cat /etc/resolv.conf #cat /etc/vfstab #cat /etc/passwd #df -h #vmstat 1 10 #ps -ef #uptime #cat /etc/fstab #dmesg |grep -i -e error -e fail -e warn #cat /etc/proc/mdstat #cat /etc/proc/meminfo #cat /etc/ntp.conf #cat /proc/cpuinfo #grep "cpu cores" /proc/cpuinfo |tail -l
-
오라클 계정 생성 하는 방법카테고리 없음 2021. 4. 8. 19:00
[SQL 접속후 날짜확인] ! date [SQL접속 후 호스트이름 확인] !hostname [실제 아이디 확인] : 생성전 같은 아이디가 있는지 확인 select username, ACCOUNT_STATUS, DEFAULT_TABLESPACE, TEMPORARY_TABLESPACE, CREATED, PROFILE from dba_users where username = '[계정명]' [계정 생성: 조회한 계정이 없으면 생성] create user "[계정명]" identified by "[비밀번호]" default tablespace users; [default] SQL> select distinct PROFILE from dba_users; PROFILE -------------------- SUSER..
-
ㅁ MySQL Enterprise Backup(MEB)를 이용한 백업 및 복구 방법카테고리 없음 2021. 4. 7. 22:49
1. full 백업 ./mysqlbackup -uroot -p'!dlatl00' --backup-dir=/DBDATA/db_backup/full3/ backup-and-apply-log 2. incremental 백업 1) FULL 백업데이터의 end_lsn 번호 조회 vi /DBDATA/db_backup/full3/meta/backup_variables.txt binlog17.sql /DB/mysql/bin/mysqlbinlog /DBDATA/mysql_logs/bin_log/bin/mysql-bin.000018 > binlog18.sql 4) binlog 반영 /DB/mysql/bin/mysql -uroot -p < binlog16.sql /DB/mysql/bin/mysql -uroot -p < bi..