
In Progress
Posted
I have a table stored in PostgreSQL that contains a mix of text and numeric fields, and I need a reliable way to spot potential duplicates even when values do not match exactly. Traditional equality checks miss many of the near-matches, so I’m looking for a fuzzy-matching approach—think Levenshtein distance, trigram similarity, or any method you feel is more accurate and performant for this scenario. The goal is a repeatable solution I can run on demand (SQL script, function, or small Python script that connects via psycopg2 is fine). It should: • Accept similarity thresholds that I can tweak easily. • Return the primary keys (or full rows, if simpler) for each suspected duplicate group. • Be clearly commented so I understand the logic and can extend it later. If you have prior experience using PostgreSQL’s pg_trgm extension, fuzzystrmatch, or integrating external libraries, mention how you plan to structure the query or code. Once delivered, I’ll test against my current dataset and confirm the matches before we close the project. My total budget for this project 500INR, you can use any AI tools. start your proposal with PG so i can understand you read it.
Project ID: 40516222
8 proposals
Remote project
Active 6 days ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

PG — your data has near-matches slipping through equality checks, and a well-tuned fuzzy detection layer will surface those hidden duplicates reliably. I've built similar deduplication pipelines on PostgreSQL using pg_trgm and fuzzystrmatch — including cases with mixed text/numeric fields where thresholds needed per-column tuning. The result was a reusable, commented solution the client could run and adjust without touching the core logic. Here's how I'd approach yours: Step 1: Understand your table structure, which fields matter most for matching, and your tolerance threshold preferences. Step 2: Build the core solution — likely a SQL function leveraging pg_trgm similarity scores combined with Levenshtein for shorter text fields, wrapped in a Python script via psycopg2 for flexibility. Step 3: Tune thresholds against sample data, refine grouping logic, and validate duplicate pairs make sense. Step 4: Clean up comments, finalize configurable parameters, and deliver with a short usage guide. Realistically deliverable in 2–3 days with clean, well-commented code you can extend confidently. One question — across your mixed fields, should the similarity match require all key columns to be close, or should a strong match on any one column flag a potential duplicate? Ready to start as soon as you share the table structure.
₹250 INR in 40 days
0.0
0.0
8 freelancers are bidding on average ₹253 INR/hour for this job

Hey there Glane here, I can help build a lightweight Python-based duplicate detection solution for PostgreSQL using psycopg2 together with PostgreSQL's pg_trgm extension, fuzzy matching functions, and configurable similarity thresholds. The solution can identify exact and near-duplicate records across text and numeric fields, return grouped duplicate candidates with primary keys, and include clear comments for easy maintenance and extension. I’ll provide a reusable script that allows threshold tuning, supports large datasets efficiently, and leverages AI-assisted development where appropriate to stay within your budget while delivering accurate, practical results.
₹500 INR in 40 days
6.2
6.2

PG — I can deliver a PostgreSQL fuzzy duplicate detection solution using **pg_trgm + Levenshtein (fuzzystrmatch)** with adjustable similarity thresholds, returning grouped duplicate records/PKs via a well-commented SQL function or Python (psycopg2) script within your ₹500 budget.
₹250 INR in 40 days
5.3
5.3

PG As a versatile professional with a specialization in the field of Artificial Intelligence (AI) and Data Analysis, I bring a unique set of skills that make me an excellent fit for your project. In terms of your explicit requirement of implementing a fuzzy-matching approach on PostgreSQL data, my extensive experience and knowledge in utilizing PostgreSQL's pg_trgm extension and fuzzystrmatch functionalities will ensure the most performant and accurate solution. Additionally, I will leverage my expertise in using external libraries to consolidate and enhance the accuracy levels. In addition to my hands-on understanding of different AI tools, such as Levenshtein distance and trigram similarity that you mentioned, I also possess in-depth experience in working with Python scripts that connect seamlessly with PostgreSQL via psycopg2 ─ facilitating an on-demand solution as per your requirements. My SQL programming proficiency will be crucial in producing queries or codes that align perfectly with your dataset to present results meeting your expectations.
₹250 INR in 40 days
5.1
5.1

