shard

1. This time, suppose you define one replica shard.
这一次,假设您定义一个复制碎片。

youdao

2. The Shard London Bridge tower in London. (Jason Hawkes)
伦敦桥,伦敦。

youdao

3. All records in an atomic unit are stored in the same shard.
原子单元中的所有记录都会存储在相同的分片上。

youdao

4. Now we define the shard strategies to be used in the application.
现在我们定义应用程序中要使用的分片策略。

youdao

5. After this migration, each shard held approximately 33 GB of data.
经过这次迁移之后,每个Shard大概有33g的数据。

youdao

6. We'll call this pool a processing unit, with one pool hosted in each shard.
我们将这个线程池称为一个处理单元,每个shard中托管一个线程池。

youdao

7. Before you shard, make sure your application's size and growth merit it.
在进行切分之前,一定要确定应用程序的规模和增长对其有利。

youdao

8. The difference between a partition and a shard might be confusing at first
分区和碎片之间的不同一开始可能很容易混淆

youdao

9. A smaller race, like a 5k (which is 3.1 miles), should be found in Shard 0.
一个小型的比赛,如5公里的比赛(3.1英里),将在切分0中找到。

youdao

10. Next, we build the Shard Strategy Factory based on shard strategy implementations.
接下来,我们基于碎片策略实现构建碎片策略工厂。

youdao

11. Listing 6 shows the configuration for Shard 0, and Shard 1 is almost identical.
清单6显示了切分0和切分1的配置几乎相同。

youdao

12. He grabs the shard and slowly pulls it out, trying his best not to cry out in pain.
他捏住碎片慢慢拔了出来,虽然疼痛,但他尽力没有叫出声来。

youdao

13. A shard is a real, physical chunk of memory that stores the contents of a partition.
碎片是一个实际的物理内存块,它存储分区的内容。

youdao

14. However, this didn't relieve the performance problem on the full shard. As Horowitz notes.
但是,这种方式并没有缓解整个Shard的性能问题。

youdao

15. A worker who is assigned a map task reads the contents of the corresponding input shard.
被分配到map任务的worker读取对应的数据块。

youdao

16. Likewise the proposed Motor Pool Improvement, on account of a shard of Colonial crockery.
类似的还有摩托车中心的改造项目,因为从地里挖出了殖民时代的陶器碎片也没搞成。

youdao

17. In some cases, they can also be used to satisfy read requests to offload the primary shard.
在某些情况下,它们可以用来满足读取请求卸载主碎片。

youdao

18. The shard ID will be mapped with respect to the virtual shard ID map configured in the later steps.
碎片ID将相对于后续步骤中配置的虚拟碎片ID映射予以映射。

youdao

19. Getting back to the familiar example of my racing application, I can shard by race or by runner.
现在让我们回到我经常提到的赛跑应用程序示例中,我可以根据比赛或参赛者进行切分。

youdao

20. Namely, it needs a shard-access strategy, a shard-selection strategy, and a shard-resolution strategy.
比如,需要一个切分访问策略、一个切分选择策略和一个切分处理策略。

youdao

21. In case a virtual shard id map is not provided (it is optional), it is defaulted to the physical shard id map.
如果未提供虚拟碎片ID映射(可选),默认为物理碎片id映射。

youdao

22. This application also USES he virtual shard option to take care of future database scalability requirements.
该应用程序还使用虚拟碎片选项处理将来的数据库可伸缩性需求。

youdao

23. Your shard strategy should, however, incorporate some means of distributing data evenly among all of your shards.
但是,您的切分策略应该包含将数据均匀分布至所有切分的方法。

youdao

24. In this case, I'm going to shard by race, because I see the domain being organized by runners who belong to RACES.
在本示例中,我将根据比赛进行切分,因为我看到域是根据参加不同比赛的参赛者进行组织的。

youdao

25. If you try to store that data in Shard 2, things will get complicated, and system performance will probably suffer.
如果您尝试将那些数据存储在切分2中,情况就会变得复杂,系统性能也可能受影响。

youdao

26. Database sharding refers to the horizontal partitioning of a database with each inpidual partition called a shard.
数据库分片是指对数据库进行水平分区,其中每个分区称为一个碎片。

youdao

27. As we scale the number of database instances, hibernate.cfg.xml is added for each database instance used in the shard.
随着数据库实例的增多,为碎片中使用的每个数据库实例添加hibernate . cfg . xml。

youdao

28. The term "shard" is commonly used to describe inpidual servers that are designed around a traditional application pattern.
“片(shard)”这个词通常用来描述围绕一种传统应用程序模式设计的各个服务器。

youdao

29. For customers, you could shard based on location (Europe, Asia, Africa, etc.), or you could shard based on something else.
对于客户来说,您可以根据所在地(欧洲、亚洲、非洲等)切分,或者您也可以根据其他元素进行切分。

youdao

30. In Listing 10, I've created a marathon and then proceeded to verify that the record is indeed in Shard 1 and not in Shard 0.
在清单10中,我已经创建了一场马拉松,然后继续验证记录确实是在切分1中而非切分0中。

youdao