home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / informix / 2933 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  4.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!swrinde!emory!emory!not-for-mail
  2. From: obelix.informix.com!johnl@emory.mathcs.emory.edu (Jonathan Leffler)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re:  Negative PIDS, and SE/Online questions
  5. Date: 12 Jan 1993 07:48:03 -0500
  6. Organization: Mailing List Gateway
  7. Lines: 71
  8. Sender: walt@mathcs.emory.edu
  9. Distribution: world
  10. Message-ID: <1iuem3INNci9@emory.mathcs.emory.edu>
  11. Reply-To: obelix.informix.com!johnl@emory.mathcs.emory.edu (Jonathan Leffler)
  12. NNTP-Posting-Host: emory.mathcs.emory.edu
  13. X-Informix-List-ID: <list.1773>
  14.  
  15. >From: uunet!enuucp.eas.asu.edu!anasaz!qip.naomi (Naomi Walker)
  16. >Subject: Negative PIDS, and SE/Online questions
  17. >To: informix-list@rmy.emory.edu (Informix List)
  18. >Date: Mon, 11 Jan 93 10:04:59 MST
  19. >X-Informix-List-Id: <list.1769>
  20.  
  21. >Question #1
  22. >The following is an excerpt from the Informix error log on a Pyramid
  23. >MIS-S server, runing 4.1 UC1 Online and 4.1 UC1 ESQL/C.  I've seen these
  24. >negative pid's and funky user numbers before, and sloughed them off as
  25. >programming boo-boos.  All I really know is that we had a scheduled reboot
  26. >of this machine, for another reason.  Anyone seen this negative pid and
  27. >user id before or have any comments?
  28. >
  29. >Fri Jan  8 00:00:16 1993
  30. >23:12:45 Shutdown Mode
  31. >23:12:56 Process Aborted Abnormally: pid=-1541 user=1002 us=11001fd8 flags=1
  32. >23:12:56 Process Aborted Abnormally: pid=-21712 user=-25536 us=1100211c flags=1
  33. >23:12:56 Process Aborted Abnormally: pid=-18047 user=-25536 us=11002704 flags=1
  34. >23:12:56 Process Aborted Abnormally: pid=-8545 user=-21525 us=110028b4 flags=1
  35. >23:12:56 Process Aborted Abnormally: pid=-23189 user=21708 us=11002920 flags=1
  36. >23:12:56 Process Aborted Abnormally: pid=-24163 user=-25536 us=11002cec flags=1
  37.  
  38. I'm guessing, but there are operating systems which use 16-bit PIDs
  39. whereas Unix always used to use 15-bit PIDs.  If the Pyramid does use
  40. 16-bit PIDs, then it is a simple formatting problem.  Similar
  41. considerations apply to user IDs.  Could there be a user with UID = 40000?
  42. If so, then they were responsible for the lines user=-25536.
  43.  
  44. >Question #2
  45. >My next question is about SE.  I am very familiar with all the Informix
  46. >tools available to me when using Online.  I am not familiar with SE.
  47. >In general, are the same or equivalent tools available when using the
  48. >standard engine (tbcheck)?  How about all the sql statements, like
  49. >$ SET EXPLAIN ON/OFF, and $ ALTER TABLE to change things like lock modes
  50. >and next extent?
  51.  
  52. SE and OnLine have very different sets of tools, mainly because SE uses
  53. ordinary Unix files to store its data and these can therefore be backed up
  54. using standard Unix facilities.
  55.  
  56. There is a direct equivalent to tbcheck called bcheck, but bcheck is
  57. considerably less powerful than tbcheck.  There are no equivalents for the
  58. other tb-utilities (tbinit, tbtape, tbspaces, tbload, tbunload, tbstat,
  59. tbmode, tblog, tbparams).  The db-utilities (dbexport, dbimport, dbschema
  60. and dbload) are provided with both OnLine and SE.
  61.  
  62. SQL statements are essentially compatible -- the differences are those
  63. imposed by the limitations of SE.  SE does not support VARCHAR or blob
  64. (BYTE, TEXT) types.  It does not have tablespaces, so you can't declare
  65. that a table should be created in a particular tablespace, but instead, you
  66. can specify the basename of the C-ISAM file which will hold the table.  You
  67. cannot specify lock mode or extent sizes because the concepts do not apply
  68. to SE.  Similarly, you cannot specify isolation level, nor can you set lock
  69. mode to wait with timeout.
  70.  
  71. However, SET EXPLAIN and ALTER table (within the constraints about types
  72. listed above) are both available in both OnLine and SE.
  73.  
  74. There are also a few extra commands which are only available in SE.  For
  75. example, CHECK TABLE and REPAIR TABLE run bcheck on the named table.
  76. ROLLFORWARD DATABASE only applies to SE.  CREATE AUDIT and DROP AUDIT only
  77. apply to SE.
  78.  
  79. There are extra limitations on the DDL statements (CREATE/DROP Object) in
  80. SE as they cannot be part of a transaction (or, more precisely, cannot be
  81. rolled back even if they are part of a transaction).  This also affects the
  82. behaviour of constraint checking and referential integrity checking.
  83.  
  84. Yours,
  85. Jonathan Leffler (johnl@obelix.informix.com) #include <disclaimer.h>
  86.