This question was migrated from Stack Overflow because it can be answered on D ...
This question was migrated from Stack Overflow because it can be answered on D ...
TS + Node 12 + TypeORM + MySQL - AWS 2GB instance EC2 (medium I think) The issue is simple. For get orders API request - we load orders from the dat ...
I have a product table and it has an indexed column manufacturer_id. The table has 30M rows. I want to check if a specific row exists in the table. Qu ...
I often encounter the advice that, when checking for the existence of any rows from a (sub)query, one should use EXISTS instead of COUNT(*) > 0, fo ...
Without using DISTINCT function , how to achieve the same result. TAB_C = 2947109424 rows, act = 43460 rows ...
I wrote a function in the oracle database that calculates saldo and finds the date of the operation. Here's how it works: He will receive Start ...
I have a query: EXPLAIN of this query: As you can see the datasourcedescription indexes are not being used though they exist in posible_keys. Th ...
I have an application which performance is fine on premises SQL Server. Same DB is hosted on Azure (business critical 16 Cores) but its performance is ...
I have a PHP - MySQL set up . I have a table devicevalue structure of it is like this The vals columns hold temperature values . any user loggin i ...
I migrated my PHP/MySQL DB from Unix to Windows. I dumped the DB and imported it directly on Windows without any difference. I use the same script/PHP ...
I'm running complex query with a lot of conditions. on big database and the query is taking over 2 minutes. I am using Django for my project. Can I op ...
Background We have three tables in Redshift that we've been joining on a BIGINT column. For a variety of reasons we're being forced to change this ke ...
I have a query whereby, when enabling sequential scanning on the postgres database and using now() in the where clause, the query planner will prefer ...
I have a Oracle 12c query that will eventually be used in a BIRT report (in IBM's Maximo Asset Management platform). The query/report will retrieve ...
I'm trying to speed up the following query as it takes quite long to run: now it's 'only' about 1.5 seconds, but it will certainly get slower with mor ...
So i just started working in PostgreSQL after some experience with Oracle and I have this query, that in Oracle returns in 200ms and in Postgres retur ...
Hi i want fetch the records depends on different condition i used union worked fine but taking more than 15 secs so how can we eliminate union or make ...
I have a query where I select workorders where the classification = 60280 or where the classification is a child of 60280: (For what it's worth, th ...
I am trying to update and insert rows in a large postgres table comprising approx 30 millions of records using psycopg2 in python, I am doing so in ba ...
I have a situation where the estimated number of rows in the execution plan is way off My columns in the join are varchar(50). I have tried differe ...