SQL server的日志文件会随着数据修改的增加而变大,在处理日志文件时,我们常用的方式是将日志截断,并收缩。 Backup log databasename to disk='' dbcc shrinkfile(databasename_log) 当然,如果磁盘空间紧张...
分类:
数据库 时间:
2015-07-04 00:52:31
阅读次数:
205
教程来自:Git教程(廖雪峰的官方网站)主要命令:$ git log #查看已提交内容$ git log --pretty=oneline #查看已提交内容(紧凑版)$ git reset --hard HEAD^ #回退到上一版本$ git reset --hard 3628164 #回退...
分类:
其他好文 时间:
2015-07-02 22:32:46
阅读次数:
228
This link suggests a concise C++ recursive solution. The original code may be hard to understand at first and I have rewritten the code below. You may...
分类:
其他好文 时间:
2015-07-02 13:48:52
阅读次数:
97
Description
Dearboy was so busy recently that now he has piles of clothes to wash. Luckily, he has a beautiful and hard-working girlfriend to help him. The clothes are in varieties of colors but ea...
分类:
其他好文 时间:
2015-07-02 12:13:34
阅读次数:
104
磁盘管理---分区---parted命令实验举例:[root@server254devices]#parted/dev/sdb(parted)help(parted)printModel:VMware,VMwareVirtualS(scsi)Disk/dev/sdb:42.9GBSectorsize(logical/physical):512B/512BPartitionTable:msdosNumberStartEndSizeTypeFilesystemFlags132.3kB21..
分类:
系统相关 时间:
2015-07-02 08:43:42
阅读次数:
204
What is a namespace in MongoDB?If you remove a document, does MongoDB remove it from disk?When does MongoDB write updates to disk?How do I do transact...
分类:
数据库 时间:
2015-07-01 17:36:01
阅读次数:
127
最近用Golang做了一个项目,产品需求是“单服要达到5000并行处理” 硬件配置如下: CPU:Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz MEM:32G DISK:SCSI 600G 10000转/秒 OS:Centos 6.6 好了,先解决并发连接问题,...
分类:
系统相关 时间:
2015-07-01 15:53:47
阅读次数:
178
1. NSUserDefault 适用于存储轻量数据,于NSDictionary 类似,通过key来存取数据。2. 如果有大量数据需要持久化,不建议使用NSUserDefault,可以使用coredata ,sqlite 进行数据持久化3. 通过set..: forKey: 存储数据,此时disk中...
分类:
移动开发 时间:
2015-07-01 12:06:10
阅读次数:
144
How do I call a C function in another module from inline assembler in IAR EWARM?I have a bit of assembly in a hard fault handler.The assembly is basic...
分类:
其他好文 时间:
2015-07-01 11:56:11
阅读次数:
276
大多数操作系统支持异步I/O。备份到磁盘,异步I/O是一个优势,因为一个服务器进程同时可以执行多个I/O操作;同步I/O必须等上一个I/O操作完成才可以执行下一个I/O操作。初始化参数disk_asynch_io控制oracle异步I/O操作行为。如果操作系统支持异步I/O,oracle建议设置该参...
分类:
其他好文 时间:
2015-06-30 23:18:30
阅读次数:
130