PG - read it end to end. This is squarely my work (Python + PostgreSQL). Plan: pg_trgm trigram similarity (GIN index) to generate near-match candidates fast, then score tighter with fuzzystrmatch's levenshtein on the text fields; numeric fields compared with a tolerance you set. The similarity thresholds sit as variables at the top, so you tweak them without touching the logic. Output: each suspected duplicate group with its primary keys (or full rows if you'd rather). I'll deliver it as a small psycopg2 Python script OR a pure SQL function - whichever you'd prefer to run and maintain - fully commented so you can extend it later. Two quick things so I size it right: roughly how many rows in the table, and which columns should drive the match (e.g. name + address)? Happy to run it on a small sample of your data first so you see the matches before we finalise. Comfortably fits your ~500 INR budget.
₹150 INR in 40 days
0.4
0.4

PG101: Fuzzy Matrix Magician - Spotting duplicates within datasets is crucial for data integrity and accuracy. And as a seasoned and accredited PostgreSQL master, I am adept at this exact challenge! For your project, I will design an intelligent script that utilizes PostgreSQL’s pg_trgm extension and fuzzystrmatch to help you precisely detect even the most subtle duplicates. This technique is optimal in your situation since it doesn't bog you down with trivial mismatches. My extensive proficiency as a Python developer further complements this equation. I can construct SQL scripts, functions, or even an efficient Python script backed by psycopg2 to fulfill your specifications of running the solution on demand. My code will be not only powerful and accurate but also meticulously commented for easy comprehension and future adaptations. Considering my long track record of satisfying clients across diverse domains, I'm confident in my ability to strengthen your data analysis game. My price of 500 INR is more than reasonable, reflecting my belief in providing high-quality deliverables at cost-effective prices. Your satisfaction is my priority; so let's team up and validate the solution together before wrapping up the project - I assure you, it'll be flawless!
₹250 INR in 40 days
0.0
0.0

Thank you for the detailed requirements — I understand exactly what you're looking for. For this task, I'll implement a fuzzy-matching solution using PostgreSQL's pg_trgm extension (trigram-based similarity scoring) combined with fuzzystrmatch (Levenshtein distance) for precise text comparisons. This combination handles near-duplicate detection reliably across both text and numeric fields, and performs well even on larger tables when properly indexed (GIN index on trigram columns). Approach: Enable the required extensions (pg_trgm, fuzzystrmatch) on your database. Build a parameterized SQL function that self-joins your table, calculates similarity/distance scores between row pairs, and filters results based on a threshold you can adjust at call time. Return grouped primary keys (or full rows) for each suspected duplicate set, ordered by match confidence. Provide a lightweight Python script using psycopg2 to run the function on demand and export results to CSV for easy review. Everything will be clearly commented so you can understand the logic and extend it to additional columns or rules later without needing to rebuild from scratch. Deliverables: A reusable, threshold-adjustable SQL function A Python script to trigger it and export results Brief documentation on usage and how to extend the logic I can have a working version ready for your testing within 24 hours. Looking forward to getting started.
₹120 INR in 40 days
0.0
0.0

Islamabad, Pakistan
Payment method verified
Member since Apr 23, 2022
₹100-400 INR / hour
₹100-400 INR / hour
₹100-400 INR / hour
₹100-400 INR / hour
₹100-400 INR / hour
₹1500-12500 INR
₹12500-37500 INR
$10-30 USD
₹12500-37500 INR
$10-30 USD
₹600-1500 INR
₹1500-12500 INR
$10-30 USD
$2-8 AUD / hour
min $50 AUD / hour
$3000-5000 USD
₹100-400 INR / hour
min $50 USD / hour
$20000-50000 USD
₹600-1500 INR
€30-250 EUR
$15-25 USD / hour
₹1500-12500 INR
₹750-1250 INR / hour
$30-250 USD