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

  1. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!gossip.pyramid.com!pyramid!infmx!davek
  2. From: davek@informix.com (David Kosenko)
  3. Newsgroups: comp.databases.informix
  4. Subject: Re: OnLine.USERS.parameter
  5. Message-ID: <1993Jan7.172905.15214@informix.com>
  6. Date: 7 Jan 93 17:29:05 GMT
  7. References: <1ifb01INNadf@emory.mathcs.emory.edu>
  8. Sender: news@informix.com (Usenet News)
  9. Organization: Informix Software, Inc.
  10. Lines: 119
  11.  
  12. Bharat Shah writes:
  13. >Hi,
  14. >
  15. >We have been using SCO-OnLine since last three years and I have yet to figure 
  16. >out the **TRUE** meaning of the USERS shared memory parameter.
  17. >
  18. >USERS imply maximum number of users
  19.  
  20. USERS == # sqlturbos + daemons (tbinit, tbundo, tbpgcl's) + admin processes
  21. (tbmonitor, tbtape).
  22.  
  23. >
  24. >Page 2-28 of Informix OnLine Administrator's Guide,
  25. >Database Server Version 4.00 states:
  26. >
  27. >   " ..... Daemon and tape utilities count as users.
  28. >    Minimum number of users is given by the equation 4 + p + m
  29. >
  30. >    where p is the number-of-page-cleaners
  31. >          m is 1 if you use disk mirroring and
  32. >          m is 0 if you are not using mirroring"
  33. >
  34. >My question goes if:
  35. >
  36. >p = 1 and m = 1 and
  37. >I want five "people-users" (one each for isql, esql/c, forms, Wingz, Ace) 
  38. >to use the engine what should be my setting for USERS ?
  39. >
  40. >If your answer is  5 + daemon + (p=1) + (m=1) = 8 ... You are wrong !!
  41.  
  42. Correct, but for the wrong reason: two deamons are allocated, so the answer
  43. should be 9, not 8.  That assumes, based on what you have described, that
  44. you will have 1 user running isql with one open database, one user running
  45. an esql/c program with only one open database (and a single process appli-
  46. cation at that)... Read on...
  47.  
  48. >On calling Informix Tech Support I was told that for five people user the
  49. >setting should be (5 * 4) + p + m = 22 !!
  50.  
  51. Whoever told you this did not know what they were talking about, I'm
  52. sorry to say.  By no means are 4 sqlturbos required per "user".
  53.  
  54. Now this can get a bit complicated, because a license "user" != OnLine
  55. "user".  Consider the case of I4gl.  When you start up I4GL, the database
  56. syspgm4gl is opened.  This requires one sqlturbo (sqlturbo is the primary
  57. OnLine "user").  If you run a 4gl program from I4GL, that 4GL program
  58. will open its own database, requiring another sqlturbo.  SO you have
  59. 2 sqlturbos, or 2 OnLine "users" running, yet this only constitutes ONE
  60. license "user".  I just checked, and the official "stance" is that a
  61. license "user" is a single userid on the same physical device (i.e.
  62. terminal) with up to 5 database "sessions" (read "sqlturbos"). So, I 
  63. could, sitting at my X-terminal, have several window open, with a different
  64. Informix-based app running in each, having up to 5 sqlturbos running
  65. (i.e. 5 OnLine "users") and still be considered one license "user".
  66.  
  67. >
  68. >My license being for 16-users I was not sure if this was OK, so I called
  69. >again to confirm USERS setting of 22 and queried some other Support
  70. >engineer. He not only refused to confirm the setting but seemed upset at 
  71. >the previous engineer for giving me the **REAL** formula !!
  72.  
  73. No, he was upset that another engineer had given you bogus info.  Look
  74. (and this is to the whole forum, not just Bharat), we at Informix are
  75. not the CIA, or All the President's Men.  We are not trying to hide
  76. info from our users.  I try my utmost on this forum to "tell all" as
  77. it were, even sometimes getting into details that the typical user
  78. doesn't "need" to know.  ANd I am not alone in this effort, as I can say 
  79. from off the top of my head that Alan Denny, Dave Cortesi, and others 
  80. all mak ethe same effort here.  This paranoia that we at Informix are trying
  81. to keep info out of the hands of our users is really quite misguided.
  82. Now people make mistakes.  It is sad, but true, that support engineers
  83. sometime give out the wrong info (typically either because they are
  84. new or were told, by some bonehead, wrong info and are simply
  85. passing it along).  The **REAL** formula is the one in the Admin Guide.
  86.  
  87. >Some simple experiments showed that a value of 10 would suffice for my needs.
  88. >
  89. >MY GRIPE HERE IS WITH DOCUMENTATION and WITH INFORMIX TECH SUPPORT !! 
  90. >
  91. >IF ONLINE REQUIRES MAX USERS SETTING WHY NOT DOCUMENT A FORMULA TO
  92. >COMPUTE MAX ? WHY BOTHER TO GIVE A FORMULA FOR MINIMUM SETTING ?
  93.  
  94. I was prepared to take you to task for your comments about the doc, when
  95. I reread that you were using version 4.00.  I must, therefore, agree
  96. with you that the documentation is abysmal.  Let me assure you that we
  97. have improved this dramatically in 5.00, and in fact most of what you
  98. request has come to pass.  For example, regarding:
  99.  
  100. >WHY NOT BE FORTHCOMING AND SAY THAT **USERS** SETTING IS THE NUMBER OF
  101. >PROCESSES (This though could be found out by reading the tbconfig file which 
  102. >states that users = max number of concurrent processes). I guess I had better 
  103. >read all Informix provided scripts & files to to understand the product!
  104.  
  105. I quote from  the 5.00 manual (pg 1-31):
  106.  
  107.     "To arrive at a value for USERS, specify the highest likely
  108.     value for the number of user processes active at any one time
  109.                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  110.     plus the value of CLEANERS plus 4."
  111.  
  112. BTW, Chapter 1 of the 5.00 manual was SPECIFICALLY designed to guide an 
  113. admin through the setup procedure, with each step explicitly described, all 
  114. the parameters explained, etc.  
  115.  
  116. So take what comfort you can in knowing that things are getting better.
  117. Tech Pubs now looks to the field for input on new documentation (after all,
  118. we are in pretty much the same boat as our users), and I believe that is
  119. reflected in much of the 5.00 docs (though I still haven't manage to
  120. convince them that Unix man pages would be a great addition..).  I am
  121. truly sorry that you have had so much difficulty with what should be
  122. a simple matter.  I am also sorry that tech support gave you erroneous
  123. info.
  124.  
  125. Dave
  126. -- 
  127. Disclaimer: These opinions are not those of Informix Software, Inc.
  128. **************************************************************************
  129. "I look back with some satisfaction on what an idiot I was when I was 25,
  130.  but when I do that, I'm assuming I'm no longer an idiot." - Andy Rooney
  131.