Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
563 views

Generating and storing a unique salt in Oracle database using Java

This is my account table: ...
Lebron11's user avatar
  • 143
3 votes
2 answers
215 views

Program for entering 1000 random numbers into two different databases, one for odd numbers and one for even

I have created a program in java for entering 1000 random numbers into two different database one for odd numbers and one for even. The code is executing fine but it takes nearly a minute to execute. ...
sujitha's user avatar
  • 31
1 vote
1 answer
383 views

Slow delete query on table with composite index

after profiling my application, it turns out that a single method is taking 3 minutes to run, which is about a third of the total runtime. The method deletes approx. 400.000 rows from each table (<...
l0r3nz4cc10's user avatar
3 votes
1 answer
133 views

Loading, computation and writing 500.000 rows in database

first let me explain what I am trying to achieve here : I am supposed to compute some results, using data from several tables, filtered by a run_id. One of these tables has about 500.000 rows per ...
l0r3nz4cc10's user avatar
4 votes
1 answer
1k views

Optimize MySQL in a stored procedure

How should I optimize my code for better performance? When I execute the code outside of MySQL stored proc, it is 500% faster. MySQL stored procedure ...
James's user avatar
  • 348
3 votes
2 answers
158 views

Adding a list of brokers to a local SQLite database

I have this piece of Java (Android) code that adds a list of brokers to a local SQLite database as one single SQL instruction. ...
John's user avatar
  • 33
1 vote
2 answers
473 views

How to optimize this SQL delete

I want to optimize the performance of this SQL query. If I populate this hashtable with one million keys the query will take around minute. How I can optimize this Java method for faster execution? <...
user1285928's user avatar