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

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

内容简介: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)

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

下载地址:


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

查看所有标签

猜你喜欢:

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

创业者手册

创业者手册

[美] 史蒂夫·布兰克、[美] 鲍勃·多夫 / 新华都商学院 / 机械工业出版社 / 2013-1 / 89.00元

我们发现,企业的成功程度和创始人使用本书的频繁程度成正比。书中折角越多,书被翻得越破,企业取得的成功就越显著。阅读本书切忌囫囵吞枣。 所有创业者都坚信自己的道路与众不同,他们在踏上创业之路时从不设计路线图,认为其他模式或模板并不适合自己。同样是初创企业,有些能够取得成功而有些只能沦落到廉价清库的下场,看起来这似乎是运气使然,然而事实并非如此。英雄成功的故事都是一样的。初创企业实现成功之路肯定......一起来看看 《创业者手册》 这本书的介绍吧!

SHA 加密
SHA 加密

SHA 加密工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具