Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
93 views

Table has index on name column: CREATE TABLE firma2.klient ( kood character(12) primary key, nimi character(100), ... ); CREATE INDEX IF NOT EXISTS ...
Andrus's user avatar
  • 28.2k
0 votes
1 answer
92 views

I have an unique filtered index that is not allowing a PO to be inserted and there is no duplicate to be found. How can I allow POs to be inserted that are unique when the index thinks they are ...
Ken Watson's user avatar
3 votes
1 answer
101 views

I am working on a handy reference sheet for my DnD Games, that includes 10 pre-planned encounters of varying difficulty that I want to reference on an Initiative Sheet by referencing the Encounter ...
Jonathan Rogers's user avatar
-7 votes
0 answers
68 views

How Output do I access the element index/id in the right way? Because I put 101 and it goes to 102 then I fixed it I put -1 on the scanner, then when I put 101 it access 100. Please help System.out....
Nat Nats's user avatar
0 votes
1 answer
58 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
Best practices
0 votes
3 replies
99 views

What is the right/pythonic way to do math on a few indexed elements in a Pandas Dataframe? I tried a few ways but they seem awkward and confusing: df = pd.DataFrame({'x': [1, 2, 3, 4, 5, 6, 7, 9, ]}) ...
Dave X's user avatar
  • 5,247
1 vote
1 answer
80 views

I'm using a self-hosted TimescaleDB instance to store logs. I have a hypertable logs that is partitioned by the timestamp column. I need to perform a fast lookup query based on the event_key column, ...
Oussama Jmâa's user avatar
Advice
1 vote
1 replies
38 views

I understand the standard explanation for why B-trees are used in databases: they minimize disk seeks by packing many keys into each node, keeping the tree shallow (3-4 levels), and enabling efficient ...
j.i.l.l's user avatar
  • 11
Advice
0 votes
6 replies
96 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
Advice
0 votes
1 replies
35 views

Windows 10 22H2. Ask this question because at the same time, type ame can't find out Adobe Media Encoder. and I don't see vsc.exe defined in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\...
ahdung's user avatar
  • 409
2 votes
2 answers
61 views

I'm trying to use faceting to look at the terms that were indexed into a field, realizing this is a bit atypical, but I'm using it as a debugging tool. The problem is I'm not seeing any faceted terms....
Mark Bennett's user avatar
2 votes
1 answer
112 views

