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

Tag: merge

When I have 6 cores and they do a table scan and merge afterwards, does every core scan the whole table?

By adminPosted on March 21, 2023

Question : I remember that I once had a missing index on a table and one query was taking ages. […]

Merge replication throws PRIMARY KEY violation during the initialization of Subscriber

By adminPosted on March 15, 2023

Question : I am using SQL Server 2014 SP1 to set up merge replication on Windows 2008. The databases (Publisher […]

Merging two backups form a postgresql database

By adminPosted on March 2, 2023

Question : I have a kind of big postgresql database and two backup files (each uncompressed dump file ~56 mb) […]

Why does this MERGE statement cause the session to be killed?

By adminPosted on February 16, 2023

Question : I have the below MERGE statement which is issued against the database: MERGE “MySchema”.”Point” AS t USING ( […]

It’s possible to skip duplicate keys (i.e. MERGE) in a BULK INSERT in MySQL?

By adminPosted on February 14, 2023

Question : I have a INSERT…SELECT statement that I want to run several times from TABLE1 to TABLE2 as the […]

How do I update and insert specific set of rows to an existing table using Merge in SQL Server 2008 R2?

By adminPosted on February 13, 2023

Question : I have a table in the database that I need to update based on the records being passed […]

moving a Partition of Partitioned Table to other File Group, SQL Server

By adminPosted on February 13, 2023

Question : I created partitioned table on DateTime column. for last 6 month. I placed 3 oldest month on a […]

SQL Server – Identical query on near identical database takes 20 seconds on sql2012 but does not complete after 50+ hours on sql2014

By adminPosted on February 4, 2023

Question : I have 2 databases that contain nearly identical data. The first has compatibility level 100 and is restored […]

Merging table records across TabName for each PersonID

By adminPosted on January 24, 2023

Question : Consider the following table, CREATE TABLE temp ( [TabName] VARCHAR(255), [PersonID] VARCHAR(255), [FirstName] VARCHAR(255), [Gender] VARCHAR(255), [BenefitType] VARCHAR(255), […]

SQL Server Merge vs MySQL Insert On Duplicate Key performance comparison

By adminPosted on January 1, 2023

Question : I’ve been searching a lot for this kind of comparison or some sort of performance balance. What I […]

  • 1
  • 2
  • 3
  • …
  • 10

Recent Posts

  • How to pass a parameter into a subquery in a join statement [closed]
  • Replicate a database with a subset of data offered by custom queries [closed]
  • Are there any benefits in certain ordering of columns when defining indexes
  • Logins aren’t syncing across Availability Groups
  • Finding same values and updating rankings
  • Servers running on Microsoft Windows instead output carriage
  • Master ip has changed in postgresql replication
  • optimize design for a table with 50 columns [closed]
  • SQLServer In-Memory database and log file size unexpected increase
  • Is it worth to optimize queries with EarlyTermination Timeout?
  • Is there way to get transaction commit timestamp in Postgres?
  • MySQL/PHP Returning Blank Error Message [closed]
  • Mysql might have too many indexes
  • Database replication with ability to revert to previous states
  • Linked server to Oracle doesn’t use filters. Are there any performance changes in different versions of SQL Server?
  • Enable query store for all databases
  • SQL Server 2012 Enforce Password Policy [closed]
  • Maintenance in MYSQL when innodb_file_per_table disabled
  • SQL Server stored procedure producing data related to months between two dates [duplicate]
  • Efficient way to store multi choice in a column with few options

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