SELECT TABLESPACE_NAME, MEGS_ALLOC "Size(m)", MEGS_FREE "Free(m)", MEGS_USED "Used(m)", 
分类:
数据库 时间:
2018-05-28 19:48:17
阅读次数:
204
最近zabbix告警rac库表空间使用率超过75%需要扩容,本文记录了变更操作。1.表空间查看setpages999setlinesize999SELECTa.tablespace_name"表空间名称",100-ROUND((NVL(b.bytes_free,0)/a.bytes_alloc)*100,2)"占用率(%)",ROUND(a.bytes_alloc/1024/1024,2)"容量(
分类:
数据库 时间:
2018-05-22 10:43:27
阅读次数:
247
C语言跟内存申请相关的函数主要有 alloca,calloc,malloc,free,realloc,sbrk等. 函数malloc()和calloc()都可以用来动态分配内存空间,但两者稍有区别。 malloc()函数有一个参数,即要分配的内存空间的大小: void *malloc(size_t ...
分类:
其他好文 时间:
2018-05-20 14:07:43
阅读次数:
201
面试被问到这个问题,不是很清楚,写代码测试并记录一下。 #pragma mark - 测试通知-(void)testNotification{ // 初始化一个按钮 UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(100, ...
分类:
移动开发 时间:
2018-04-27 23:02:37
阅读次数:
302
重写description方法,当使用%@时就会输出特定的字符串。 Person *person = [[Person alloc] init]; 之后在使用NSLog(@"%@", person)时,就使用的是description方法。 ...
分类:
其他好文 时间:
2018-04-20 22:07:08
阅读次数:
172
SELECT TableName = obj.name, TotalRows = prt.rows, [SpaceUsed(KB)] = SUM(alloc.used_pages)*8 FROM sys.objects obj JOIN sys.indexes idx on obj.object_i... ...
分类:
数据库 时间:
2018-04-18 13:35:02
阅读次数:
187
添加滑动手势 //添加滑块 UIPanGestureRecognizer *recognizerA = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)]; [recognizerA se ...
分类:
移动开发 时间:
2018-04-11 17:03:50
阅读次数:
431
// 长按图片识别二维码 UILongPressGestureRecognizer *QrCodeTap = [[UILongPressGestureRecognizer alloc]initWithTarget:self action:@selector(QrCodeClick:)]; [self ...
分类:
移动开发 时间:
2018-04-10 13:27:41
阅读次数:
321
1.构造一个usb_driver2.设置 probe: 2.1. 分配video_device:video_device_alloc 2.2. 设置 .fops .ioctl_ops (里面需要设置11项) 如果要用内核提供的缓冲区操作函数,还需要构造一个videobuf_queue_ops 2.3 ...
分类:
其他好文 时间:
2018-04-06 18:38:44
阅读次数:
183
第一种方法: UIBlurEffect *effect = [UIBlurEffect effectWithStyle:UIBlurEffectStyleLight]; UIVisualEffectView *effectView = [[UIVisualEffectView alloc] init ...
分类:
其他好文 时间:
2018-04-02 10:09:24
阅读次数:
161