PGPG(PlacementGroup)单从名字上可理解为一个放置策略组,它是对象的集合,集合里的所有对象具有相同的放置策略;对象的副本都分布在相同的OSD列表上。一个对象只能属于一个PG,一个PG对应于放置在其上的OSD列表。一个OSD上可以分布多个PG。PG是一组对象的逻辑集合,也可将PG..
分类:
其他好文 时间:
2017-07-25 15:44:55
阅读次数:
143
报错信息如下:[root@ceph-6-11~]#cephhealthdetailHEALTH_ERR1pgsinconsistent;1scruberrors;pg2.37cisactive+clean+inconsistent,acting[75,6,35]1scruberrors报错信息总结:问题PG:2.37cOSD编号:75,6,35执行常规修复:cephpgrepair2.37c查看修复结果:[root@ceph-6-11~]#c..
分类:
其他好文 时间:
2017-07-25 01:10:01
阅读次数:
600
1: 打开的游标 pg_cursors 2:数据库用的组 pg_group 3:索引 pg_indexes 4:当前持有的所 pg_locks 5:预备语句 pg_prepared_statements 6:预备事务 pg_prepared_xacts 7:数据库角色 pg_roloes 8:规则 ...
分类:
其他好文 时间:
2017-07-24 17:34:03
阅读次数:
117
需要修改的配置文件:switch.conf.xml//核心表cdr_pg_csv.conf.xml//通话记录db.conf.xml//核心表voicemail.conf.xml//留言相关的表internal.xml//external.xml//fifo.conf.xml//fifo相关的表callcenter.conf.xml//callcenter程序相关的表。1、switch.conf.xml<paramname="c..
分类:
数据库 时间:
2017-07-24 11:34:44
阅读次数:
536
"Peer authentication" means that it's comparing your database username against your Linux username. It should work if you're logged in as postgres. Yo ...
分类:
数据库 时间:
2017-07-24 01:20:56
阅读次数:
763
http://www.cnblogs.com/jianyungsun/p/6647203.html http://blog.csdn.net/pg_guo/article/details/51083502 String、JsonObject、JavaBean 互相转换 User user = new ...
分类:
编程语言 时间:
2017-07-21 15:44:08
阅读次数:
329
一. 简单web框架 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> body{ margin: 0; } .pg-header{ height: 48px; mi ...
分类:
Web程序 时间:
2017-07-18 23:04:17
阅读次数:
266
Hat's Tea Problem Description Hat is a member of PG Studio. Hat codes a lot and so he often buys tea at tea vending machine. But the tea vending machi ...
分类:
其他好文 时间:
2017-07-14 16:30:19
阅读次数:
151
原文:http://www.cnblogs.com/me115/p/6366374.html Pool是存储对象的逻辑分区,它规定了数据冗余的类型和对应的副本分布策略;支持两种类型:副本(replicated)和 纠删码( Erasure Code);目前我们公司内部使用的Pool都是副本类型(3副 ...
分类:
其他好文 时间:
2017-07-14 12:00:35
阅读次数:
237
--definepartitionedtable:t_range_listcreatetablet_range_list(idbigserial,tenant_idint,crt_timetimestamp)partitionbylist(mod(tenant_id,10));--level1:list--list(mod(tenant_id,10))createtablet_range_list_0partitionoft_range_list(id,tenant_id,crt_time)forvalue..
分类:
其他好文 时间:
2017-07-12 15:16:36
阅读次数:
160