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
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 
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 
crunchor wrote:
Can the java team in your corp chooses to not update java, or test the updated version of java before running it with live system.

We can choose not to, but that doesn't mean our clients will listen. Especially since Oracle has decided to pop up a scary (from the user's perspective) warning message about their current Java being insecure, starting with 7u21. And it can't just be ours, the change that broke some of our code in 7u21 was bad enough that they added an option in 7u25 to disable the changed functionality. Not improved, or bug-fixing, as far as I can tell, they just decided that this existing function should suddenly behave differently in a patch. We've also found and reported bugs in Java itself, which were in turn acknowledged by Oracle (may have been Sun at the time) as a bug, and then told that they weren't going to be fixed.

In the .Net world, we have stuff originally written to run on .Net 1.1 that is still chugging along today, on top of various version of .Net form 2.0 to 4.5, with the only bug fixes being relating to the code we wrote, instead of the platform changing underneath it, and much more time to make enhancements. On the other hand, Java code written and compiled against Java 6 can't be guaranteed to run on the Java 7 VM the next day. (Obviously, we'd like to compile against Java 7 and gain access to the new features, but there's a lot of testing we have to do first.) I think the best example of the issue is this: for every version of our Java software, we release a list of supported Java versions, and it's down to the specific update of that version (e.g. there were a few updates of 6 we couldn't support, because of breaking changes in Java), but for anything .Net based, we only need to specify one version, and that's the minimum version (usually 3.5, because of new features added there that we use heavily). There's never a report of "hey, I updated .Net and now this program stopped working, but if I downgrade back to the previous version it works just fine", but with the Java stuff that is probably a semi-monthly occurrence.

crunchor wrote:
Let's say I run a program in XP age then now XP or that age windows server is not supported or updated, if I run the same .net program in current windows may has serious issue.
If Java updated as infrequently as you change operating systems, this might be a viable concern. And the only bugs in .Net apps I've come across that render them incapable of running on a newer version of Windows have been primarily from changes in the file structure (e.g., the move from using [drive]:\Documents and Settings\ to [drive]:\Users), which probably shouldn't have been hard coded in the first place, or to changes in file permissions (especially the fact that by default, Program Files can no longer be written to). I haven't seen any .Net related issues leading to this.


crunchor wrote:
For my trading program, I just use the mysql to store the data then only the program is running, I pull all data instead array and do calculation with arrays, so I don't need very advanced database functions.

Then I don't see how the performance even matters if this is a once-per-execution event. Even assuming differences in perofrmance, they aren't likely to be enough to really matter once your program has finished execution (will probably also effect initial load times, but probably not substantially).
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 
GeneralRe: Select statement: ordering by column name. Pin
Septimus Hedgehog24-Jun-13 1:55
Septimus Hedgehog24-Jun-13 1:55 
AnswerRe: Select statement: ordering by column name. Pin
GuyThiebaut24-Jun-13 2:10
professionalGuyThiebaut24-Jun-13 2:10 
GeneralRe: Select statement: ordering by column name. Pin
Tim Carmichael24-Jun-13 4:23
Tim Carmichael24-Jun-13 4:23 
GeneralRe: Select statement: ordering by column name. Pin
GuyThiebaut24-Jun-13 5:03
professionalGuyThiebaut24-Jun-13 5:03 

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.