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

In our system we are hashing passwords with the following method. public static string HashPassword(string password, byte[] salt) { if (salt == null) { throw new ArgumentNullException($...
Cerkvenic's user avatar
  • 377
4 votes
1 answer
102 views

I’m working with a hierarchical model structure in Django, where each level can represent a region, district, or village. The structure looks like this: class Location(models.Model): name = models....
Ziyodulla Abdukarimov's user avatar
0 votes
2 answers
222 views

Let's create a table with 3000 rows create table tt(id int, txt text); insert into tt with recursive r(id) as (select 1 union all select id + 1 from r where id < 3e3) select id, concat('name', id) ...
Slimboy Fat's user avatar
0 votes
1 answer
199 views

I am working in the backend of an application. One part of this application (like every application nowadays) is using AI for multiple things. The application's main purpose is building data warehouse ...
ne0123.'s user avatar
  • 23
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
0 votes
1 answer
79 views

I'm using MongoDB Atlas and noticed a warning in the Performance Advisor and monitoring dashboard: "Query Targeting: Scanned Objects / Returned" has gone above 1000 From my understanding, ...
Annamalai's user avatar
  • 134
0 votes
1 answer
42 views

For the following query, what indexes should I create $match:{ "from_time": { "$gte": "2024-12-17T18:00:00.000Z" }, "to_time": ...
larry ckey's user avatar
1 vote
1 answer
66 views

In MongoDB (version 8) I'm wondering about the most read-efficient way of storing a "sharing mechanism". I.e. the users can share items with other items within the same collection. When ...
cis's user avatar
  • 1,403
1 vote
2 answers
60 views

I have a table filemapping with over 140 million rows, and then commit a batch update (on, say, a million rows) with spring data like follows: jdbcTemplate.batchUpdate("UPDATE filemapping SET ...
Vetsin's user avatar
  • 2,841
2 votes
0 answers
23 views

I am using GridDB CE to handle time-series data and run long-running analytical queries. During these queries, I observe significant memory usage spikes that degrade performance or lead to errors. ...
Thomas Richard's user avatar
0 votes
1 answer
96 views

I have 3 tables in an Oracle database which I am trying to join and run some aggregates on : orders: (3000 + rows) order_line_items: (5000 + rows) items: (14 million rows) When I run the following ...
ng.newbie's user avatar
  • 3,312
0 votes
0 answers
138 views

I am trying to load data with pictures stored in a BLOB column. Each picture is around 1MB in size. I have about 200K rows. First try, I copy the table straight away. After about an hour, it stops and ...
padjee's user avatar
  • 265
0 votes
0 answers
169 views

I know I can get wait stats about "current" queries via their SPID in sys.dm_exec_session_wait_stats but the SPID is recycled into new sessions. Is there a way to query these stats for ...
Eric Mamet's user avatar
  • 3,795
3 votes
1 answer
476 views

I am bulk-inserting some data into a postgres DB on RDS, and it's taking longer than I would like. A migration to initialise the DB schema would look like this: CREATE TABLE "addresses" (&...
dipea's user avatar
  • 615
1 vote
1 answer
119 views

I'm designing a postgres database in which there is a table that has a jsonb type column. I would like this column to be unique. There is no need to have two objects with the exact same json ...
hasdrubal's user avatar
  • 1,168
1 vote
1 answer
196 views

insert into my_foreign_table select * from my_local_table My columns are two integers and two floats. The number of rows was >100M. I left it running for a few days, but killed it because it took ...
mj_'s user avatar
  • 6,469
0 votes
1 answer
33 views

Currently I have 2 tables, lets say symbol_data and cve_data. symbol_data is structured as below: # Column Non-Null Count Dtype --- ------ -------------- ----- 0 ...
fatih's user avatar
  • 1
1 vote
1 answer
84 views

I have a stored procedure GetCombinedRequestInfosByEmail that retrieves hierarchical data for employees. The procedure performs well for lower-level employees but takes around 55 seconds to execute ...
Kavinila's user avatar
0 votes
1 answer
278 views

We use HammerDB/PostgreSQL for Hardware performance characterization. The PostgreSQL database is tuned to showcase the best hardware performance (checkpoint set to 1hr, min_wal_size as 256GB, ...
tallharish's user avatar
0 votes
1 answer
901 views

Is there a way or tool which can help route read and write queries to their respective instances in Aurora Postgres cluster, I got to know about ProxySQL but can it be used with Aurora Postgres?
M Alok's user avatar
  • 1,143
1 vote
2 answers
916 views

I am using MySQL 8.0.27-18, with InnoDB as engine. I have a huge database, with few tables containing 100M+ rows in them. For example: TABLE_A with 110M and TABLE_B with 300M+ rows. Sometimes I had to ...
gouthV_'s user avatar
  • 395
6 votes
1 answer
307 views

I'm working with a relatively large Postgres db containing several terabytes of data. It consists of data from 5 years back. As a result all the indexes are growing and therefore reducing the query ...
Chamath's user avatar
  • 2,044
0 votes
1 answer
120 views

do you know if we have some formula to calculate hinted_handoff_throttle_in_kb to performance of hints handoff? I know that the number for this value is divided per number of nodes in the cluster, but ...
Victor Araujo's user avatar
-1 votes
3 answers
9k views

I have been asked to temporarily disable autovacuum in PostgreSQL 14.3. From 7 a.m. to 5 p.m., autovacuum is to be turned off, and at other times it is to be turned back on. I intend to achieve this ...
Patryk's user avatar
  • 1
0 votes
2 answers
110 views

I have a nodeJS application with a mongoDB database and recently after uploading data into the images database, my api is starting to take 40+ seconds to load data. For some, even if I search through ...
coder123's user avatar
  • 317

1
2 3 4 5
53