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

Tag: uniqueidentifier

Make a non-ordinal numeric ID in PostgreSQL

By adminPosted on May 7, 2023

Question : If I declare a column to be serial in PostgreSql, it will auto-increment in a ordinal sequence. The […]

Why should I create an ID column when I can use others as key fields? [duplicate]

By adminPosted on March 21, 2023

Question : This question already has answers here: Closed 10 years ago. Possible Duplicate: Why use an int as a […]

Performance of using a non-clustered index as primary key

By adminPosted on March 3, 2023

Question : Background I am designing a database for a record management system. It’s early stages as I am considering […]

Guid vs INT – Which is better as a primary key?

By adminPosted on February 20, 2023

Question : I’ve being reading around reasons to use or not Guid and int. int is smaller, faster, easy to […]

Query on char with selector with N prefix is very slow

By adminPosted on November 5, 2022

Question : I have a table with a CHAR(36) “id” column, which is a clustered primary key. It has multiple […]

Shortest Query to Combine Count and Unique (Oracle)

By adminPosted on October 25, 2022

Question : I have the following query which works for me: select count(*) from ( select UNIQUE col1, col2, col3 […]

Purpose of IDs in a User Table Database

By adminPosted on September 18, 2022

Question : In a table, such as a user table, where there will only be 1 row with a for […]

Is GUID(uniqueidentifier) not suitable for a clustered index? [closed]

By adminPosted on September 5, 2022

Question : Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this […]

Should I use UUID as well as ID

By adminPosted on September 2, 2022

Question : I’ve been using UUIDs in my systems for a while now for a variety of reasons ranging from […]

How to use Unique key via combinations of table fields?

By adminPosted on June 16, 2022

Question : Take a look at the following sqlfiddle: http://sqlfiddle.com/#!2/dacb5/1 CREATE TABLE contacts ( id int auto_increment primary key, name […]

  • 1
  • 2
  • 3
  • 4

Recent Posts

  • MongoDB ixscan seems to be scanning more objects than expected
  • Enumerate drives available to SQL Server
  • MySQL Select Query not using Required Index
  • Error Code: 1845. ALGORITHM=INSTANT is not supported for this operation. Try ALGORITHM=COPY/INPLACE
  • MY Sql group by taking too much time [closed]
  • Does joining to the same table twice have a predictable performance impact
  • Using COLLATE with UNION
  • Why Does the Transaction Log Keep Growing or Run Out of Space?
  • SQL Server 2014 All Administrator Accounts Disabled
  • Does Postgresql apply the same type of locks on UPDATE with range condition and on UPDATE with in-set condition?
  • Mysql join heavy query on large tables taking hours
  • Is it possible to use Change Tracking on a Replication target?
  • Calculate percent changes in contiguous ranges in PostgreSql
  • Does having no brackets at “WHERE” produce same results as having brackets? [closed]
  • mysql slave restore database ERROR 3079
  • MySQL 8 roles – I’m probably missing something obvious
  • Migrating Oracle 9i database to MySql database on a different Windows Server
  • How to skip already created table while importing dump file in MySql
  • Hash aggregate bailout
  • multi-column FKs with NULL values [duplicate]

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