Skip to main content

All Questions

0 votes
1 answer
59 views

PostgreSQL tables sometimes store embeddings alongside relational columns and run vector similarity search with additional filters. Example schema documents id bigserial primary key tenant_id int ...
Abdul Bari's user avatar
Best practices
0 votes
3 replies
93 views

from a in xx join b in yy on a.someprop equals b.someprop join c in zz on a.someprop1 equals c.someprop where a.someprop2.Contains(strval) I’m trying to understand how SQL query execution works ...
chuackt's user avatar
  • 175
3 votes
2 answers
152 views

There is a "theoretical" query: SELECT * FROM a JOIN ( SELECT b.pk, b.not_pk FROM b ORDER BY b.not_pk ) AS b2 USING (pk) and EXPLAIN shows Sort on the whole b. Can it be carried ...
Kuraga's user avatar
  • 435
0 votes
0 answers
70 views

I have a Table Valued Function (TVF) that takes an array of IDs as input. source_table: A very large table (TBs) partitioned by day on capturedTimestamp. selection_table: A small lookup table that ...
Krishna Kashiv's user avatar
Tooling
0 votes
3 replies
57 views

I have a table-valued function (TVF) that takes an array of IDs as input. source_table: a very large table (TBs) partitioned by day on capturedTimestamp selection_table: a small lookup table that ...
Krishna Kashiv's user avatar
0 votes
0 answers
89 views

I'm using mongo db with payloadcms and I have tree like structure. We have a collection called nodes. A node have children as array and a parent id. Now I want to change the node status like marking ...
Shoaib Ahmed's user avatar
1 vote
1 answer
153 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
112 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.6k
1 vote
1 answer
67 views

I have written a small Glue script that fetches some data between two dates, but I found that it scans the entire table instead of just the data within the specified time range. I also tried creating ...
new coderrrr's user avatar
Advice
0 votes
6 replies
100 views

MariaDB version is 10.4.34. The query looks like: SELECT bet.* FROM Bet bet WHERE bet.placed >= '2025-10-29T00:00:00' AND bet.placed <= '2025-10-29T23:59:59' AND EXISTS ( SELECT 1 FROM ...
catch32's user avatar
  • 18.8k
0 votes
1 answer
216 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
2 votes
2 answers
132 views

I am working with an Oracle database in which each year's data is stored in different tables. I am not the DBA so I cannot change that. Also, I do not have the permission to consult execution plans or ...
Thomas's user avatar
  • 553
3 votes
0 answers
107 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
0 votes
3 answers
135 views

I have the tables Invoices (with No_ key) and the related InvoiceLines (with [Document No_] key that bounds to their invoices). The subset of invoice numbers is inserted into the table variable (no ...
pepr's user avatar
  • 21.1k
-4 votes
1 answer
64 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

15 30 50 per page
1
2 3 4 5
772