SQL Server as key-value store versus Redis
Comparing SQL Server and Redis performance
Programming is thinking, not typing |
|
Comparing SQL Server and Redis performance
Why use Qt Test for unit testing and TDD (test-driven development)?
However, there are some drawbacks …
The Windows registry (WR) is a NoSQL DBMS based on a semi-structured hierarchical data model. Unlike configuration files approach, WR:
C++11 has introduced the move semantic which can also be used in containers instead of "old-school" pointers. The specific containers owning objects has been proposed earlier by third-party libraries like Boost (for example, ptr_map
or ptr_vector
).
The goal of the test is to compare the speed of manipulations …
SQL Server Profiler has the template "locks" that is intended especially to trace deadlock. Let's try to simulate and catch a deadlock situation.
Suppose the test database is named test
. Create two tables and feed them some data.
USE test;
CREATE TABLE dbo.invoices (
id int NOT NULL,
num nvarchar …
Hash indexes are used as entry points for memory-optimized tables; both features were introduced in SQL Server 2014. Let's look at index performance in scenario "key-value store".
The table stores a significant volume (about 10 millions rows) of pairs key-value. The key is of integer type and …
The small test program shows how memory and file I/O operations can be accelerated using multiple threads.
The program uses
Some countries have integer numbers printed on the transport tickets, for example, in ex-USSR. The ticket is "happy" when the sum of the first half of digits equals to the second one. Then you should eat it and make a wish.
Example:
123456 and 111222 are not happy tickets
123123 …
As DBAs know, Database Tuning Advisor can help you in some cases.
In theory, hash map structure should be very fast on retrieving by key operations, close to O(1) like for an array. A sorted map (keys are sorted) should be O(log2 N) instead. The following test checks the difference.
We will use one tester class per …