Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


개념

...

Concept

Since Machbase 5, STREAM is a newly supported real-time data processing function based on Continuous Query Language (CQL) 기반의 실시간 데이터 처리 기능이다.

즉, 로그 테이블로 입력되는 증분 데이터를 대상으로, 이 중 조건을 만족하는 데이터를 추출해 다른 테이블로 실시간 입력할 수 있다.

만일 스트림 기능을 이용하지 않고 전체 데이터를 대상으로 조건 검색을 하게 되면 누적된 데이터의 조회가 느릴 뿐만 아니라 시스템에 큰 부담이 생길 수 있다.

스트림을 이용하면 실시간으로 입력되는 특정 로그 데이터에 대해 조건을 검색하여 이벤트에 빠르게 대응할 수 있다.

제약 사항

...

  • Cluster Edition은 차후 버전에서 지원할 예정이다. 

...

  • 태그 테이블을 소스로 쓸 수 없다.

...

In other words, it is possible to extract the data satisfying a condition of incremental data inputted to the log table and to load it in real-time into another table.
If a conditional search is performed on all the data without using the stream function, the retrieval of the accumulated data is not only slow but also may be a heavy burden imposed on the system.
Stream can be used to retrieve conditions for specific log data entered in real time and respond quickly to events.

Restrictions

  • Currently, Machbase (version 5.5) supports STREAM only in Edge Edition and Fog Edition.
    • The Cluster Edition will be support STREAM in a future versions. 
  • The data input source is only available with the log table.
    • The ability to use the tag table as a source will be supported in future versions.
  • The data output destination is available for log and tag tables.