1. Check all recordsCopy the code code as follows:Db.userInfo.find ();Equivalent:select* from UserInfo;The default is 20 records per page, and you can query the next page of data with the IT iteration command when the display is not displayed. Note:
First find MongoDB's official website http://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/?_ga= 1.104487360.1319058345.1434008003Configuring the Public key sudo apt-key adv--keyserver hkp://keyserver.ubuntu.com:80--recv 7f0ceb10echo
Preface: Daughter-in-law asked to be sent up. I want the first page of this article.1,nuget introduced MongoDB. Then the namespaceUsing mongodb.bson;using mongodb.driver;using mongodb.driver.builders;using MongoDB.Driver.Linq;2, Global
First, Environment construction About the environment, the best way to build, of course, is the script one-click Build I am here to build on CENTOS6 x64 version of Linux, this Linux version should now be the standard version of most mainstream
Integrated configuration of 1.Spring integrated MongoDBIf you are using a MAVEN project, add a package dependency. Dependency> groupId>Org.springframework.datagroupId> Artifactid>Spring-data-mongodbArtifactid>
Find () statementstart the MongoDB service because MongoDB does not start with the system, and it may take a short period of time for the following commands to start to complete. sudo service MongoDB startEnter the MongoDB command line operator
Converts column data separated by commas in a column into a function for displaying row data.
This is an example of a string segmentation function. select to_number (strvalue) as Value from table (fn_split ('1, 2, 3 ', ',') select to_char (strvalue)
Dellshareplex and HVR data replication software
Today I have a general understanding of Dell shareplex data replication software, web site: http://software.dell.com/products/shareplex/
You can see from this URL,Shareplex is the source and only
One-click excel Export
How to export an excel file with one click
Public function input (){
Ob_end_clean (); // clear the buffer to avoid garbled characters.
Header ("Content-Typ: text/html; charset = UTF-8 ");
Vendor ('excel. PHPExcel. Writer.
How many bytes does VARCHAR2 occupy? NLS_LENGTH_SEMANTICS, nls_languageORACLE initialization parameter: NLS_LENGTH_SEMANTICS
The initialization parameter NLS_LENGTH_SEMANTICS is used to specify the length definition method for the CHAR or VARCHAR2
Data cleansing Note: Full-angle numeric Conversion
Background]
When you insert a numeric field to the target end, an error is returned, indicating that the type is incorrect. Check that the data is indeed number, but the result is a "fullwidth"
Filter conversion can be optimized at one time
There is a problem with SQL Performance. When a filter is found in the execution plan, you should be careful when it comes to it. Like nestloop, my previous blog has studied it.Explore the filter
Data cleansing Note: correct English date conversion reports "invalid month"
Background]
Data in the format of "9-jun14" must be converted when it is saved to the date format field. However, an error "invalid month" is reported for a standard date.
Write redis scripts togetherI. redis script Environment
To write redis scripts, we should first set up its script environment. Redis uses lua as its scripting language. Therefore, building a lua environment becomes the first priority.
Environment:
Mutual conversion of SCN timestampsSQL> select * from v $ version where rownum = 1;BANNER--------------------------------------------------------------------------------Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-ProductionSQL>!
Storage and file managementStorage and file management
Purpose
(1) master the creation and management of tablespaces.
(2) master the management operations such as viewing and modifying the tablespace under the OEM.
(3) master the creation,
MongoDB database update and deletion documentationCreate a collection createCollection ()
name: the name of the created set. options: an initialized document (optional)
db. createCollection ("jingdong") # No parameter {"OK": 1}> show
Redis memory management code comment
Zmalloc. h
/* Zmalloc-total amount of allocated memory aware version of malloc () ** Copyright (c) 2009-2010, Salvatore Sanfilippo * All rights reserved. ** Redistribution and use in source and binary forms,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.