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

Tag: redshift

How to use SQL CASE result to compare a column and get another case result

By adminPosted on March 15, 2023

Question : I’m trying to compare my case result (desirecountry) with an existing column (so.country_name) to get another case result […]

Finding earliest connected value over two columns

By adminPosted on January 22, 2023

Question : I have a, perhaps slightly esoteric, use case. Given a table like the following: id1 | id2 | […]

Grant SELECT on all tables in Redshift

By adminPosted on January 15, 2023

Question : I am trying to assign SELECT privilege to a group in Redshift. So I created a group and […]

How can Amazon Redshift be built based on PostgreSQL if Postgres is row-based?

By adminPosted on January 12, 2023

Question : According to Amazon, Redshift is based on PostgreSQL, and is a column-oriented database management system. This looks to […]

Simple queries to Redshift really slow

By adminPosted on December 5, 2022

Question : I just started testing AWS Redshift and populated a single node with the AWS sample data. Querying a […]

Drop user in redshift which has privilege on some object

By adminPosted on November 21, 2022

Question : I have a pretty standard problem that I can’t resolve. I want to remove a user in redshift […]

Count specific query occurred in Redshift

By adminPosted on October 16, 2022

Question : I wanted to count the number queries executed over one day. I have this working version : SELECT […]

How to validate data before loading it to DB

By adminPosted on September 25, 2022

Question : I have a situation where in I have million records in CSV file, what I need to do […]

Amazon Redshift – The difference between Query Slots, Concurrency and Queues?

By adminPosted on September 18, 2022

Question : We are building a business intelligence system, and we have a huge PostgreSQL Database (DB) where we make […]

Cons of using a star schema in a columnar database

By adminPosted on June 29, 2022

Question : My organisation is implementing a new data warehouse using a columnar data store (Redshift) and the performance is […]

  • 1
  • 2
  • 3

Recent Posts

  • Why should I create an ID column when I can use others as key fields? [duplicate]
  • Force NOW to return new timestamps without committing the transaction
  • MariaDB on Windows Server 2012 R2 – out of memory
  • How to easily convert a comma seperated list of ids into a table of rows
  • clusterdb stopped working for PostgreSQL database in Ubuntu 12.04 server
  • Slow MySQL query
  • Database design : hotel room and its detail
  • How to use GROUP BY in an efficient way without losing attributes? [closed]
  • Query execution time is random, need to identify the root cause
  • Returning data where all categories exactly match
  • Partitioning increases CPU usage in mariadb
  • How to script out push subscription creation at the subscriber?
  • Can a transitive join loop infinitely?
  • 2 similar queries in large sql server table – 1 takes too long
  • Select data from another database instance on the same server in sql server
  • Is it possible to get server roles and database roles in a same query/script?
  • UPDATE performance where no data changes
  • Can I parse a text value from a specific column in a query (MySQL)?
  • MSSQL Geography STIntersects returns 1 when 0 is expected
  • Shrinking log files with SMO

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