有两种方式第一,在psql控制台中\l+第二,在数据库中查select pg_size_pretty(pg_database_size('数据库名'));...
分类:
数据库 时间:
2015-08-13 18:00:48
阅读次数:
203
本文演示了如何使用docker在多个host上构建了一个ceph集群,并对过程做了针对性的说明。...
分类:
其他好文 时间:
2015-08-12 16:57:23
阅读次数:
106
Leader选举 Ceph中的leader选举是一个PaxosLease过程,与BasicPaxos的目的不同。后者用于解决数据一致性问题,而Paxos Lease是为了选举出一个leader承担monmap的同步任务,并负责在该leader离线之后选出新的leader。Ceph集群中只会有一个mo...
分类:
其他好文 时间:
2015-08-11 18:34:04
阅读次数:
296
第7章Ceph整合OpenStack遇到问题解决
7.1一个日志引发的错误追踪
1) Ceph问题起因http://bbs.ceph.org.cn/question/161错误日志
2) 找到vimnova/virt/libvirt/driver.py代码处3090行
************************
def_get_guest_disk_config(self,instance,name,disk_mapping,..
分类:
其他好文 时间:
2015-08-11 10:16:58
阅读次数:
253
一、cinder概述: 1、F版之前,并没有cinder,对应的组件为nova-volume;以Rest API的形式提供服务 2、cinder目标: 减少nova的复杂性,降低nova的负载,支持多种后端存储,增加和其他组件之间的交互; 后端存储包括isics 以及ceph等; ...
分类:
其他好文 时间:
2015-08-11 00:00:24
阅读次数:
356
解压PostgreSQL源代码包后可以到如下路径:postgresql-9.2.4\src\backend\replication下可以看到,basebackup.c,另外还可以看到walreceiver.c,walsender.c.basebackup做了什么一目了然:/*------------...
分类:
数据库 时间:
2015-08-10 21:54:06
阅读次数:
182
I am developing a Spring/Vaadin/Hibernate application. Everything works but I still have the following error markers in Eclipse STS 2.8.1: The hierarchy of the type BankView is inconsistent
The hie...
分类:
系统相关 时间:
2015-08-10 18:13:48
阅读次数:
137
https://www.baidu.com/s?wd=%E6%94%AF%E4%BB%98%E5%AE%9D%E6%B5%8B%E8%AF%95%E6%8E%A5%E5%8F%A3&rsv_spt=1&issp=1&f=3&rsv_bp=1&rsv_idx=2&ie=utf-8&tn=baiduhome_pg&rsv_enter=1&oq=%E6%94%AF%E4%BB%98%E5%AE%9...
分类:
其他好文 时间:
2015-08-07 16:42:00
阅读次数:
321
Pyhton 编辑错误
问题:
TabError: Inconsistent use of tabs and spaces in indentation
解决方法:
这个错误是说你用了tab键作缩进了,
因为在python不像C/C++里用大括号来区分程序块,而是用缩进
所以缩进很重要你把Tab都换成空格就好了...
分类:
其他好文 时间:
2015-08-05 22:25:03
阅读次数:
1015
官网:http://www.pipelinedb.com/pipelineDB是基于postgres的stream数据库。完全兼容pg的东西。由于产品需要解决性能这块瓶颈,老大让试试这款基于流计算的数据库。[pipeline@localhost ~]$ pipelinepipeline (9.4.4...
分类:
数据库 时间:
2015-08-04 12:43:52
阅读次数:
745