본문 바로가기

DB

(90)
oltpbenchmark oltpbenchmark (tool) http://oltpbenchmark.com/wiki/index.php?title=Main_PageMain PageBenchmarking is an important, yet often overlooked, aspect of any database management system (DBMS) research and development effort. Despite several advancements over the last decades, the deployment of a comprehensive testing platform with a diverse set of data sets and workloads is still non-trivial. In many c..
Introduction to Infobright Analytics Database Introduction to Infobright Analytics Database우연히 알게된 Analytics Database Infobright 참신한 알고리즘으로 대단한 속도를 보여주는 것을 확인하였다.이 오픈소스 DB는 참으로 참신한 아이디어인듯 하다. 흥미롭다. 개인적으로 대용량에 관심이 많은 나로써는 재미있는 오픈소스를 알게 되어 기쁘다.물론 내 개인적인 테스트 DB로 테스트 결과이지만....자료는 정리되면 추후 테스트 결과를 올리겠다.테스트 중 생각을 정리해보면, 대용량 시스템에 적합하지 않을까 생각해본다.다양한 산업분야에 사용 될 수 있다는 생각에 테스트도 재미있다.Infobright 4.0 – New Capabilities • DomainExpert technology: By adding..
Shrink UNDO tablespace Shrink UNDO tablespace Oracle 11g 10g 9i tablespace database undo How to shrink the undo tablespace in Oracle? We need to create a tablespace temporary so that we can redirect undo usage to this temperorary tablespace. Steps: 1. Create a temporary tablespace for swapping CREATE undo TABLESPACE undotbs2 DATAFILE '/dbora01/oradata/ORCL/ora02/undotbs2_01.dbf' size 100M; 2. Use it as default UNDO ta..
Shrink Temporary Tablespace Shrink Temporary Tablespace Steps: 1. Create a temporary tablespace for swapping create temporary tablespace temp_temp tempfile '/dbora01/oradata/ORCL/ora02/temp_temp01.dbf' size 100M extent management local uniform size 1m; 2. Use it as default temporary tablespace alter database default temporary tablespace temp_temp; 3. Drop the old temporary tablespace alter tablespace temp tempfile offline;..
오라클 라이센스별 차이 Oracle Database는 Enterprise, Standard, Personal, Lite Edition 4가지 에디션으로 제공됩니다. ▶ Oracle Database: Enterprise Edition Oracle Database Enterprise Edition은 클러스터 및 단일 시스템 구성 모두에서 업계를 선도하는 확장성과 안정성을 제공합니다. 또한 OLTP 및 비즈니스 인텔리전스에 있어서 가장 포괄적인 기능을 제공하며 총소유 비용이 가장 저렴합니다. Enterprise Edition에는 다음이 포함됩니다 . ETL, 데이터 웨어하우징, OLAP, 데이타 마이닝 등의 고성능 비즈니스 인텔리전스 서비스 SQL, Java, XML, 표준 웹 인터페이스를 통한 웹 서비스로의 종합적이고 개방적인 액..
히스토그램 히스토그램(1) 히스토그램 유형히스토그램이 있다면 오라클인 더 정확한 카디널리티를 구할 수 있다. 특히, 분포가 균일하지 않은 컬럼으로 조회할 경우 효과를 발휘한다. 오라클이 사용하는 히스토그램으로는 아래 두가지 유형이 있다. 높이균형(Height-Balanced) 히스토그램 도수분포(Frequency) 히스토그램 히스토그램을 생성하려면 컬럼 통계 수집 시 버킷 개수를 2이상으로 지정하면 된다. 히스토그램 정보는 dba_histograms 또는 dba_tab_histograms 뷰를 통해 확인할 수 있다. 특히 10g에서는 dba_tab_columns 뷰에 histogram 컬림이 추가되어 히스토그램 유형을 쉽게 파악할 수 있게 되었다. FREQUENCY : 값별로 빈도수를 저장하는 도수분포 히스토그램(..
[MS-SQL] MS-SQL의 lock 의 개념과 SQL예제 MS-SQL 서버 [ [MS-SQL] MS-SQL의 lock 의 개념과 SQL예제 MS-SQL 서버 2011/02/09 23:06 http://inhim.blog.me/100121685276 DEV.WON Second Edition | 데브원 http://blog.naver.com/jadin1/70079443127 lock에 대해 정리가 잘되어있는거 같아, 공유합니다. ------------------------------------------------ ** LOCK ** 트랜잭션은 LOCK 과 떨어져서 설명될 수 없는 관계이고, LOCK 도 트랜잭션 없이 설명될 수 없다. LOCK 즉 잠금의 문제는 동시성 문제이다. 어떤 자원을 누군가 사용하고 있다면 어떤 형태로든 잠금이 설정된다. 그리고 그 잠금의 종류에 따라서, 해당..
LIBRARY CACHE LOCK WAIT EVENT가 나타날 때의 해결방법 출처 : http://kr.forums.oracle.com/forums/thread.jspa?messageID=1673819 LIBRARY CACHE LOCK WAIT EVENT가 나타날 때의 해결방법 게시일: 2007. 2. 5 오전 1:08 제품 : ORACLE SERVER 작성날짜 : 2002-10-02 LIBRARY CACHE LOCK WAIT EVENT가 나타날 때의 해결방법 ==================================================== PURPOSE v$session_wait event 에 'library cache lock'이 발생하면서 session이 waiting 되는 경우가 있다. 오랫동안 이 현상이 지속될 경우 어떤 session이 이 library c..