Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
125 views

SELECT tt.trans_type_name AS transaction_type, trans.transaction_time, a.trans_action_name AS transaction_action_name, trans.transaction_notes FROM(SELECT Cast(...
Thomas A Mathew's user avatar
3 votes
1 answer
92 views

I'm trying to help a user in another stackoverflow question and have bumped by head into a strange behaviour. As I rarely use MariaDB, I'm opening another question to investigate the behaviour, ...
MatBailie's user avatar
  • 87.4k
-1 votes
0 answers
160 views

I am seeding a database by copying over data from another database on the same server. In one of the tables, I am doing an INSERT INTO SELECT statement to bring over a few columns. While existing and ...
Robert Sievers's user avatar
0 votes
1 answer
206 views

The ORDMBS is PostgreSQL 17.5 on x86_64-suse-linux-gnu, compiled by gcc (SUSE Linux) 7.5.0, 64-bit. I have big table (about 150 GB), partitioned. Full table description: CREATE TABLE table_partition (...
Sergei Grigoriev's user avatar
3 votes
0 answers
103 views

I'm facing a counter-intuitive performance issue with my MongoDB sharded cluster where queries with fewer values in an $in clause are significantly slower than queries with more values. The Issue: ...
9308's user avatar
  • 31
-4 votes
1 answer
62 views

📝 Body I have a Mongo collection CollectionA where each top-level object contains a nested array of meetings now each meetings have start and end times, for example: CollectionA = [ { &...
LEO_007's user avatar
  • 51
-1 votes
2 answers
235 views

I'm using Azure SQL (Standard S0: 10 DTUs) to store data from various IoT devices. Each IoT device sends messages to my Azure IoT Hub, which then triggers an Azure Function App. The Function App ...
DJDJ's user avatar
  • 763
3 votes
1 answer
202 views

I'm testing with a very simple database queue to see how fast I can process it. At the moment without even doing anything else then just retrieving it from the queue. A simple CTE query selects one ...
Hugo Delsing's user avatar
  • 14.3k
1 vote
1 answer
100 views

I have a website that displays on the main page the 12 latest uploads from the site's users. In that query, users can filter out uploads from certain other users (hence the NOT IN clause). Here is an ...
Armitige3's user avatar
1 vote
0 answers
39 views

I want to query wikidata entities and their labels in multiple languages. But for some reason querying the labels is very inperformant. My base query looks like this (find 3 life forms that have ...
Kaligule's user avatar
  • 830
3 votes
1 answer
115 views

I have a very large BigQuery table with web events that I want to aggregate into daily, weekly and monthly numbers of visitors. And I want to join them into the same table. My initial guess is to do ...
Jan Mulder's user avatar
0 votes
1 answer
99 views

I have the below mentioned BigQuery SQL for a View. However, both the tables used in the query are huge in volume and hence I am facing terrible performance issues. If you'd glance at the query, I am ...
marie20's user avatar
  • 895
2 votes
2 answers
111 views

we have some tough performance issues that seem to us that they shouldn't exist, but we don't see any way of solving them. We have a Gcloud Mysql database, with 4Cpu, 16go Ram. The full instance ...
Jemox's user avatar
  • 294
0 votes
1 answer
86 views

I’m troubleshooting slow queries on MySQL 8 and need advice. I have a table salla_events (~1M rows). The queries look like this: SELECT * FROM salla_events WHERE event = 'order.created' AND ...
medikbal's user avatar
1 vote
3 answers
96 views

As an example, imagine I want to log the outside temperature in a table. It is read every minute but changes only 20 times a day or so, hence I don't want useless entries every minute. A value shall ...
Droidum's user avatar
  • 456
2 votes
2 answers
114 views

I have the following table in my MySQL DB: CREATE TABLE messages ( id VARCHAR(36) NOT NULL PRIMARY KEY, chat_id VARCHAR(36) NOT NULL, author_id VARCHAR(36) NOT NULL, content ...
MM.'s user avatar
  • 77
2 votes
3 answers
102 views

I have this index: create index main_cp_index on catalogue_product( product_class_id, is_public, (cast(coalesce(data->>'$."need_tags"', 0) as unsigned)) ASC); When i'm trying to ...
aikipooh's user avatar
  • 293
4 votes
2 answers
165 views

I have a legacy Drupal 7 site that is used strictly internally. It's replacement is under active development, but in the meantime it is using Aurora2, MySQL 5.7 compatible and is in very expensive ...
greendemiurge's user avatar
5 votes
4 answers
224 views

I have the tables "projects" (362K rows) and "projects_employees" (4.27M rows), one-to-many. I'm trying to get aggregated data for every employee and it takes 6-7 seconds. Is there ...
Victoria's user avatar
0 votes
1 answer
167 views

Table #1: buck number(10), sname varchar(20), ... total of 20 columns Table #2: sname varchar(20), sdiv varchar(10), ... total of 15 columns Table1 has 30M rows Table2 has 10M rows I want to ...
Dark3963's user avatar
1 vote
1 answer
61 views

I have following schema.prisma generated from existing db structure: model accounts { account_id Int @id(map: "accounts_pkey1") @default(autoincrement()) account_uid String @...
Ludmila Kurochkina's user avatar
0 votes
3 answers
46 views

I am working on one scenario where I have to check login flow of application for 10KTPM in minute. In my login flow exist- load the URL, Login and Home page load. In entire login flow we have 55 ...
vishakha bharambe's user avatar
1 vote
1 answer
115 views

I'm working on a Laravel 12 project running MySQL 8.4. I have various models like Buyer, BuyerTier, Application and PingtreeGroup and I want to store raw transactional models in my PingtreeTransaction ...
Ryan H's user avatar
  • 3,063
1 vote
0 answers
62 views

I ran a query which was indexed in the JOINING column for all the Tables. But Postgres still prefers sequential scan SELECT * FROM ZHREPORTFILEHCSVIOLATIONMAPPER JOIN ZHREPORTFILE ON ZHREPORTFILE....
DeKabilan's user avatar
0 votes
3 answers
143 views

I have two tables, A and B. A has columns Id (pk), UserId, ... B has columns Id (pk), SenderId (fk), ReceiverId (fk), ... Both SenderId and ReceiverId reference the Id in table A. Given UserId of ...
Amos n's user avatar
  • 39

1
2 3 4 5
232