Consider the example code: from functools import partial from jax import jit import jax.numpy as jnp @partial(jit, static_argnums=(0,)) def my_function(n): idx = jnp.tile(jnp.arange(n, dtype=int)...
Ben's user avatar
  • 539
-1 votes
1 answer
132 views

I need to speed up a query that lists transactions from BillingInfo joined to site/customer tables. Users filter by CustomerName (first + last). Data volume: BillingInfo ≈ 3.1M rows CREATE TABLE [dbo]....
Girijesh T S's user avatar
1 vote
2 answers
135 views

I have a dataset that has duplicate Invoice Number values. I need help generating an index column ("Occurrences") to count the number of occurrences of the "InvoiceNo". Any ...
user31722869's user avatar
1 vote
0 answers
119 views

I have some field in my table for which i need to remove indexing. In the django application, i saw that i could do this using the migrations.RemoveIndexConcurrently() method. However im having ...
p.ry's user avatar
  • 499
0 votes
2 answers
75 views

I have a MongoDB collection with documents containing an array of subdocuments. For example: { "_id": 1, "addresses": [ { "city": "New York", "...
Bear Bile Farming is Torture's user avatar
1 vote
1 answer
96 views

I have two DataFrames, data1 and data2, with 3-level multiindices. The first two levels are floats, and correspond to spatial coordinates (say longitude and latitude). The third level, time, is based ...
peich's user avatar
  • 33
0 votes
2 answers
93 views

I have an excel online sheet that I am building. I have list of projects in a sheet and another sheets contain working hours on each of these projects in each week. What I am looking for is a code ...
Abdullah's user avatar
-1 votes
1 answer
67 views

I have two tables related to each other, each with roughly 200M records. CREATE TABLE [dbo].[AS_tblTBCDEF]( [CDEF_SOC_NUM] [numeric](5, 0) NULL, [CDEF_EFF_DATE] [date] NULL, [CDEF_TYP_BUS] ...
Johnny Bones's user avatar
  • 8,502
2 votes
4 answers
99 views

I have a very simple table for a task queue and keep taking records out one by one. If I add the filter_selector after filling/resetting the table, postgresql will use it and run super fast. But if I ...
Hugo Delsing's user avatar
  • 14.3k
0 votes
1 answer
87 views

I need to search crypto tokens by name (text search), symbol (exact match) or address (prefix match, i.e. return all tokens the address of which starts with the user query). Instead of relying on a ...
Kotaka Danski's user avatar
1 vote
1 answer
116 views

In a project, we are using postgresql v12.11 (updating is sadly not an option at the moment). Consider the following relations: document ( id uuid primary key ) page ( id uuid primary key, ...
T_01's user avatar
  • 1,413
1 vote
1 answer
109 views

I’m parsing some JSON data in R and got this structure: entry <- list("Ontario"="ON", "ON"="13.6") When I try: j <- entry["Ontario"] population ...
赵一夫's user avatar
2 votes
2 answers
284 views

I recently came to know about the performance boosting capabilities of using compound indexes or composite keys in mysql through this question of mine Create multi table index/composite key. After ...
Mr.Singh's user avatar
  • 2,045
1 vote
1 answer
78 views

Attempting to optimize a portion of a query that is joining two related tables, and getting odd results compared to other queries in the project with similar structures. Here is a very simplified ...
jdfr228's user avatar
  • 11
2 votes
1 answer
69 views

I have a query in PostgresSQL accessing a big table using a LIKE clause for pattern matching: Table "rmx_service_schema.document" ...
Pulsedriver's user avatar
0 votes
1 answer
121 views

An MS Access query with a WHERE clause on a UNION query results in a table scan without using the indexes. Example: There is a table like this: CREATE TABLE tblFigures ( EntryDate DATETIME, ...
John's user avatar
  • 63
0 votes
1 answer
94 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
2 votes
5 answers
159 views

Can anybody help with this? look at the picture I upload. I have 2 stores with the same location in column "A" and "G", column "B and I" says condition on location. And ...
Miki's user avatar
  • 47
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
0 votes
0 answers
55 views

Please help, I want to start using netbeans for developing spring boot projects, but I struggle with how to download and use only the needed maven dependencies via netbeans, not downloading the whole ...
beyyato abdellah's user avatar
1 vote
0 answers
29 views

I have a complex but well-typed constant object such that no matter what the first and second level keys are, there is always a particular known key at the third level (in the example below, moons). ...
WBT's user avatar
  • 2,562
-4 votes
1 answer
82 views

pfz0 = ["","centi","milli","micri","nani","pici","femti"] # z for zeta illion = ["llion","illion"] a0_ni = ...
Samiun Saad's user avatar
1 vote
0 answers
71 views

https://learn.microsoft.com/en-us/azure/search/semantic-how-to-enable-scoring-profiles I've recently tried new preview feature of Azure Search, where I can use Scoring Profile with Semantic Ranker at ...
Krystian's user avatar
3 votes
3 answers
124 views

I'm very puzzled by the following behaviour of NumPy when assigning elements to an array using an array as indices. Here is a minimal working example: import numpy as np i = np.arange(2,4) a = np....
Daniel Reese's user avatar
0 votes
0 answers
171 views

I am using SQLite3 in C++ where I need to store text data. There are 7 columns in the table. I need to filter data by 7 columns. I need to check for equality of 6 columns to a specific value, and I ...
Joe J's user avatar
  • 1,349
0 votes
0 answers
44 views

Suppose I have a complete, perfect binary tree stored in an array. If I store node data in breadth-first traversal order (Eytzinger order), then if an internal node's index is i, its left and right ...
Alec Jacobson's user avatar
0 votes
1 answer
31 views

My question is about indexing and cardinality in Firestore. I have 3 fields: owner_id: Thousands of users domain: Hundreds of domains category: Only 10 unique one The composite index, which matches ...
Khaled Sh's user avatar
0 votes
1 answer
88 views

I have a table with below columns in PostgreSQL. id, location, store, flag1, flag2 Here id, location, store are contributing to Primary Key. So by default postgreSQL creates an index on it. I have ...
Prashant Aghara's user avatar
0 votes
0 answers
31 views

I am not allowed to use custom skills for whatever reason. I am only supposed to use built in skills with Azure. I need to read .txt files from blob > chunk text > embed text > store on ...
arkp1612's user avatar
1 vote
4 answers
82 views

MySQL version is 8.0.37. I have a table with this index. mysql> show index from catalogue_product where Key_name='cl_pub_need_tags'\G *************************** 1. row *************************** ...
aikipooh's user avatar
  • 293
1 vote
1 answer
75 views

I've been hunting for what I would hope would be a std function, but can't find it. I'm looking for function or method that gives vector overlaps. So, assuming the two vectors: let my_vector1 = ["...
lilHar's user avatar
  • 1,883
1 vote
1 answer
43 views

I have a concern when dropping and recreating indexes and primary keys in INFX 12.10. Both the primary server and HDR secondary server have index page logging and dridxauto set to 0. Given that the ...
carluccijon's user avatar
0 votes
0 answers
65 views

I am currently trying out slicing a string in Python and was confused about how exactly does Python interpret the term 'None' because it behaves rather conveniently when used but I am not how does it ...
Shreyas's user avatar
  • 11
0 votes
0 answers
55 views

I'm in the process of upgrading Apache Solr from version 8.6.0 to 9.8.0, and part of this involves upgrading the Lucene index format. I have a large index directory (~650 GB), and I'm running the ...
Jatin Firme's user avatar
0 votes
1 answer
63 views

MySQL fulltext index search with multiple columns MySQL Table - sample_table: col1 col2 col3 col4 Fulltext index: Keyname: some_keyname Columns: col1, col2, col3, col4 Question: To search for a string ...
rgg's user avatar
  • 21
0 votes
4 answers
124 views

I've been trying to improve my query performance for a days in my db Mysql(8.4) but I'm having performance issues with the follow queries (I tried these both): SELECT sql_no_cache * FROM infracao....
Guilherme Bley's user avatar
1 vote
1 answer
55 views

I have a table in PostgreSQL like this: CREATE TABLE test ( id BIGSERIAL PRIMARY KEY, data_discriminator VARCHAR NOT NULL, created_at TIMESTAMPTZ NOT NULL, data JSONB ...
xtrx's user avatar
  • 35
1 vote
0 answers
78 views

i have an index function that loads the data by time i have more rows in my database and i need to get them all but the loading it takes time like 8 seconds for getting 400 rows i have currently and ...
Jury Fabrice's user avatar
1 vote
2 answers
93 views

I have two index : player_team_id_index on player(team_id) team_active_index on team(active) I want to get all players belonging to an active team. Query 1 explain analyze select p.* from player ...
Olivier Boissé's user avatar

1
2 3 4 5
692