Top "Sqlperformance" questions

This tag pertains to performance issues with Structured Query Language (SQL): performance bottlenecks faced when managing data in relational database management systems.

Index on join and where

Given the next SQL statement: Select * from A join B on A.id1=B.id1 and A.id2=B.id2 …

sql oracle11g sqlperformance
SQL UPDATE: Multiple columns in one statement or multiple single-column statements?

Is it more efficient to execute one UPDATE statement with multiple columns UPDATE myTable SET [col1] = [col1] + 1, [col2] = [col2] + 1, [col3] = […

sql sql-server performance sqlperformance
How to make full table scans faster in Oracle database?

This is a simple question. Suppose I have a massive table (5 million rows), and I have no option but to …

database oracle sqlperformance full-table-scan
TSQL - Faster to use IN (list) or use NOT IN (list) for a small list?

One of my columns can only contain 4 possible values (val1, val2, val3, val4). I need to add an additional filter …

sql tsql sqlperformance notin sql-in
Simple Self Join Query Bad Performance

Could anyone advice on how do I improve the performance of the following query. Note, the problem seems to be …

sql sql-server sql-server-2008 self-join sqlperformance
What is the fastest way to select a single row in SQL? (SQL Server)

I know of two different ways to select a single row from a table (without a where clause that guarantees …

sql sql-server performance query-performance sqlperformance
SqlDependency performance

I have a web application that use a SQL Server database that is shared with others web applications (over which …

sql-server triggers polling sqldependency sqlperformance
Performance Impact of Empty file by migrating the data to other files in the same filegroup

We have a database currently sitting on 15000 RPM drives that is simply a logging database and we want to move …

sql sql-server-2005 sqlperformance
Best practice with mysql innodb to rename huge table when table with same name already exist

I Use Mysql 5.5.. + INNODB and windows server. The case(make it simple then real case): I have 2 tables 1GB with …

mysql sql performance database-performance sqlperformance