文前瞎扯

InfluxDB是一个由InfluxData开发的开源时序型数据库[note 1]。它由Go写成,着力于高性能地查询与存储时序型数据。InfluxDB被广泛应用于存储系统的监控数据,IoT行业的实时数据等场景。

引用来自维基百科 - InfluxDB

刚接触InfluxDB一段时间,感叹到了作为一个时序数据库的特性,简单易用。虽接触不久,但却勾起了我的强烈兴趣,是一个值得深入研究的数据库。后续也将会深入其底层实现,先打了flag在这 ^ _ ^

Win10安装

因为自己平时大多还是用Win10开发,所以学习的过程中也就自然而然的选择安装在了Win10。当然在Linux系统上安装也是相当的简单的。

1、下载InfluxDB

https://portal.influxdata.com/downloads

下载对应的Windows操作系统的ZIP包即可

2、安装

InfluxDB的安装很简单,解压到指定的文件夹就行。

3、运行InfluxDB

在解压文件中,有一个influxd.exe的文件,运行其即可(双击或者在cmd中运行均可)。

在命令行看到InfluxDB的logo打印成功即为InfluxDB启动成功

4、启动InfluxDB客户端

运行解压文件夹中的influx.exe文件,即可

到目前InfluxDB就可以正常使用了。

5、配置

根据自己的需要进行相关的配置,以下为我的配置,哈哈

注:
1、“G:/influxdb/influxdb-1.7.0-1”此目录为我的安装目录

### Welcome to the InfluxDB configuration file.# The values in this file override the default values used by the system if
# a config option is not specified. The commented out lines are the configuration
# field and the default value used. Uncommenting a line and changing the value
# will change the value used at runtime when the process is restarted.# Once every 24 hours InfluxDB will report usage data to usage.influxdata.com
# The data includes a random ID, os, arch, version, the number of series and other
# usage data. No data from user databases is ever transmitted.
# Change this option to true to disable reporting.
reporting-disabled = true# Bind address to use for the RPC service for backup and restore.
bind-address = "127.0.0.1:8088"###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###[meta]# Where the metadata/raft database is storeddir = "G:/influxdb/influxdb-1.7.0-1/meta"# Automatically create a default retention policy when creating a database.# retention-autocreate = true# If log messages are printed for the meta service# logging-enabled = true###
### [data]
###
### Controls where the actual shard data for InfluxDB lives and how it is
### flushed from the WAL. "dir" may need to be changed to a suitable place
### for your system, but the WAL settings are an advanced configuration. The
### defaults should work for most systems.
###[data]# The directory where the TSM storage engine stores TSM files.dir = "G:/influxdb/influxdb-1.7.0-1/data"# The directory where the TSM storage engine stores WAL files.wal-dir = "G:/influxdb/influxdb-1.7.0-1/wal"# The amount of time that a write will wait before fsyncing.  A duration# greater than 0 can be used to batch up multiple fsync calls.  This is useful for slower# disks or when WAL write contention is seen.  A value of 0s fsyncs every write to the WAL.# Values in the range of 0-100ms are recommended for non-SSD disks.# wal-fsync-delay = "0s"# The type of shard index to use for new shards.  The default is an in-memory index that is# recreated at startup.  A value of "tsi1" will use a disk based index that supports higher# cardinality datasets.# index-version = "inmem"# Trace logging provides more verbose output around the tsm engine. Turning# this on can provide more useful output for debugging tsm engine issues.# trace-logging-enabled = false# Whether queries should be logged before execution. Very useful for troubleshooting, but will# log any sensitive data contained within a query.query-log-enabled = true
[retention]# Determines whether retention policy enforcement enabled.enabled = true# The interval of time when retention policy enforcement checks run.check-interval = "30m"###
### [shard-precreation]
###
### Controls the precreation of shards, so they are available before data arrives.
### Only shards that, after creation, will have both a start- and end-time in the
### future, will ever be created. Shards are never precreated that would be wholly
### or partially in the past.[shard-precreation]# Determines whether shard pre-creation service is enabled.enabled = true# The interval of time when the check to pre-create new shards runs.check-interval = "10m"# The default period ahead of the endtime of a shard group that its successor# group is created.advance-period = "30m"###
### Controls the system self-monitoring, statistics and diagnostics.
###
### The internal database for monitoring data is created automatically if
### if it does not already exist. The target retention within this database
### is called 'monitor' and is also created with a retention period of 7 days
### and a replication factor of 1, if it does not exist. In all cases the
### this retention policy is configured as the default for the database.[monitor]# Whether to record statistics internally.store-enabled = true# The destination database for recorded statisticsstore-database = "_internal"# The interval at which to record statisticsstore-interval = "10s"###
### [http]
###
### Controls how the HTTP endpoints are configured. These are the primary
### mechanism for getting data into and out of InfluxDB.
###[http]# Determines whether HTTP endpoint is enabled.enabled = true# Determines whether the Flux query endpoint is enabled.flux-enabled = false# The bind address used by the HTTP service.bind-address = ":8086"# Determines whether user authentication is enabled over HTTP/HTTPS.# auth-enabled = false# The default realm sent back when issuing a basic auth challenge.# realm = "InfluxDB"# Determines whether HTTP request logging is enabled.# log-enabled = true# Determines whether the HTTP write request logs should be suppressed when the log is enabled.# suppress-write-log = false

极速入门

学习过数据库、MySQL、Oracle的读者,应该说入门InfluxDB就是半个小时的事儿,主要看下文档,(文末附有链接)。我这里主要贴下其几个与关系型数据库关联的名词

