首页 \ 问答 \ BigQuery资源已超出(BigQuery resources exceeded)

BigQuery资源已超出(BigQuery resources exceeded)

我正在尝试使用500M行转换表,大约30GB。 这是简单的分组,结果应该是另一个大表。 我正在将结果写入新表中并启用了“允许大结果”选项 - 这应该允许任意大的结果,但是我得到错误:在查询执行期间超出了资源。 职位ID:job_6CHEAHSHETUOGK7QAGSTIX5A4QVV4ZKZ

你能否检查一下哪些资源?

谢谢,拉德克


I'm trying to transform table with 500M rows, about 30GB. It is simple grouping, the result should be another big table. I'm writing the result into new table with Allow Large Result option enabled - this should allow arbitrary large results but I'm getting Error: Resources exceeded during query execution. Job ID: job_6CHEAHSHETUOGK7QAGSTIX5A4QVV4ZKZ

Could you please check which resources exceeded?

Thanks, Radek


原文:https://stackoverflow.com/questions/20219948
更新时间:2021-01-05 08:01

最满意答案

当大多数设备关闭时,没有自动选择主要的方法,您只需手动执行此操作。

这不是一个真正的限制,而是更多的是保持一致的复制,如果该集合的一半已经关闭,则认为没有足够的投票成员来得出关于什么成员应该是主要的结论。 您可以在此处详细了解它使用的投票“方法”: http//en.wikipedia.org/wiki/Quorum

MongoDB文档说明了两种可以使用的方法: http//docs.mongodb.org/manual/tutorial/reconfigure-replica-set-with-unavailable-members/


There is no automated way to pick a primary when the majority of the set is down, you just do this manually.

This isn't really a limitation but more of keeping consistent replication, if half of the set is down it is considered that there is not enough voting members to come to a conclusion on what member should be primary. You can read more about the voting "method" it uses here: http://en.wikipedia.org/wiki/Quorum

The MongoDB documentation states two methods you can use: http://docs.mongodb.org/manual/tutorial/reconfigure-replica-set-with-unavailable-members/

相关问答

更多
  • 这应该是诀窍: 删除第一行 将第二行更改为var db = db.getSisterDB("main") This should do the trick: Remove first line Change second line to var db = db.getSisterDB("main")
  • TL; DR:对于单主系统,甚至分区使得无法确定哪个剩余部分仍然占多数,从而使两个系统都关闭。 设N是四台机器的集群: 一台机器死机,其他机器恢复运行。 好。 两台机器死机,我们处于离线状态,因为我们不再占多数。 坏。 设M是三台机器的集群: 一台机器死机,其他机器恢复运行。 好。 两台机器死机,我们处于离线状态,因为我们不再占多数。 坏。 =>相同的结果是3/4的成本。 现在,让我们添加一两个假设: 我们还将运行某种使用数据库的服务器应用程序 可以对网络进行分区 假设您有两个数据中心,一个包含两个数据库实 ...
  • 这是可能的,但您需要使用ReadPreference在驱动程序级别实现查询分发。 您应该仔细考虑二次读取可能返回过时数据的事实。 您还应该仔细考虑是否有必要增加实现查询分发和容忍过时数据的复杂性。 我建议您首先使用primary (默认)ReadPreference进行一些性能测试。 值得指出的是,使用分片可以更好地完成您要完成的任务(读取缩放),而无需额外的客户端逻辑和使用辅助ReadPreference。 It is possible, but you would need to implement t ...
  • 我们将配置3个节点的MongoDB副本集。 Suposse我们有3个节点: 主机名Mongodb01 ,IP地址192.168.1.11和MongoDB,端口号27017 主机名Mongodb02 ,IP地址192.168.1.22和MongoDB,端口号为27017 主机名为Mongodb03 ,IP地址为192.168.1.33,并安装了端口号为27017的 MongoDB 在开始使用此配置之前,请确保您有以下几点: MongoDB服务已安装并在所有3个节点上运行 所有3个节点通过IP地址或主机名相互连 ...
  • 副本集的所有成员都保持对每个其他成员的当前状态的了解。 这是将节点总数限制为12的基本原理 - 超过这将在每对节点之间的心跳中引入过多的开销。 最多七个投票成员是为了避免选举减慢 - 因为你需要进行共识选举以选择新的主要选项,限制需要在他们之间协调的节点数量将使事情更快。 All members of a replica set maintain knowledge of the current state of each of the other members. This is the rational ...
  • 当大多数设备关闭时,没有自动选择主要的方法,您只需手动执行此操作。 这不是一个真正的限制,而是更多的是保持一致的复制,如果该集合的一半已经关闭,则认为没有足够的投票成员来得出关于什么成员应该是主要的结论。 您可以在此处详细了解它使用的投票“方法”: http : //en.wikipedia.org/wiki/Quorum MongoDB文档说明了两种可以使用的方法: http : //docs.mongodb.org/manual/tutorial/reconfigure-replica-set-with ...
  • 首先:有两种设置mongod进程配置的方法; 可以(如在您找到的命令中那样)作为命令行上的参数, 或者在配置文件mongod.conf中。 您的设置似乎在使用配置文件,因此您需要将副本集设置放在mongod.conf文件中 , 而不是在命令行上。 其次:在启用了身份验证的系统上运行rs.initiate()命令,必须按照您的身份验证为有权运行此命令的用户 Firstly: There are two ways of setting a mongod process's configuration; eith ...
  • 这是由防火墙引起的网络问题。 要按规范列出所有活动的iptables规则,请使用-S选项运行iptables命令 sudo iptables -S It was network issue caused by firewall. To list out all of the active iptables rules by specification, run the iptables command with the -S option sudo iptables -S
  • 正如您在评论中所说的那样,当您的replicaSet配置正常时,可能您的app正在与其他app一起启动,并且在配置replicaSet之前,它会中断。 您可以尝试在应用配置上使用depends_on ,这将使app容器在其他容器之后启动。 但请注意,这可能不起作用,因为它等待容器准备就绪,直到配置了replicaSet 如果这不起作用,我认为最简单的方法是在运行docker-compose后单独启动app 。 As you said on the comments, as you replicaSet co ...
  • 具有IP 192.168.56.101:27017的mongod服务器必须配置一个副本集。 使用replicaSet选项在192.168.56.101:27017上启动mongod,如: mongod --replSet "rs2" The mongod server with IP 192.168.56.101:27017 must be configured with a replicaSet. Start mongod on 192.168.56.101:27017 with replicaSet ...

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)