how to make query - Mailing list pgsql-sql

From Sachin Kumar
Subject how to make query
Date
Msg-id CALg-PKBaGOBtLPD88JLuLkDFh6VarJraupdzOSCKxkAodyRT6w@mail.gmail.com
Whole thread Raw
Responses Re: how to make query  (Philip Semanchuk <philip@americanefficient.com>)
List pgsql-sql
Hi Team,

we are using Python Django and Postgresql. Our requirement is to search 10 Million Card data and bring specific records as a result after checking the record every time.

We have to find data from a 2nd table that is related to the first one which we are checking using the loop.

For Ex:- 
10000 data - loop 10000 times 
to find data from the 2nd table. 

This makes our query too slower and it gets time out.

--

Best Regards,
Sachin Kumar

pgsql-sql by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: JSON path query returns duplicate values
Next
From: Sachin Kumar
Date:
Subject: PostgreSQL Django Query