![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Per the "Using D3" guide, item IDs may be as long as 49 characters but only the first 24 bytes are used for uniqueness. |
#3
| |||
| |||
|
|
Yeah, I know. I dunno if that info is still valid or not. I have lots of files with long IDs and I haven't had problems with sorting or selecting. I don't know the longest ID that exists, though. It may only be 30-40 chars. Glen "frosty" <frostyj (AT) bogus (DOT) tld> wrote in message news:bpCdnbQdo7EzYy7ZnZ2dnUVZ_tWdnZ2d (AT) adelphia (DOT) com... Glen B wrote: Per the "Using D3" guide, item IDs may be as long as 49 characters but only the first 24 bytes are used for uniqueness. WTF?!? *crash* <--- The sound of frosty being knocked over by a feather. -- frosty |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Thanks for the various comments. Picking up on some of the points. 1. I do have d3 indexes, but was not using them for this selection. The index I mentioned in my OP is a local inverted file of an index key that I maintain. 2. I am now going through each of these large-ID records, chopping the ID down (or deleting the whole record). What is so odd, though, is that some of these have been on for over two years with no problem at all. It is only since the d3/Linux upgrade that problems have arisen. Best wishes Alan Pritchard MPhil FCLIP MBCS The GLOBAL GAZETTEER™: the world on file http://www.allm-geodata.com Tel: +44 (0) 1202 417 477 Please reply to: alan.pritchard (AT) gmail (DOT) com |
#7
| ||||
| ||||
|
|
*From:* "Mike Preece" <michael (AT) preece (DOT) net *Date:* 12 Jul 2006 06:21:20 -0700 How easy would it be to re-engineer things so that the IDs are of a more sensible length? |
|
Who is responsible for designing a system with enormous IDs in the first place? |
|
These things can and should be a doddle to fix if everyone called generic IO subroutines instead of doing direct read/writes/deletes/releases in the code - sorta like a CALLX but activated for reads etc., not just writes. |
|
Alan Pritchard wrote: Thanks for the various comments. Picking up on some of the points. 1. I do have d3 indexes, but was not using them for this selection. The index I mentioned in my OP is a local inverted file of an index key that I maintain. 2. I am now going through each of these large-ID records, chopping the ID down (or deleting the whole record). What is so odd, though, is that some of these have been on for over two years with no problem at all. It is only since the d3/Linux upgrade that problems have arisen. Best wishes Alan Pritchard MPhil FCLIP MBCS The GLOBAL GAZETTEER™: the world on file http://www.allm-geodata.com Tel: +44 (0) 1202 417 477 Please reply to: alan.pritchard (AT) gmail (DOT) com |
#8
| |||
| |||
|
|
Just when I thought things could not get more complicated. I've been having some problems with ACCESS selections on my database. This is d3 7.4.0 on RH Linux 2.4.20 SELECT TOWN.REF WITH LAT OR WITH LAT.DEC 9m items selected out of 13m [paraphrase!] now to refine the numbers some more & knock out items flagged for deletion SELECT TOWN.REF WITH COUNTY [DEL] OR WITH CHK DEL] 60K items selected out of 80K Now this is WRONG! There should be around 3.5m items. So I've copied those 60K and noted the last one to be copied in a file. Then done an ITEM on the record ID. The last or next to last record ID in the group is very long. I know where it came from, but it does not seem to have caused any problems previously. Only since d3 and Linux were upgraded as month or so ago. Luckily I have an independent index file and can find these very long IDs. In each case I can retrieve the record and chop down the ID to something more normal. When I do this, I can get further though the file. The problem is that I don't know just how many there are. In one case that I am looking at now, the ID has a length of 101. There may be longer ones, even. I thought at first that I had somehow got real corruption in the file that was causing file truncation. This is a pain when I am trying to get a large job out quickly, but I can cope with it. What I am interested in, though, is whether the assembled experts would expect this pattern of behaviour to occur with very long record IDs of this type? Alan Best wishes Alan Pritchard MPhil FCLIP MBCS The GLOBAL GAZETTEERT: the world on file http://www.allm-geodata.com Tel: +44 (0) 1202 417 477 Please reply to: alan.pritchard (AT) gmail (DOT) com |
#9
| |||
| |||
|
|
Donno about D3 7.4 but in my experimentation 7.2.1 has a item id length limit of 99 or 100 characters. Regards, Dale "Alan Pritchard" <alan.pritchard (AT) gmail (DOT) com> wrote in message news:memo.20060711194830.11488A (AT) aovq45 (DOT) cix.co.uk... Just when I thought things could not get more complicated. I've been having some problems with ACCESS selections on my database. This is d3 7.4.0 on RH Linux 2.4.20 SELECT TOWN.REF WITH LAT OR WITH LAT.DEC 9m items selected out of 13m [paraphrase!] now to refine the numbers some more & knock out items flagged for deletion SELECT TOWN.REF WITH COUNTY [DEL] OR WITH CHK DEL] 60K items selected out of 80K Now this is WRONG! There should be around 3.5m items. So I've copied those 60K and noted the last one to be copied in a file. Then done an ITEM on the record ID. The last or next to last record ID in the group is very long. I know where it came from, but it does not seem to have caused any problems previously. Only since d3 and Linux were upgraded as month or so ago. Luckily I have an independent index file and can find these very long IDs. In each case I can retrieve the record and chop down the ID to something more normal. When I do this, I can get further though the file. The problem is that I don't know just how many there are. In one case that I am looking at now, the ID has a length of 101. There may be longer ones, even. I thought at first that I had somehow got real corruption in the file that was causing file truncation. This is a pain when I am trying to get a large job out quickly, but I can cope with it. What I am interested in, though, is whether the assembled experts would expect this pattern of behaviour to occur with very long record IDs of this type? Alan Best wishes Alan Pritchard MPhil FCLIP MBCS The GLOBAL GAZETTEERT: the world on file http://www.allm-geodata.com Tel: +44 (0) 1202 417 477 Please reply to: alan.pritchard (AT) gmail (DOT) com |
#10
| |||
| |||
|
|
Donno about D3 7.4 but in my experimentation 7.2.1 has a item id length limit of 99 or 100 characters. Regards, Dale "Alan Pritchard" <alan.pritchard (AT) gmail (DOT) com> wrote in message news:memo.20060711194830.11488A (AT) aovq45 (DOT) cix.co.uk... Just when I thought things could not get more complicated. I've been having some problems with ACCESS selections on my database. This is d3 7.4.0 on RH Linux 2.4.20 SELECT TOWN.REF WITH LAT OR WITH LAT.DEC 9m items selected out of 13m [paraphrase!] now to refine the numbers some more & knock out items flagged for deletion SELECT TOWN.REF WITH COUNTY [DEL] OR WITH CHK DEL] 60K items selected out of 80K Now this is WRONG! There should be around 3.5m items. So I've copied those 60K and noted the last one to be copied in a file. Then done an ITEM on the record ID. The last or next to last record ID in the group is very long. I know where it came from, but it does not seem to have caused any problems previously. Only since d3 and Linux were upgraded as month or so ago. Luckily I have an independent index file and can find these very long IDs. In each case I can retrieve the record and chop down the ID to something more normal. When I do this, I can get further though the file. The problem is that I don't know just how many there are. In one case that I am looking at now, the ID has a length of 101. There may be longer ones, even. I thought at first that I had somehow got real corruption in the file that was causing file truncation. This is a pain when I am trying to get a large job out quickly, but I can cope with it. What I am interested in, though, is whether the assembled experts would expect this pattern of behaviour to occur with very long record IDs of this type? Alan Best wishes Alan Pritchard MPhil FCLIP MBCS The GLOBAL GAZETTEERT: the world on file http://www.allm-geodata.com Tel: +44 (0) 1202 417 477 Please reply to: alan.pritchard (AT) gmail (DOT) com |
![]() |
| Thread Tools | |
| Display Modes | |
| |