Dgraph 1.0.12 发布,事务性的分布式图形数据库

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Dgraph 1.0.12 已发布,Dgraph 是一个可扩展的,分布式的,低延迟的图数据库,目标是提供 Google 生产水平的规模和吞吐量,在超过 TB 的结构数据里,为用户提供足够低延迟的实时查询。Dgraph 支持 GraphQL 作为查...

Dgraph 1.0.12 已发布,Dgraph 是一个可扩展的,分布式的,低延迟的图数据库,目标是提供 Google 生产水平的规模和吞吐量,在超过 TB 的结构数据里,为用户提供足够低延迟的实时查询。Dgraph 支持 GraphQL 作为查询语言,响应 JSON。

新版更新内容如下:

新增

  • gRPC 和 HTTP 请求支持 gzip 压缩。 (#2843)
  • 可以从完整二进制的备份还原。这时是一个遵循 Dgraph Community License 的企业级特性。
  • 通过 --mutations flag 实现的严格架构模式。默认的 --mutations=allow 允许所有 mutations; --mutations=disallow 禁用所有 mutations; --mutations=strict 只允许在架构中定义的谓词(predicates)的 mutations。修复 #2277
  • 新增用于调试和测试的工具 dgraph increment 。该增量 工具 可以查询指定谓词(默认: counter.val),增加它的整数计数器值,之后转化结果成图形。可用于测试端到端的 txns 以确认簇(cluster)的状况。 (#2955)
  • 支持 best-effort 查询。这将放宽 linearizible reads 的要求。使用 best-effort 查询,Alpha 将请求内存的时间戳,而不是给 Zero 发出一个出战请求。(#3071)

改动

  • Use the new Stream API from Badger instead of Dgraph's Stream framework. (#2852)
  • Discard earlier versions of posting lists. (#2859)
  • Make HTTP JSON response encoding more efficient by operating on a bytes buffer directly. (ae1d9f3)
  • Optimize and refactor facet filtering. (#2829)
  • Show badger.Item meta information in dgraph debug output.
  • Add new option to dgraph debug tool to get a histogram of key and value sizes. (#2844)
  • Add new option to dgraph debug tool to get info from a particular read timestamp.
  • Refactor rebuild index logic. (#2851, #2866)
  • For gRPC clients, schema queries are returned in the Json field. The Schema proto field is deprecated.
  • Simplify design and make tablet moves robust. (#2800)
  • Switch all node IDs to hex in logs (e.g., ID 0xa instead of ID 10), so they are consistent with Raft logs.
  • Refactor reindexing code to only reindex specific tokenizers. (#2948)
  • Introduce group checksums. (#2964, #3085)
  • Return aborted error if commit ts is 0.
  • Reduce number of "ClusterInfoOnly" requests to Zero by making VerifyUid wait for membership information. (#2974)

移除

  • Remove LRU cache from Alpha for big wins in query latency reduction (5-10x) and mutation throughput (live loading 1.7x faster). Setting --lru_mb is still required but will not have any effect since the cache is removed. The flag will be used later version when LRU cache is introduced within Badger and configurable from Dgraph.
  • Remove --nomutations flag. Its functionality has moved into strict schema mode with the --mutationsflag (see Added section).

修复

  • Use json.Marshal for strings and blobs. Fixes #2662.

  • Let eq use string "uid" as value. Fixes #2827.

  • Skip empty posting lists in has function.

  • Fix Rollup to pick max update commit ts.

  • Fix a race condition when processing concurrent queries. Fixes #2849.

  • Show an error when running multiple mutation blocks. Fixes #2815.

  • Bring in optimizations and bug fixes over from Badger.

  • Bulk Loader for multi-group (sharded data) clusters writes out per-group schema with only the predicates owned by the group instead of all predicates in the cluster. This fixes an issue where queries made to one group may not return data served by other groups. (#3065)

    更新详情 (需要注意:由于底层数据格式的改动,新版要求使用者先导出数据,升级或回滚后再将数据导入。

下载地址:


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

大数据供应链

大数据供应链

娜达·R·桑德斯 (Nada R. Sanders) / 丁晓松 / 中国人民大学出版社 / 2015-7-1 / CNY 55.00

第一本大数据供应链落地之道的权威著作,全球顶级供应链管理专家娜达·桑德斯博士聚焦传统供应链模式向大数据转型,助力工业4.0时代智能供应链构建。 在靠大数据驱动供应链处于领先地位的企业中,45% 是零售商,如沃尔玛、亚马逊,而22%是快消企业,如戴尔电脑。他们都前所未有地掌控了自己的供应链。在库存管理、订单履行率、原材料和产品交付上具有更为广阔的视野。利用具有预见性的大数据分析结果,可以使供需......一起来看看 《大数据供应链》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具