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

Tag: postgresql-performance

Why is this PostgreSQL volatile function faster than an inline subquery?

By adminPosted on February 1, 2023

Question : The following examples have been tested in PostgreSQL versions 11 and 12. A few of the tables involved […]

How to reduce the required frequency of ANALYSE on a postgres table?

By adminPosted on January 30, 2023

Question : I have a Postgres database into which about 20 million rows are inserted every day. The records are […]

How to prevent seek pagination from doing sequential scan over entire table

By adminPosted on January 30, 2023

Question : I have 3 tables and a materialized view: resource_categories contains all category names and metadata create table if […]

Performance issue during count Postresql 9.4 – Creating index on pivot table key…?

By adminPosted on January 24, 2023

Question : Disclaimer: I am new to Postgres, I need some advice… I have a huge table, with full of […]

Use BIGINT and twice the storage space or INTEGER but with extra operations?

By adminPosted on January 20, 2023

Question : Suppose I’ve a table named agency with some columns: internal_id(integer, unique) , external_id(bigint, unique) , name, location, created_at, […]

PostgreSql subquery evaluated without filtering

By adminPosted on January 18, 2023

Question : I am struggling to optimize the following query: SELECT tbA.id, tbB.createDate FROM tbA LEFT OUTER JOIN (SELECT id, […]

Autocomplete using Postgres Optimization

By adminPosted on January 14, 2023

Question : I’m trying to build an autocomplete feature using postgres. Here’s the steps that I followed: Since the autocomplete […]

Best index for case insensitive match on one field and ordering by another field

By adminPosted on January 14, 2023

Question : I want to run a query like this: SELECT * FROM “core_user” WHERE UPPER(“core_user”.”email”::text) = UPPER(’emailsearch@example.com’) ORDER BY […]

What’s the (Big O) computational complexity of a PostgreSQL recursive common table expression?

By adminPosted on January 13, 2023

Question : For example, taking this StackOverflow #44620695 question, recursive path aggregation and CTE query for top-down tree postgres as […]

Unix timestamp vs timestamptz index performance [closed]

By adminPosted on January 10, 2023

Question : Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? […]

  • 1
  • 2
  • 3
  • …
  • 46

Recent Posts

  • how to find out the log backups that I need to restore in order to bring log shipping from standby to online?
  • Embedding JSON in a string
  • SQL Server – Identical query on near identical database takes 20 seconds on sql2012 but does not complete after 50+ hours on sql2014
  • RMAN list archivelogs that are needed for to recover specified backup
  • Minimizing SELECT latency in PostgreSQL
  • Replication from EC2 Master to RDS Slave – Connecting to master
  • How to index range condition and ordering by a different colum?
  • Bi-directional synchronization between local SQL Server 2005 and a SQL Azure using SQL Data Sync
  • What queries are supported by MySQL but not PostgreSQL?
  • MYSQL: What is the benefit of compound indexes, over separate ones?
  • Help with relational database design
  • Will SQL 2008 SSIS package files work with SQL 2016 databases after database upgrades?
  • How to prevent memory optimized tables from blowing out OPT_MEMORY_OPTIMIZED$HKv2
  • MySQL Workbench connect to MS Access
  • Remove duplicate values from query result
  • Primary key guarantees: duplicates and nullity
  • Postgresql Vacuum and replication
  • Is the overhead of frequent query cache invalidation ever worth it?
  • MongoDB deleted logs
  • TSQL Copy an existing database

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