码迷,mamicode.com
首页 >  
搜索关键字:mongodb bulk write    ( 25189个结果
LeetCode: Search a 2D Matrix [074]
【题目】 Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted from left to right. The first integer of each row is greater than the last integer of the previous ...
分类:其他好文   时间:2014-06-05 08:28:43    阅读次数:321
【Linux驱动】文件描述符以及相关知识
1、文件描述符 Linux操作系统中,几乎所有的设备都被抽象成为设备文件。因此,当我们想对设备进行操作的时候可以直接去操作其相应的设备文件。设备文件即是文件,要想对文件进行操作,无非就是:打开文件、关闭文件、写入数据、读出数据等,它们分别对应的函数有open(),close(),write(),read(),就以其中的open()函数做一个分析。open函数的作用是打开一个文件。 (1)它的定...
分类:系统相关   时间:2014-06-05 06:17:45    阅读次数:389
TCP源码分析--tcp_write_xmit
版本:2.6.33.4 发送端 tcp_write_xmit 函数 /* This routine writes packets to the network. It advances the * send_head. This happens as incoming acks open up the remote * window for us. * * LARGESEND no...
分类:其他好文   时间:2014-06-05 04:15:28    阅读次数:236
每日算法之二十:Generate Parentheses
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()(())", "()()...
分类:其他好文   时间:2014-06-05 02:15:14    阅读次数:262
MongoDB---性能优化---(1)
数据库性能优化---CPU的关键抉择...
分类:数据库   时间:2014-06-03 03:25:40    阅读次数:334
LeetCode: Search in Rotated Sorted Array II [081]
【题目】 Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run-time complexity? How and why? Write a function to determine if a given target is in the array. 【题意】 在“Search in Rotated Sorted Array”的基...
分类:其他好文   时间:2014-06-03 01:55:38    阅读次数:173
MongoDB Shell 常用操作
MongoDB Shell 常用操作...
分类:数据库   时间:2014-06-03 01:27:45    阅读次数:317
DMA过程分析
当我们在应用程序中编写write系统调用,向磁盘中写入数据时,写入请求会先调用底层写函数,将请求先写入内存中的页高速缓存(page cache)中,写入成功则立刻返回,真正的写入磁盘操作会延迟执行。Page cache是硬盘在内存中的一个缓存,是linux内核所使用的主要磁盘高速缓存,在绝大多数情况下,内核在读写磁盘时都引用page cache(极少数应用会绕过页高速缓存,如数据库软件)。...
分类:其他好文   时间:2014-06-02 22:38:57    阅读次数:311
MongoDB第一弹
MongoDB下载地址: http://www.mongodb.org/...
分类:数据库   时间:2014-06-01 07:19:36    阅读次数:396
java.lang.Exception: No tests found matching Method deleteById(cn.bytestream.mongodb.MongoDB4CRUDTest)
java.lang.Exception: No tests found matching Method deleteById(cn.bytestream.mongodb.MongoDB4CRUDTest) from org.junit.internal.requests.ClassRequest@2...
分类:数据库   时间:2014-05-31 03:23:50    阅读次数:483
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!