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

Tag: postgresql-11

Why does PostgreSQL accept junk when parsing an INTERVAL

By adminPosted on March 23, 2023

Question : psql (11.8) Type “help” for help. public=# select ‘!@#$%^&*()00:00:00.01<>?<>:’::interval; interval ————- 00:00:00.01 (1 row) Seems to take just […]

Postgres: why did this trigram index slow down regexp queries?

By adminPosted on March 22, 2023

Question : I have a TEXT keyvalues column in Postgres: select * from test5 limit 5; id | keyvalues —-+—————————————————— […]

Installation of PostgreSQL-11: Depends: libllvm6.0 (>= 1:6.0~svn298832-1~) but it is not installable

By adminPosted on March 19, 2023

Question : I’ve added the official repository to my sources.list, deb http://apt.postgresql.org/pub/repos/apt/ cosmic-pgdg main 11 When I try to install […]

What SQL execution time should I expect when querying 4k records in a 150M records table?

By adminPosted on March 10, 2023

Question : We currently have performance issues with a SQL query on RDS Postgres 11.8. Here is the query: SELECT […]

Using activity over last few days to label user as “active”

By adminPosted on March 4, 2023

Question : Here’s an example dataset. with activity_cte (day, user_id, act1, act2) as ( values (‘2020-01-01’::date, 1, 0, 1), (‘2020-01-01’::date, […]

How to set statement timeout per user?

By adminPosted on March 2, 2023

Question : I have multiple users in Postgres. I would like to set up different statement timeouts for different users. […]

Recommended procedure to remove old files after major version PostgreSQL database cluster upgrade

By adminPosted on February 26, 2023

Question : I (successfully) followed the upgrade procedure in ยง18.6.1 of the PostgreSQL Manual to upgrade a PostgreSQL database cluster […]

Postgresql (11.9) LIKE query not using text_ops index

By adminPosted on February 23, 2023

Question : I’ve seen related questions but I think this should be working and isn’t. I have a text_ops function […]

PostgreSQL Index Only Scan can NOT return ctid

By adminPosted on February 19, 2023

Question : I have this table in PostgreSQL 11: CREATE TABLE A (id bigint PRIMARY KEY, text text) Now I […]

How to check if a value is in an array in a table

By adminPosted on February 16, 2023

Question : I have a table if key – array pairs and need to check if a string is an […]

  • 1
  • 2
  • 3
  • …
  • 12

Recent Posts

  • Getting a scan though I expect a seek
  • SQL Server backup. PowerShell vs Python [closed]
  • 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

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