InfluxDB的measurement(foodships)和SQL数据库里的table类似;
InfluxDB的tag(park_id和planet)类似于SQL数据库里索引的列;
InfluxDB中的field(#_foodships)类似于SQL数据库里没有索引的列;
InfluxDB里面的数据点(例如2015-04-16T12:00:00Z 5)类似于SQL数据库的行;

友情链接

1、InfluxDB - 维基百科
2、InfluxDB在windows下的安装和配置 - Linux大学
3、InfluxDB中文文档 - GitBook
4、InfluxDB - 教程中心 - 阿里云
5、InfluxDB - GitHub
6、InfluxDB安装与配置(Linux) - 博客园

InfluxDB在Win10安装与简单入门相关推荐

  1. Win10安装很简单-孙宇彤-专题视频课程

    Win10安装很简单-2291人已学习 课程介绍         本课程是LTE学习大使孙宇彤老师根据Windows10的系统特点,总结出的Windows10的安装方法,只需要三步,大家就可以体验到W ...

  2. python sanic_Sanic框架安装与简单入门示例

    本文实例讲述了Sanic框架安装与简单用法.分享给大家供大家参考,具体如下: Sanic是一个类似Flask的Python 3.5+ Web服务器,它的写入速度非常快.除了Flask之外,Sanic还 ...

  3. InfluxDB 简介、安装和简单使用

    简介 InfluxDB是一个由InfluxData开发的开源时序型数据库.它由Go写成,着力于高性能地查询与存储时序型数据.InfluxDB被广泛应用于存储系统的监控数据,IoT行业的实时数据等场景. ...

  4. 域控查看ldap端口命令_LDAP基础安装与简单入门使用

    0x00 前言简述 主要产品 基本模型 应用场景 0x01 环境安装 基于 yum 安装 基于 Docker 安装 0x02 LDAP配置&命令 slapd 命令 ldapsearch 命令 ...

  5. LDAP基础安装与简单入门使用

    0x00 前言简述 主要产品 基本模型 应用场景 0x01 环境安装 基于 yum 安装 基于 Docker 安装 0x02 LDAP配置&命令 slapd 命令 ldapsearch 命令 ...

  6. Ubuntu (20.4,最新版)安装及简单入门操作

    1.打开VMare WorkStation ,点击文件---->新建虚拟机-->找到宿主机内部Ubuntu镜像的位置: 镜像下载位置: https://msdn.itellyou.cn/ ...

  7. Win7安装很简单-孙宇彤-专题视频课程

    Win7安装很简单-1908人已学习 课程介绍         本课程是LTE学习大使孙宇彤老师针对大家的需求专门开发的课程,是<Win10安装很简单>的姐妹课程. 本课程详细介绍了win ...

  8. 制作win10安装u盘_最简单的Win10系统安装U盘制作方法

    现在装系统已经很少使用光盘了,并且许多电脑出厂时已经不再装配光驱了,如果想要使用U盘安装Win10系统,那么就需要制作Win10 U盘启动盘.今天MS酋长就与大家分享一个最简单的制作Win10安装U盘 ...

  9. Git快速入门篇—— Windows版本淘宝镜像快速下载安装详细步骤及简单入门教程(附带图文教程)

    Git快速入门篇-- Windows版本淘宝镜像快速下载安装详细步骤及简单入门教程(附带图文教程) 前言:我们平时在整理代码的时候,尤其是与别人一起开发项目的时候,常常涉及到代码的更新,因此代码版本问 ...

  10. win10安装onnx、tensorrt(python用,超简单安装版)

    一. 安装环境版本 显卡是3090. 1. python 3.8 2. pytorch 1.9.1(torch-1.9.1+cu111-cp38-cp38-win_amd64),离线安装参考:(10条 ...

最新文章

  1. Error:java: 无效的源发行版: 11
  2. 拿transformer做E2E全景分割,这个通用框架霸榜挑战赛,南大、港大联合提出
  3. python解矩阵方程_用Python代写的Numpy求解线性方程组
  4. Linux学习之如何在物理机上安装Linux发行版
  5. java异常自定义返回信息,Spring Boot 如何自定义返回错误码错误信息
  6. KP-ABE基于属性的加密加解密算法及Access Tree构建
  7. Linux环境编程导引
  8. Java-P:面向对象编程
  9. 网页版电脑桌面远程操控_我真的再也不买电暖器了 - 电暖器智能版
  10. ArchLinux安装配置
  11. java注释规范_Java代码注释规范详解
  12. 华为终端穿戴软件测试,【华为软件测试工程师面试】总共五轮面试外加一个上机的性格测试。-看准网...
  13. RT-Thread的CPU使用率计算
  14. 递归与lamdba与高阶函数
  15. Linux进程与计划任务
  16. phpstudy nginx 目录索引失败 404 Not Found 的原因
  17. Matlab 中@ 的用法
  18. 用华为手机助手备份恢复的问题解决
  19. sas r python培训
  20. nodejs 监控微信公众号关注事件推送

热门文章

  1. 室内外无缝定位导航,GPS系统可以实现吗?
  2. 身份证号码校验(前端,java)
  3. mysql三表联查sql语句_mybatis中SQL语句的三表联查
  4. 【Atomikos】分布式事务简单示例
  5. 玩转web表单网页快速开发(❤建议收藏❤)
  6. Qt之调用Windows图片查看器预览图片
  7. 这四本第四届橙瓜网络文学奖体育竞技分类前五的作品不能不看!
  8. 基于树莓派语音控制—LED开关控制
  9. 崩溃中!我终于看明白了,什么是财富自由的底层逻辑!思维导图+笔记精华
  10. Bootstrap栅格系统(屏幕大小)