| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
- 리눅스
- 실제플랜조회
- DATABASELINK
- public synonym EXPDP
- 티스토리챌린지
- 통계정보복구
- ssh접속오류
- Connect Storage Engine
- inlist
- Linux
- PROFILE EXPDP
- mariaDB설치오류
- 대량dml튜닝
- 오라클인덱스힌트
- postgreql 오브젝트 조회
- 오라클
- num_index_keys
- sqlp시험일정
- job관리
- MariaDB기본디렉토리변경
- sqlp합격후기
- 통계정보백업
- 오블완
- sqlp공부방법
- 오라클기동
- autocommit설정
- mariaDB
- 데이터csv생성
- oracle
- datadir 변경
- Today
- Total
목록DATABASE (41)
IT study
개발서버 계정 잠금 해제 건이 있어서 확인 후 처리 프로파일내에 패스워드 만료 기간이 지정되어있어서 계정이 잠김개발용이라 패스워드 만료 제한을 풀고 계정 unlock함 --스키마 profile 확인SELECT username, default_tablespace, temporary_tablespace, account_status, profile FROM dba_userswhere username = 'db_user';-- 프로파일 패스워드 리밋 기한 조회SELECT RESOURCE_NAME, LIMITFROM DBA_PROFILESWHERE PROFILE = 'DEFAULT' AND RESOURCE_TYPE = 'PASSWORD';--UNLIMITED으로 변경ALTER PROFILE DEFAULT LIMI..
테이블 스키마, 소유자 및 오브젝트 소유자 변경 관련 쿼리입니다. 간단한 문구로 소유자 변경이 가능합니다. 테이블 소유자 변경 alter table {table_name} owner to {new_role}; 테이블 스키마 변경 ALTER TABLE {table_name} SET SCHEMA {new_schema_name}; 특정 소유자가 소유한 모든 객체 owner 변경 REASSIGN OWNED BY {old_role} TO {new_role}; 하지만 ! 변경하려는 오브젝트가 사용중인 트랜잭션이 있다면.. Lock대기가 발생하겠죠 운영중에는 영향도를 파악하여 진행해야합니다. 관련 실습예제입니다./* 버전 : PostgreSQL 15.8 (Ubuntu 15.8-1.pgdg24.04+1) on x86_..
유저삭제시에 해당 유저가 소유한 객체와 부여받은 모든 권한이 제거되어야하므로 우선 소유한 객체를 확인하는 용도로 쿼리를 정리하였습니다. pg_catalog를 활용한 테이블, 뷰, 시퀀스, 인덱스, 함수, 프로시저, 트리거 등 오브젝트의 스키마, 소유자를 조회하는 쿼리입니다. select * from ( -- 테이블, 뷰, 시퀀스, 인덱스 ,Mview, toast table, foreign table 등 조회 SELECT r.rolname as owner, n.nspname as schema_nm , case when c.relkind = 'r' then 'table' when c.relkind = 'v' then 'view' when c.relkind = 'S' then 'sequence' when c...
스펙을 최대한 낮춰서 EC2 ubuntu환경에 postgresql 15 설치하다 사용 중 PG깨지는 현상이 발생했다.. 가장 큰 문제는 wal log를 수용할 디스크공간이 없던것!!psql 을 접속할 수 없어서 아무생각없이 wal log폴더 내 데이터 삭제해버림 ㅠ 그 결과 Postgresql 서버가 올라오지 못하고 DB시스템이 shut down됨!! 2024-11-14 16:05:19.069 KST [7685] LOG: starting PostgreSQL 15.8 (Ubuntu 15.8-1.pgdg24.04+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, 64-bit2024-11-14 16:05:19.071 K..
Shared Memory 데이터베이스 기동 시 공용 메모리 공간인 Shared Memory가 할당모든 backend 프로세스들에 의해 공유되는 공간 1) Shared Buffers데이터 변경 사항을 Block 단위로 저장하여 물리적 I/O를 하지 않아 데이터 처리를 빠르게 함postgres=# show shared_buffers; shared_buffers---------------- 128MB --* Shared buffer 크기 : 128MB = 16384 * 8KBpostgres=# select name, setting from pg_settings where name = 'shared_buffers'; name | setting----------------+--------- sh..
postgresql 의 경우 객체가 생성될 때 일부 유형의 객체에 대해 기본 권한을 부여한다.이 중 함수와 프로시저는 생성시 모든 사용자가 실행가능하여 기본 권한 설정을 관리해주어야 한다. 표 5.2. Summary of Access PrivilegesObject TypeAll PrivilegesDefault PUBLIC Privilegespsql CommandDATABASECTcTc\lDOMAINUU\dD+FUNCTION or PROCEDUREXX\df+FOREIGN DATA WRAPPERUnone\dew+FOREIGN SERVERUnone\des+LANGUAGEUU\dL+LARGE OBJECTrwnoneSCHEMAUCnone\dn+SEQUENCErwUnone\dpTABLE (and table-like..
Connect Engine이란 ? MariaDB는 스토리지 엔진을 통해 외부 원격 데이터에 접근 가능합니다. connect engine은 외부 데이터 소스와 MariaDB 간의 연결을 위한 엔진으로XML, CSV 나 MySQL, ORACLE, SQL Server 등 타 DBMS의 테이블을 MariaDB에서 직접 쿼리할 수 있도록 연결기능을 제공합니다. Connect Engine 설치 및 ORACLE , MSSQL 연결 1. Connect Engine 설치 [root@dbteam01 /]# yum install MariaDB-connect-engine....Installed: MariaDB-connect-engine.x86_64 0:10.11.6-1.el7.centosComplete![root@dbt..
환경 : CentOS7 / 10.11.6-MariaDB MariaDB 설치하면 기본 데이터 디렉토리는 /var/lib/mysql 로 설정됩니다. 1. 기본 데이터 디렉토리 위치 확인 mariaDB 접속하여 select @@datadir; 조회하면 현재 기본 데이터 디렉토리를 확인 할 수 있습니다. [root@dbteam01 /]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 19 Server version: 10.11.6-MariaDB MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaD..
Oracle Database Editions Oracle Database Editions This chapter describes the four Oracle Database editions and the features available with those editions. It contains the following sections: The Oracle Database Product Family Oracle Database is available in five editions, each suitable for different devel docs.oracle.com 오라클 데이터베이스 에디션 특징 정리 EE와 SE의 차이가 많다...
yum install epel-release MariaDB 설치 진행 중 에러 발생 MariaDB의 10.11 repo를 생성 후 yum 통해 설치 진행 yum install MariaDB-server MariaDB-client 트랜잭션 체크하고 쭉쭉 진행하다가 Requires: pv 오류 만남 해결방법 1 yum clean metadata yum update clean all yum update ###내용확인용 [root@dbteam01 ~]# yum update Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.kakao.com * extras: mirror.kakao.com..