kSPvhmTOlwvMd7Y7E

joined 2 years ago
[–] [email protected] 6 points 4 months ago

I feel offended by you somehow equalizing perl and lisp

[–] [email protected] 22 points 4 months ago

This a much better done meme

The other one before makes zero sense

[–] [email protected] -4 points 4 months ago

2100 parameters is a documented ODBC limitation( which applies on all statements in a batch)

This means that a

"insert into (c1, c2) values (?,?), (?,?)..." can only have 2100 bound parameters, and has nothing to do with code, and even less that surrounding code is "spaghetti"

The tables ARE normalised, the fact that there are 50 colums is because underlying market - data calibration functions expects dozens of parameters, and returns back dozens of other results, such as volatility, implied durations, forward duration and more

The amount of immaturity, inexperience, and ignorance coming from 2 people here is astounding

Blocked

[–] [email protected] 1 points 4 months ago (1 children)

I timed the transaction and opening of the connection, it takes maybe a 100 milliseconds, absolutely doesn't explain ghe abysmal performance

Transaction is needed because 2 tables are touched, i don't want to deal with partially inserted data

Cannot share the code, but it's python calling .NET through "clr", and using SqlBulkCopy

What do you suggest i shouldn't be using that? It's either a prepared query, with thousands of parameters, or a plain text string with parameters inside (which admittedly, i didn't try, might be faster lol)

[–] [email protected] 0 points 4 months ago* (last edited 4 months ago)

Will try bcp & report back EDIT: I can't install bcp because it is only distributed with SQLServer itself, and I cannot install it on my corporate laptop.

[–] [email protected] -1 points 4 months ago* (last edited 4 months ago) (1 children)

I will try bcp. Somehow, i was convinced I had to have access to the machine running the sql server to use it, but from the doca i see i can specify a remote host.. Will report back! EDIT: I can't install bcp because it is only distributed with SQLServer itself, and I cannot install it on my corporate laptop.

[–] [email protected] -2 points 4 months ago (2 children)

Please enlighten us? You barely know anything about the system or usage, and you have deduced nosql is better? Lol

[–] [email protected] -1 points 4 months ago

I am using SqlBulkInsert, given how bad MS is with naming things, that might as well be row inserts instead of bulks

[–] [email protected] 4 points 4 months ago

Oh buddy, enjoy your life & don't touch Microsoft even with a 10 meters stick

[–] [email protected] 23 points 5 months ago (1 children)

I would not recommend using parquet instead of csv. Indeed, parquet is a type of wooden flooring, while csv is a human readable file format. As you can see, it is not wise to replace one with the other. Don't hesitate about asking more questions regarding your home design!

[–] [email protected] 1 points 1 year ago

I would be lying if I said that I was a professional Ocaml developer.

I do definitely think the Jane's library is very hard to read... But that might be my inexperience

I personally think regular, procedural code is much easier to read ¯_(ツ)_/¯

view more: ‹ prev next ›