Top "Database-performance" questions

Questions about database performance and tuning, ranging from files organization and configuration to benchmarking and system optimization, passing through management systems and the fastest ways to operate a database.

In MySQL, how to build index to speed up this query?

In MySQL, how to build index to speed up this query? SELECT c1, c2 FROM t WHERE c3='foobar';

mysql indexing database-performance
Weird timeout issues with Dapper.net

I started to use dapper.net a while ago for performance reasons and that i really like the named parameters …

sql dapper database-performance
Dropping column in Postgres on a large dataset

So I have a table with a large dataset and this table has a three columns that I would like …

postgresql database-design ddl database-performance postgresql-9.2
Performance difference between UUID, CHAR, and VARCHAR in PostgreSql table?

I'm storing UUID v4 values in a PostgreSQL v9.4 table, under column "id". When I create the table, is there …

sql postgresql database-performance sqldatatypes
SQL index for date range query

For a few days, I've been struggling with improving the performance of my database and there are some issues that …

sql database indexing sql-server-2014 database-performance
Strategies for fast searches of billions of small documents in MongoDB

I need to store several billion small data structures (around 200 bytes each). So far, storing each element as a separate …

mongodb search scalability pymongo database-performance
Why do spring/hibernate read-only database transactions run slower than read-write?

I've been doing some research around the performance of read-only versus read-write database transactions. The MySQL server is remote across …

java spring hibernate database-performance spring-transactions
SQL Server long running query taking hours but using low CPU

I'm running some stored procedures in SQL Server 2012 under Windows Server 2012 in a dedicated server with 32 GB of RAM and 8 …

sql-server sql-server-2012 database-performance long-running-processes server-configuration
mysql udf json_extract in where clause - how to improve performance

How can I efficiently search json data in a mysql database? I installed the extract_json udf from labs.mysql.…

mysql json where-clause database-performance mysql-udf
How to clear MySQL query profiles

After turning on profiling in MySQL SET profiling=1; I can run like a query like SELECT NOW(); and see profile …

mysql profiling database-performance