An In­tro­duc­tion to In­fluxDB, a Time Se­ries Data­base

This ar­ti­cle in­tro­duces the time se­ries data­base, In­fluxDB, which is an open source ap­pli­ca­tion writ­ten in the Go pro­gram­ming lan­guage. In­fluxDB is easy to use, scal­able and highly avail­able.

OpenSource For You - - Developers -

Atime se­ries data­base is used to store log, sen­sor and other data, over a pe­riod of time. With the ar­rival of the In­ter­net of Things (IoT), one needs to log events across mul­ti­ple ap­pli­ca­tions. A time se­ries data­base is uniquely po­si­tioned to solve the chal­lenges of mil­lions of events com­ing in, which you need to filter and an­a­lyse.

This ar­ti­cle shows read­ers how to set up In­fluxDB on Win­dows. It will also demon­strate how data can be in­serted into In­fluxDB, how to per­form ba­sic queries and look at the REST API that it ex­poses.

The TICK stack

In­fluxData, the com­pany be­hind In­fluxDB, pro­vides a plat­form known as the TICK stack. This is a com­pre­hen­sive plat­form to col­lect, store, an­a­lyse and vi­su­alise time se­ries data. The TICK stack com­prises Tele­graf, In­fluxDB, Chrono­graph and Ka­pac­i­tor. In this ar­ti­cle, we are go­ing to con­cen­trate on the core prod­uct, In­fluxDB, which is used to store and query the time se­ries data­base.

The above prod­ucts are all free to down­load and use. They are open source projects (MIT Li­cence) but, at the same time, In­fluxData pro­vides com­mer­cial ver­sions of the prod­ucts, which come with full sup­port and ad­di­tional en­ter­prise fea­tures that are charge­able.

In­stal­la­tion

In­fluxDB is avail­able on all ma­jor plat­forms in­clud­ing Win­dows. The prod­uct is pack­aged as a set of bi­nar­ies that you can run on Win­dows. The best part of this is that the bi­nar­ies have all the re­quired de­pen­den­cies built-in. So you do not need any other de­pen­den­cies to be in­stalled on Win­dows to run the In­fluxDB soft­ware.

To in­stall the prod­uct, cur­rently at 1.0.0, visit the fol­low­ing URL in the browser, or you could do a wget in Pow­er­shell for the URL be­low to down­load the Zip file.

The next step is to sim­ply un­zip the file in a folder of your choice. For ex­am­ple, when we un­zip the above folder in the root drive (say C:\), we get the fol­low­ing folder and ex­e­cuta­bles:

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.