• 제목/요약/키워드: Database tables

검색결과 178건 처리시간 0.024초

Evaluating Join Performance on Relational Database Systems

  • Ordonez, Carlos;Garcia-Garcia, Javier
    • Journal of Computing Science and Engineering
    • /
    • 제4권4호
    • /
    • pp.276-290
    • /
    • 2010
  • The join operator is fundamental in relational database systems. Evaluating join queries on large tables is challenging because records need to be efficiently matched based on a given key. In this work, we analyze join queries in SQL with large tables in which a foreign key may be null, invalid or valid, given a referential integrity constraint. We conduct an extensive join performance evaluation on three DBMSs. Specifically, we study join queries varying table sizes, row size and key probabilistic distribution, inserting null, invalid or valid foreign key values. We also benchmark three well-known query optimizations: view materialization, secondary index and join reordering. Our experiments show certain optimizations perform well across DBMSs, whereas other optimizations depend on the DBMS architecture.

저장뷰를 통한 분산 테이타베이스의 구현 (Supporting Materialized Views in Distributed Database Systems)

  • 이우기;강석호;박주석;이종호
    • Asia pacific journal of information systems
    • /
    • 제5권2호
    • /
    • pp.131-142
    • /
    • 1995
  • In distributed database systems materialized views are useful to solve many problems caused by data replication. This paper deals with the problem of updating materialized views incluing join operations. We use a differential update which uses logs that record the change of base tables in certain periods. This method avoids locking of the base tables so that it makes the system more efficient. We update materialized views periodically to save the updating cost envolved. A screen test is applied to differential files to eliminate tuples that are irrelevant to any of the views being updated. Using these methods, a detailed procedure is addressed to refresh materialized views. Then we show that our update procedure performs better than a semijoin approach.

  • PDF

버튼 이론을 이용한 적응적인 웹기반 코스웨어의 설계에 관한 연구 (A Study on the Design of Adaptive Web-Based Courseware Using Button Theory)

  • 이기영
    • 한국컴퓨터정보학회논문지
    • /
    • 제6권4호
    • /
    • pp.45-50
    • /
    • 2001
  • 최근에 WWW의 등장과 함께 컴퓨터를 매개로 한 수업이 점차 증가하고 있으며,웹 기반 수업에 대한 문제점이 많이 지적되고 있다. 본 연구에서는 기존의 버튼 이론을 이용하여 적용하기 위한 데이터베이스 테이블을 설계하여 학습자 동기 유발에 적응적인 웹기반 코스웨어의 모형을 제안하였다. 웹기반의 가상교육을 통해서 실제적으로 학습자 자신의학습동기를 체크하기 위하여 학습내용이 있는 매 화면마다 학습자의 상태를 파악할 수 있도록 테이블을 설계하였다.

  • PDF

On supporting full-text retrievals in XML query

  • Hong, Dong-Kweon
    • International Journal of Fuzzy Logic and Intelligent Systems
    • /
    • 제7권4호
    • /
    • pp.274-278
    • /
    • 2007
  • As XML becomes the standard of digital data exchange format we need to manage a lot of XML data effectively. Unlike tables in relational model XML documents are not structural. That makes it difficult to store XML documents as tables in relational model. To solve these problems there have been significant researches in relational database systems. There are two kinds of approaches: 1) One way is to decompose XML documents so that elements of XML match fields of relational tables. 2) The other one stores a whole XML document as a field of relational table. In this paper we adopted the second approach to store XML documents because sometimes it is not easy for us to decompose XML documents and in some cases their element order in documents are very meaningful. We suggest an efficient table schema to store only inverted index as tables to retrieve required data from XML data fields of relational tables and shows SQL translations that correspond to XML full-text retrievals. The functionalities of XML retrieval are based on the W3C XQuery which includes full-text retrievals. In this paper we show the superiority of our method by comparing the performances in terms of a response time and a space to store inverted index. Experiments show our approach uses less space and shows faster response times.

