I appreciate all of your suggestions on how to find the problems in my database. I am away from the desk this week other than checking my mail so I will have to postpone my detective work until next week. You are right that I need to familiarize myself with some of the tools.
Jim -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ramsour Mike Sent: Tuesday, March 18, 2008 2:23 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Re: 7.6 crash Jim: I'm curious about your comment regarding indexes. Dropping an index should be pretty much instantaneous. I have a few tables with over 4,000,000 records and dropping an index happens immediately. Creating the index takes a minute or two depending on the column being indexed. The syntax to drop an index is: DROP INDEX <indexname> It is recommended that you give each index a unique name. The syntax for this is: CREATE INDEX <indexname> ON <TableName> (<columnname>) I typically use a naming convention that gives me an idea about the table and column being indexed. For instance: CREATE INDEX rts_seq_idx ON rej_trkg_smry (seqnum) One advantage to this is that if you need to delete the index later you can simply use the command: DROP INDEX rts_seq_idx (for instance) Check for the existence of primary keys, foreign keys and rules. R:CODE is a text editor customized for writing R:BASE programs. The new R:Base has an excellent editor integrated into it called R:BASE Editor. R:BASE Editor now has a built-in syntax checker similar to the R:Syntax checker used with R:CODE. Either one can help you find coding errors. I strongly recommend that you familiarize yourself with these tools. Since your errors seem to happen most frequently when sorting, you may need to spend the most time verifying the integrity of the database. I think Razzak outlined these for you. Hope this helps. Mike Ramsour AK Steel Coshocton Works Quality Department Phone/VMS: 740-829-4340 -----Original Message----- From: Jim Belisle [mailto:[EMAIL PROTECTED] Sent: Friday, March 14, 2008 9:43 PM To: [email protected] Subject: [RBASE-L] - Re: 7.6 crash Mike, I cleaned up most of my indexes that were on columns with many null values in the fields. I have one table that has over 76,000 records. What would be the best way to get rid of my unwanted indexes on some of the columns? I tried deleting them but it seems to take forever. I have command files called up in my applications. Is that what you are talking about below? I have not used R:CODE with the syntax checker. I did not use CODELOCK when creating my applications either. Also all my command files are quite old so I do not know about the integrity of them. I might add that the crashes do not occur when running any command files. Mostly it happens when I sort manually. I believe this will take some time for me to work out all the bugs accumulated over the last 15 years. Jim --- RBASE-L =======================3D=======================3 D= TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) =======================3D=======================3 D= TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO =======================3D=======================3 D= TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE =======================3D=======================3 D= TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. =======================3D=======================3 D=

