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

Tag: nearest-neighbor

Return values at more/less specific time points

By adminPosted on March 9, 2023

Question : In PostgreSQL 10.0, I have a big table with two columns: CREATE TABLE xs ( ts timestamp with […]

Quick nearest neighbor search in the 150-dimensional space

By adminPosted on November 26, 2021

Question : I want to create a database using any of the possible RDBMS. It will have a table with […]

Mysql find 10 nearest point from given lat/long per type?

By adminPosted on November 25, 2021

Question : I have a database given with 3 different types of locations A, B and C. These points have […]

Postgres: Disable “similarity” column output on “SELECT SIMILARITY”?

By adminPosted on October 2, 2021

Question : I’ve tried disabling similarity column output on SELECT SIMILARITY but still cannot. Below query will generate a column […]

Improve performance of this query finding nearby locations

By adminPosted on October 1, 2021

Question : I am trying to execute this SQL, but the query is really slow (almost 2 hours), It’s actually […]

Nearest neighbours (KNN) from a selected point

By adminPosted on January 30, 2021

Question : I have a small point dataset, I perform the following I get the 10 KNN from the coordinate. […]

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