 |
|
 |
Is there a reason for limiting the sequence name length to 40 characters?
|
|
|
|
 |
|
 |
Thank's you work.But too many memory used and not realse after used , too many flush to be used then it's slow.maybe you should change this?
I'm waiting for this.
thak's more
|
|
|
|
 |
|
 |
Well, In fact it uses a lot of memory, It has in memory indexes loaded on demand, this thing is one of the biggest problem.
The other problem is the insertions, they are slow because there is a lot of flushes in order to keep db consistency. But the real problem is C# flush, it is 10 times slower than one in C++ and I don't know the reason.
The flush problem affected a previous version of HNDB making insertions slower because the insertion on the index and the insertion of the data. So I make indexes on memmory. I asure you that if I discover how to solve the flush problem I will put indexes on disk and make It less "memmory-consumptable".
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
Hi,
if you need to store a lame String with ~50KByte of text use this tweak:
File: R2\Database.cs
Search & replace: const int PageSize = 102400;
Then set the field size to 50000 in the AddField constructor of your own code.
This will increase the initial database size to ~50MByte on disk.
Zipped 2KByte Maybe this could be fixed or redesinged ?
Also: Support for a) float (price, 3.99) and b) binary (file, myPicture.jpg) is needed.
Is there something like T-SQL "LIKE" in here ?
Still learning crawling through the code ...
|
|
|
|
 |
|
 |
Well, increasing pagesize is something specially harmful because a small
database can increase size faster. On the other hand BLOBs are stored now as
ordered fragments of fixed length.
T-SQL is not supported in order to make queries faster (Parsing in .NET is
slow).
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
|
 |
|
 |
It does not protect from electric cuts (the main problem of the normal database engines). But thank you!!
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
What does 'Protect from Blackouts' mean?
|
|
|
|
 |
|
 |
Well, this database is protected from blackouts by making atomic operations to disk: with flushes to disk and changing the write strategy in order to make it stable (by using database logs, byte validators / invalidators, etc).
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
Is a black out a electrical power outage?
|
|
|
|
 |
|
 |
well, I'm sorry for my english. From blackout I mean electrical power down.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
The install could use some polish to improve the impression of the solution for the first time downloader. Open Source projects are often abandoned half finished and poorly supported. One of the leading indicators of abandoned open source projects is poor presentation. I am still not sure of the quality of the end solution but will keep my eye on the project as it develops. There is real demand for a simple, single user database to support standalone desktop applications.
|
|
|
|
 |
|
 |
Well, a database is autocreated if there is none.
for example:
db.Open("c:\test.hnd");
will create a database if test.hnd is not at c:\
By default sequences table is also created.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
does it work with conpact framework?
Has anybody tried?
|
|
|
|
 |
|
 |
I haven't tryed it, but it looks that it needs some extra clases as SortedList to work because they aren't on CF.
try MONO project to complete the CF framework.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
*does it support ID fields? (not sure it is standard term: I mean a filed that the DB auto-numbers, and I get it back from it when I do the insert command). ACCESS only in 2000 added this feature.
*can I insert binary data to a cell? (SQLServer equivalent of img I think).
BTW, I enjoy the pros and cons points analysis of all the other alternatives, maybe you should add that to the article...
|
|
|
|
 |
|
 |
This requirement is not needed because the system uses the sequences model (used by Oracle).
Sequences can be increased in many ways, for example, an autoincrement. When you obtain a sequence you can insert a row with it's value this allows to have more than one autoincremented field in a single table.
For more deatils consult the term Sequence in the online Oracle help.
Thanks for your interest.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
10x for the reference. I will look into that.
how about the second question?
|
|
|
|
 |
|
 |
Currently It does not support blobs because they aren't transaction-safe. In our applications we use another special file that works as a blackout safe blob depot (It works as a pool os streams). It's possibly that I put it in the project in future releases but It can be used stand-alone.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
If I spent time developing a database, I would spend a little extra time developing a parser. If I made a relational database, I'd at least write an SQL parser. You can even automate much of the work using tools like YACC...
Regards,
Jeff Varszegi
|
|
|
|
 |
|
 |
The parser has been suppressed in order to improve the query engine.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
 |
There is an excelent windows based parsing tool @ 'http://www.devincook.com/goldparser/'. I have not reviewed the site in about a year. However, if memnory serves me; the Parser has an EBNF definition for SQL and libraries to support C#. please keep this site refrence. I think you may find it useful in the future
|
|
|
|
 |
|
 |
Than you, I'll take a look.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |
|
|
 |
|
 |
Source code is included in the same package, but I've been noticed that some references of the main solution are wrong. I'll fix them in future versions.
______________________________________________
Manuel Lucas Viñas Livschitz
Email: ultralight32@eresmas.com
MSN Messenger: ultralight32@hotmail.com
Personal page: http://www.ultralight32.dnsalias.net
______________________________________________
|
|
|
|
 |