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

Category: Database Index

Index Maintenance for varbinary

By adminPosted on July 14, 2020

Question : We have a SQL 2016 database that has a 1.9bn row table which has a varbinary(255) column which […]

What indexes should one use for this two-table setup?

By adminPosted on July 14, 2020

Question : I have the following two-table setup: CREATE TABLE relationships ( id bigint(20) NOT NULL AUTO_INCREMENT, type varchar(20) COLLATE […]

Save performance with large update on Index with Included Column

By adminPosted on July 13, 2020

Question : Points —————— PK QuestionId int (+30.000.000 distinct values) PK EventId int (large batches where 80.000 rows have the […]

Optimizing table/indices for getting the latest row (filtering by one additional column)

By adminPosted on July 12, 2020

Question : I have a SQL Server table (SQL Server 2012 SP3 Standard edition) that stores a bunch of configuration […]

Why would CREATE INDEX with “online” mode suddenly slow my database down?

By adminPosted on July 12, 2020

Question : Earlier I used CREATE INDEX … WITH(ONLINE=ON) without any problems – the statement would run in parallel with […]

MySQL How to Script to create indexes on all date columns in database

By adminPosted on July 12, 2020

Question : I have a lot of tables in the database that are using a datetime stamp – I need […]

Mysql – How number of columns effect the database performance

By adminPosted on July 12, 2020

Question : I have a table to store social media information for users; I have 42 columns to store and […]

Does MySQL exectution plan depend on available indexes?

By adminPosted on July 11, 2020

Question : Does MySQL choose an execution plan for a given query taking into account what indexes are available, or […]

Query to retrieve index details for a particular column in all tables

By adminPosted on July 11, 2020

Question : There is a column created_at in most of tables. I would like to get the details if that […]

MySQL – Indexes deleted, reduced column size but table size increases

By adminPosted on July 11, 2020

Question : Here is the original table definition which contains 107547934 (~107.5M) rows CREATE TABLE `twitter_tweets` ( `id_str` varchar(100) CHARACTER […]

  • 1
  • …
  • 192
  • 193
  • 194
  • 195
  • 196

Recent Posts

  • Improve reading speed of MySQL table storing stock prices (100 Mil. entries)
  • Adding sql users via linked servers
  • Postgres – caching of recently inserted data?
  • Does Oracle randomly switch execution plans to check if there is a better solution?
  • Cannot INSERT into database on a shared server
  • Simple query with a single join very slow
  • How to replicate and sync MongoDB localhost to a remote server using replica set
  • How can I increase performance for select in select statement
  • Optimize UNION query in MySQL
  • Mysql Performance tuning for myisam tables.
  • Get-ClusterParameter Not Returning Expected Results
  • SQL Server Extended Events to Capture Objects access by a User [duplicate]
  • Execution time of triggers fired when a procedure is executed in postgresql
  • Efficient query to get last row group by multiple columns
  • How to use GROUP BY after the Having clause Mysql
  • PGSQL- syntax error at or near “-“
  • Huge database logging of event type rows and ways to optimize it
  • Why is the following query so bad performance-wise
  • Normalize SQL to the same format
  • MySQL: Replication and local variables

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