Python Forum
Sorting Data Returned From Database
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sorting Data Returned From Database
#7
Hi,

Quote:I did initially try something like that with 3 tables as you suggested, but I think with a large amount of data it was quite slow using a SQL query.
That's hard to imagine - assuming the tables, relations and indexes were set-up correctly. Do you still have the CREATE TABLE statements you used?

Except this: 1600 lines is not a lot of data at all. Database are geared towards hundered thounds or millions of data base rows. Also for in-memory processing and possible manually iterating of the data 1600 lines are not a lot. What can make it slow is using slow algorithms or a poor set-up of the DB tables.

Regards, noisefloor
Reply


Messages In This Thread
Sorting Data Returned From Database - by Timbo03 - Feb-11-2023, 03:33 PM
RE: Sorting Data Returned From Database - by Yoriz - Feb-11-2023, 03:50 PM
RE: Sorting Data Returned From Database - by noisefloor - Feb-12-2023, 11:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RE: Data isn't writing to the Database with Django and SQL Lite card51shor 15 5,397 Sep-16-2020, 08:27 AM
Last Post: metulburr
  Calling a Returned Value to Another Function valerydolce 9 6,789 Mar-28-2017, 09:54 PM
Last Post: valerydolce

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020