![]() | |
#41
| |||
| |||
|
|
Scott Ballinger wrote: stefano wrote: The limit is for duplicate keys within a single item. ftp://ftp.rainingdata.com/pub/Linux/...ux73xa110.html Action # 29364 Corrected a problem with indexes that caused index corruption if a single item contained more than 4095 identical values. The new limit is 65535. Regards, Stefano Maran This makes sense! I also understood the limit to be 64K unique ids per indexed value, which made the D3 indexes somewhat less useful. But I have a site where some btree indexed files have way exceeded 64K ids per indexed value without any problems. I thought perhaps we were just lucky? But maybe there isn't a problem in the first place. Some clarification from RD would be helpful here. OK, I have some clarification from RDTA via T Data, and the news ain't great. The limit of 64K keys is as originally interpreted. That is to say that a file with >64K items with the same non-unique key. And as to what happens when you exceed that limit, all they can tell me is that you get "unpredictable results". What is this, the freakin' Stone Age? Let me out of here! OK, I have my workaround, but I'm pretty pissed off here. And while I'm on the subject, why is it that the CREATE-INDEX verb only shows six digits in its count? Don't they realise that there are going to be files > 10 million items in size? Thinking small, that's the whole problem here. Luke |
#42
| |||
| |||
|
|
"Excalibur" wrote: I am fascinated by the remark about the company running on UPDATE because I understood Rick Davies to say that they were dumping it, maybe he just meant the VME. Rick is there, I'm not, whatever he says is gospel ... except for the rare instance when he's really wrong. They might _want_ to dumpit, but over 10 years of development effort has been invested in the RD apps based on UP. They might be looking at about as much time to dump /replace it. No clue, don't care. T |
#43
| |||
| |||
|
|
I have a client who is experiencing some problems with SELECTs on a very large file with two B-tree indices. This baby has around 28 million items in it, and when we try to select them based on the client code (which is indexed), we come up with too few items. The indices were rebuilt just a couple of weeks ago, and I'd rather not have to go through that again (big file, takes a while). So I thought I'd check with the group to see if there are any known problem with huge files and indexed selects. I'm running a VERIFY-INDEX at present, but I'm not sure that the damned thing works all that well. Any thoughts? Cheers, Luke |
#44
| |||
| |||
|
|
Luke, which version of D3 are You running? Based on my tests: D3/Linux 7.2.0 - 6 digits D3/Nt 7.3.6 - 7 digits |
|
On D3/Nt 7.3.6 I conducted the following test: CREATE-FILE TEST 1 1999 CREATE-INDEX TESTFILE A1 Polulated the file with 4,000,000 items (item-id 1..4000000) with a single byte in attribute 1 in the range A..Z to have, more or less, 130,000 items with the same repeated key. Executed 500,000 readu/write and/or readu/delete/write operations randomly changing attribute 1 (always in the range A..Z) Executed select and sselect with and without the use of indexies and then compared the results: no differences. Maybe I'm very lucky. ;-) I know this test is a proof of nothing but, if the limit is for the whole file, I'll expect some kind of corruption. |
#45
| |||
| |||
|
|
I'm sounding too much like Tony! |

#46
| |||
| |||
|
|
BTW, I'm not sure if anyone noticed but RD did add some enhancements around 7.4.x to allow indexed date range selection and some other goodies. I haven't used the mods, can't comment. T |
#47
| |||
| |||
|
|
"Dale Benedict" wrote: I'm sounding too much like Tony! LOL, maybe that's why until I got down to this line I was thinking to myself "way to go Dale" "yeah, you tell um bud" ... Gee, only one dinner with this choir boy and you're singin the gospel, maybe I've been approaching this forum thing all wrong. ![]() Seriously, all good advice, and something to remember right before we click that Send button. BTW, I'm not sure if anyone noticed but RD did add some enhancements around 7.4.x to allow indexed date range selection and some other goodies. I haven't used the mods, can't comment. T |
![]() |
| Thread Tools | |
| Display Modes | |
| |