Click here to Skip to main content
15,886,963 members
Home / Discussions / Database
   

Database

 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 8:23
crunchor26-Jun-13 8:23 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
wizardzz26-Jun-13 8:26
wizardzz26-Jun-13 8:26 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 8:29
crunchor26-Jun-13 8:29 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Ron Beyer26-Jun-13 8:25
professionalRon Beyer26-Jun-13 8:25 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Marco Bertschi26-Jun-13 8:39
protectorMarco Bertschi26-Jun-13 8:39 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Big Daddy Farang26-Jun-13 8:41
Big Daddy Farang26-Jun-13 8:41 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Marco Bertschi26-Jun-13 21:10
protectorMarco Bertschi26-Jun-13 21:10 
AnswerRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 9:42
lewax0026-Jun-13 9:42 
To answer your question, yes I would expect a difference.

- Different OS means potentially different thread scheduling, which may result in a different execution order and different in context switching overheads. There's a time difference.
- Different programming language on different VMs, means different compilers, different executable code (and in this case, each executes on a different VM as well). One will likely be faster than the other, even if the languages perform elementary operations at the same speed, because they will be using different libraries to even deal with things as basic as strings.
- Different database engines: most of the previous point applies here, because each will likely process the same SQL query differently, the same issue as having two different compilers. Then you have to consider they are two entirely different code bases, so it's pretty unlikely every operation takes identical time in each.

The real issue here is, you can't figure out which component is the bottleneck because you're comparing 3 different variables at once.

Now if you were trying to ask which is faster, if I took a shot in the dark I'd guess case 2, C# seems to general perform better than Java in my experience, and paid software with big corporations behind it (i.e. Microsoft being behind Windows, .Net, and MSSQL Server) tends to outperform open-source and other free software, simply because they can pay developers to work on it full-time. Free or open-source doesn't always have that luxury. (And obviously, this is not always the case, I could be completely wrong here.)
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 15:49
crunchor26-Jun-13 15:49 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 16:20
lewax0026-Jun-13 16:20 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 17:14
crunchor26-Jun-13 17:14 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 17:45
lewax0026-Jun-13 17:45 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 17:52
crunchor26-Jun-13 17:52 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0026-Jun-13 18:34
lewax0026-Jun-13 18:34 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor26-Jun-13 19:58
crunchor26-Jun-13 19:58 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Tim Carmichael27-Jun-13 1:37
Tim Carmichael27-Jun-13 1:37 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
lewax0027-Jun-13 3:43
lewax0027-Jun-13 3:43 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor27-Jun-13 3:46
crunchor27-Jun-13 3:46 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Simon_Whale27-Jun-13 5:13
Simon_Whale27-Jun-13 5:13 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
crunchor27-Jun-13 6:13
crunchor27-Jun-13 6:13 
GeneralRe: Crazy many data from database to array then a lot of calculation Pin
Simon_Whale27-Jun-13 1:51
Simon_Whale27-Jun-13 1:51 
QuestionSelect statement: ordering by column name. Pin
Septimus Hedgehog24-Jun-13 0:06
Septimus Hedgehog24-Jun-13 0:06 
AnswerRe: Select statement: ordering by column name. Pin
Eddy Vluggen24-Jun-13 0:32
professionalEddy Vluggen24-Jun-13 0:32 
GeneralRe: Select statement: ordering by column name. Pin
Septimus Hedgehog24-Jun-13 0:55
Septimus Hedgehog24-Jun-13 0:55 
AnswerRe: Select statement: ordering by column name. Pin
Mycroft Holmes24-Jun-13 1:41
professionalMycroft Holmes24-Jun-13 1:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.