Database tuning can be an incredibly difficult task, particularly when working with large-scale data where even the most minor change can have a dramatic (positive or negative) impact on performance. In mid-sized and large companies, most SQL database tuning…
How to Improve Microsoft SQL Server Performance | Toptal To retain its users, any application or website must run fast. For mission critical environments, a couple of milliseconds delay in getting information might create big problems. As database sizes grow…
MATCH (a)-[r:ACTED_IN]->(m) RETURN a.name,r.roles, m.title :play movies MATCH (a)-[:ACTED_IN]->(m) RETURN a.name, m.title Number of movies : $match (n:Movie) return count(n) match (n:Movie) return count(n) match (n) return count(n) // Creating Movies CREATE (TheMatrix:Movie {title:’The Matrix’, released:1999, tagline:’Welcome to the Real…

1. Install Neo4j Go to http://neo4j.com/download/ and download the Community edition. This should download Neo4j 2.3 Based on your download type, follow the appropriate instructions. Linux/Mac/Windows zip 1. Untar/unzip the download 2. Run command: bin/neo4j start for Linux/Mac or just…
Consider the following table definition in a MySQL database: CREATE TABLE example ( id INT NOT NULL, text1 VARCHAR(32) NOT NULL, text2 VARCHAR(32) NOT NULL DEFAULT ‘foo’ ); What will be the result of the two INSERT statements below if…
Download Link : http://kx.com/software-download.php Installation instructions : http://code.kx.com/wiki/Tutorials/Installation?_ga=1.228375069.1038810810.1445944746 Go to http://kx.com/software-download.php. Click through the form and proceed to download. Choose the latest version and click ZIP. Unzip the downloaded file (linux.zip), and move the extracted q directory into your home…
MongoDB replica sets provide a number of features that most MongoDB users are going to want to leverage. Best of all they are relatively easy to setup. However, first timers often hesitate when it comes to the role of arbiters….
When designing a MongoDB schema, you need to start with a question that you’d never consider when using SQL: what is the cardinality of the relationship? Put less formally: you need to characterize your “One-to-N” relationship with a bit more…