수강신청 시스템에서의 SQL 분석을 통한 데이터베이스 성능 향상 방안 (Methods for improving Database Performance through SQL Analysis in the Course Registration System)

  • 김희완
    • 문화기술의 융합
    • /
    • 제6권4호
    • /
    • pp.693-701
    • /
    • 2020
  • 본 논문에서는 현재 운영되는 수강신청 시스템에서의 데이터베이스 성능을 향상시키기 위하여 SQL문 분석을 하였다. 수강신청 업무와 관련된 트랜잭션들에서 사용 중인 SQL문장들을 실행계획을 통하여 현행 데이터베이스 성능을 측정하였으며, SQL 분석을 통하여 보완한 SQL문장들이 성능이 향상된 결과를 확인하였다. 전반적으로 실행계획 분석을 통하여 수강신청 데이터베이스 시스템의 성능을 향상시켰으며, 수강신청 SQL 의 일부 개선방법을 시험결과로 보였다. 개선된 방법은 데이터베이스 튜닝 작업을 통하여 수강신청과 관련된 테이블들과 인덱스 테이블들을 재조정하고, SQL의 기능을 활용함으로서 성능이 향상된 수강신청 데이터베이스 시스템으로 진화한 최적화된 시스템을 구현할 수 있게 되었다. 제안된 방법으로 재조정된 수강신청 시스템은 이전에 운영하던 수강신청시스템에 비하여 성능적 측면에서 우수한 결과를 나타내었으며, 통합 성능 시험 결과 1.8배 ~ 18배의 응답시간 단축을 가져왔다.

Effective UML models by using database system

  • Halim, Faisal;Muttaqin, Rizal
    • 한국인공지능학회지
    • /
    • 제1권1호
    • /
    • pp.1-3
    • /
    • 2013
  • This study suggested ways to control UML diagram and to make design of database and to retrieve diagram information by giving questions. The study classified elements of the diagram. For instance, class diagram was made of classes, and class was done of class name and attribute operator. The elements were transformed to be database table having basic key and foreign key information. The ways suggested had advantages of users' sharing of model information and reuse of the model. This study investigated cost saving, time saving and UML model construction by database. We had designed integrated and relation database that could save and manage UML diagram, and suggested retrieval. For instance, we classified class diagram into elements to make tables and kept relation of each element by using not only basic key of relation database but also foreign key information. We made database of modeling depending upon methods to give users convenience.

공통 문서 구조 추출을 통한 XML DTD의 관계형 데이터 베이스 스키마 변환 기법 (A Transformation Technique of XML DTD to Relational Database Schema Based On Extracting Common Structure in XML Documents)

  • 안성은;최황규
    • 정보처리학회논문지D
    • /
    • 제9D권6호
    • /
    • pp.999-1008
    • /
    • 2002
  • XML은 W3C에 제안된 마크업 언어고 HTML의 단순함과 SGML의 복잡함을 극복하여, 웹 상에서 데이터를 표현하고 교환하기 위한 표준으로 등장하고 있다. XML 문서를 질의 처리하기 위한 방법으로 XML 문서 전용 질의 언어가 개발되고 있지만, 데이터의 양이 증가한다면 결국 막대한 양의 데이터를 처리 할 데이터베이스 시스템을 필요하게 된다. 본 논문에서는 XML DTD를 관계형 데이터베이스 시스템 스키마로 변환하는 기법을 제안한다. 제안된 기법은 XML 데이터의 스키마 역할을 하는 DTD의 트리 구조를 생성하여, XML 데이터들의 공통구조와 비공통구조를 추출한 후 관계형 데이터베이스 스키마를 추출하는 기법이다. 추출된 관계형 데이터베이스 스키마는 기존의 방법들에 비해 생성 테이블 수가 적으며, 널(NULL)값의 출현을 감소시킨다. 또한, 제안기법은 XML 데이터를 보다 적은 테이블로 맵핑(mapping)시킴으로써 데이터 검색 시 참조 테이블 수를 감소시킬 수 있으며 질의 처리 시에도 성능 면에서 우수함을 보인다.

