I am developing an application with Fluent nHibernat / nHibernate 3 / Sqlite. I had a very specific problem for which I need help.
I have a product database and a database. Production is about 100 thousand pieces, but at the moment the number of lots is about 11 million +. When you have a product, I need to fill Combobox in batches. Since I do not want to download all batches at the same time due to memory limitations, I load them when the product is provided directly from the database. But the problem is that sqlite (or maybe a combination of sqlite and nh) for this is a bit slower. It usually takes about 3 seconds to get packages for a specific product. Although this may not seem like a slow scenario, I want to know that I can improve this time? I need to get secondary results to make an order unprecedented.
Details:
Update
long
string
decimal
DateTime
Requirements:
Please suggest what I can use to quickly find objects.
Thank.
, , 3+ .
?Sqlite browser. 3 + ? - , , .
? , ? ? BeginUpdate EndUpdate.
3 ? , .
, , , , (, , ) Batch Id Batch. .
/, , . , redis , Batches , , , , .
mongodb - , nosql dbs , , , . Mongo - , , nhibernate .
, , db ( , ). , , , .
3 ~ 100 ? . sql , .
, ProductId "".
Source: https://habr.com/ru/post/1793146/More articles:ZendFramework Send variables from Controller to View (Best pactice) - pluginsWhat is a global JSON object? - jsonSilverlight "Processing ..." indicator - silverlightWhat is the maximum number of URL parameters that can be added to the exclusion list for Google Analytics - seoHow to install VS2010 installation - visual-studio-2010How to prevent interpretation of $ in JSP to create jQuery templates - jqueryΠΠ°ΠΊ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎ ΡΠΊΠ°Π·Π°ΡΡ, ΡΠΊΠΎΠ»ΡΠΊΠΎ ΠΏΠ°ΠΌΡΡΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅Ρ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ iOS? - memory-managementAre custom buttons in the warning window possible? - javascriptWhat is the shortest code for writing text / image in HWND - c ++ΠΠ°ΠΊ ΡΠ΄Π°Π»ΠΈΡΡ ΡΠ°ΠΉΠ»Ρ ΠΈΠ· Π½Π΅ΡΠΊΠΎΠ»ΡΠΊΠΈΡ Π½Π΅ΠΈΠ·Π²Π΅ΡΡΠ½ΡΡ ΠΏΠ°ΠΏΠΎΠΊ ΠΈΠ· ΠΎΠ΄Π½ΠΎΠ³ΠΎ ΡΠ°ΠΉΠ»Π° bat? - directoryAll Articles