Skip to content
DbaFix
Just share answer and question for fixing database problem
MENU
  • HOME

Tag: index

Advisability of using STATISTICS_NORECOMPUTE

By adminPosted on March 29, 2023

Question : I’ve recently become involved in maintaining a set of databases with some interesting index problems. One of the […]

Aren’t two writes required to update a clustered index record

By adminPosted on March 28, 2023

Question : I was reading the article on indexes at simple-talk, where it is written that If a heap has […]

What is the cost of adding a foreign key in mysql?

By adminPosted on March 28, 2023

Question : I have an application which has a product_def table defining all products. The recrods in product_def are fixed […]

looking for missing indexes in the cached execution plans

By adminPosted on March 28, 2023

Question : I have the following query that shows me what is cached in sql server: SELECT cp.objtype AS ObjectType, […]

Attempts to reclaim unused space causes the used space to increase significantly in SQL Server

By adminPosted on March 27, 2023

Question : I have a table in a production database that has a size of 525 GB, of which 383 […]

FillFactor: IndexOptimize script by Ola Hallengren

By adminPosted on March 27, 2023

Question : We are using Ola Hallengren’s IndexOptimize script for index rebuild on SQL Server 2008 and 2012. These maintenance […]

Efficient query to get greatest value per group from big table

By adminPosted on March 26, 2023

Question : Given the table: Column | Type id | integer latitude | numeric(9,6) longitude | numeric(9,6) speed | integer […]

Getting a scan though I expect a seek

By adminPosted on March 26, 2023

Question : I need to optimize a SELECT statement but SQL Server always does an index scan instead of a […]

Are there any benefits in certain ordering of columns when defining indexes

By adminPosted on March 26, 2023

Question : For example, if I have two indexes: CREATE INDEX IDX_1 ON MY_TABLE_1 (ITEM, DATE, LOCATION) COMPUTE STATISTICS; CREATE […]

Mysql might have too many indexes

By adminPosted on March 26, 2023

Question : I am using the php framework Laravel for my application, together with mysql 5.6, in order to have […]

  • 1
  • 2
  • 3
  • …
  • 421

Recent Posts

  • InnoDB engine is not loading after tuning parameters
  • How to optimize query on MYSQL with multiple group by clause
  • Referencing database programmatically via T-SQL
  • How to set roles and users with correct permissions on Postgres? [closed]
  • SQL query optmization [closed]
  • Is it possible to optimize this query? Currently taking days (no sign of stopping) on ~11 million records
  • We use MongoDB 3.6 community version, How can i get the number of hits on single collection as well as bandwith usage?
  • Will too many tables slow Mysql down?
  • Group By hour over large dataset
  • “Force Encryption” vs “Force Protocol Encryption” in SQL Server
  • Mysql checksum for master-slave replication returning different values, despite being identical
  • Same record shows up multiple times in ordered paginated query
  • Allow users to only view the databases they have access to
  • Does ALTER on PostgreSQL, Oracle table (respectively) create intermediate copy of the table?
  • Delete rows from a large table with joins and aggregating (resulting in 1 % less rows in the big table)
  • How to record sqlplus session activity like “/var/messages” in Unix..? [closed]
  • Mysql dump with View dependent on user
  • How does Oracle know who I am?
  • Filter a SQL replication
  • Return values from Left Table Only Once

Categories

  • Database Backup
  • Database Design
  • Database Index
  • Database Optimization
  • InnoDB
  • Join
  • MariaDB
  • MongoDB
  • MySQL
  • Oracle
  • Performance
  • Permissions
  • Postgresql
  • Query Performance
  • Replication
  • Security
  • SQL Server
Proudly powered by WordPress / Support by: DizzyCoding