건축공사 주요자재별 에너지소비량 및 CO2 배출 원단위 값 산출에 산업연관표 적용 적정성 검토 연구 -2005년, 2007년 산업연관표를 중심으로- (Application of Input-Output Table to Estimate of Amount of Energy Consumption and CO2 Emission Intensity in the Construction Materials -Focusing on Input-Output Tables Published in 2005, 2007-)

  • 정영철;김성은;장영준;김태희;김광희
    • 한국건축시공학회지
    • /
    • 제11권3호
    • /
    • pp.247-255
    • /
    • 2011
  • 한국은행에서 2000년도에 발행된 산업연관표를 적용한 주요 건축자재의 에너지소비량과 $CO_2$ 배출에 대한 원단위 DB는 있지만 2005년, 2007년에 발행된 산업연관표를 이용한 원단위 DB는 없는 실정이다. 본 연구에서는 최근에 발행된 2005년, 2007년도 산업연관표를 이용하여 주요 건축자재에서 발생되는 에너지소비량 및 $CO_2$ 배출 원단위 값을 산정하고자 한다. 주요 건축자재의 에너지소비량 및 $CO_2$ 배출원단위 산출을 위한 방법은 산업연관표를 이용한 DB 구축 방식을 바탕으로 산출하였으며, 건설현장에서 주로 사용되는 16가지의 건설자재는 선별하여 적용하였다. 기존 연구결과에서 제시한 2000년도 산업연관표를 적용하여 산출된 원단위 DB 값과 비교한 결과 근소한 차이를 보이고 있어 본 연구의 산출방법이 적정한 것으로 판단하였다. 2005년, 2007년도 산업연관표를 이용하여 산출한 에너지소비량과 $CO_2$ 배출 원단위 값은 감소세를 보이고 있는 것으로 나타났으며, 시멘트와 철근을 주원료로 하는 자재에서 가장 많은 에너지소비량 및 $CO_2$ 배출 원단위 값을 나타났다. 본 연구의 결과를 통해 국내 실정에 적합한 건설자재 생산단계에서 발생되는 환경부하의 간접적인 예측이 가능할 것으로 사료된다.

관계형 데이타베이스에 기반한 그래프 알고리즘의 표현과 구현 (Representation and Implementation of Graph Algorithms based on Relational Database)

  • 박휴찬
    • 한국정보과학회논문지:데이타베이스
    • /
    • 제29권5호
    • /
    • pp.347-357
    • /
    • 2002
  • 그래프는 실세계의 많은 문제를 효과적으로 모델링하여 해를 구할 수 있는 강력한 방법을 제공하기 때문에 그래프의 표현 방법과 알고리즘 개발에 다양한 연구가 진행되어 왔다. 하지만, 대부분의 연구가 메인 메모리에 수용 가능한 크기를 갖는 그래프만을 고려하였기 때문에 큰 문제에 적용하기 위해서는 아직도 많은 어려움이 존재한다. 이를 극복하기 위하여 본 논문에서는 관계형 데이타베이스 이론에 기반하여 그래프를 표현하고 그래프 알고리즘을 정의할 수 있는 방법을 제안한다. 이 방법에서 그래프는 릴레이션으로 표현되며 그래프의 각 정점과 간선은 이 릴레이션의 튜플로서 저장된다. 이렇게 저장된 그래프에 대한 알고리즘은 추출, 선택, 죠인과 같은 관계대수 연산을 이용하여 정의되며 SQL과 같은 데이타베이스 언어를 사용하여 구현될 수 있다. 또한, 본 논문은 그래프의 저장 및 관리뿐만 아니라 다양한 응용프로그램 개발에도 사용될 수 있는 기본적인 그래프 함수들을 라이브러리화 하였다. 이와 같은 데이터베이스에 기반한 방법은 메모리에 수용되지 않는 크기의 그래프를 효과적으로 처리할 수 있는 방법을 제공할 뿐만 아니라 다양한 응용프로그램 개발을 용이하게 할 것이다. 또한, 데이타베이스가 제공하는 기본적인 기능인 다중사용자에 의한 동시공용 등과 같은 많은 장점을 가진다.

자료흐름도를 사용한 테이블 설계순서 추출기의 설계 및 구현 (Design & Implementation of Extractor for Design Sequence of DB tables using Data Flow Diagrams)

  • 임은기
    • 한국산업정보학회논문지
    • /
    • 제17권3호
    • /
    • pp.43-49
    • /
    • 2012
  • 현재 운용되고 있는 리가시 시스템에 대한 요구명세서는 대부분 자료흐름도를 사용하고 있어, 시스템의 유지 보수를 위해서는 자료흐름도로부터 획득한 정보에 의존하지 않을 수 없다. 본 논문에서는 자료흐름도로부터 데이터베이스 테이블 설계순서를 추출하는 추출기를 설계, 구현하였다. 추출기는 자료흐름도를 입력 받아 저장하고, 이를 방향그래프로 변환하여 데이터베이스 테이블 설계순서를 추출하여 제시한다. 구현된 추출기는 실제 운용 중인 소프트웨어 시스템에 적용함으로써 실제 적용가능성을 보였다.