home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / database / oracle / 1574 < prev    next >
Encoding:
Internet Message Format  |  1992-09-13  |  5.5 KB

  1. Path: sparky!uunet!mdcbbs!bbs.mdcbbs.com!suskind
  2. Newsgroups: comp.databases.oracle
  3. Subject: Re: Summary: Controlling "ad hoc" queries
  4. Message-ID: <1992Sep13.193040.1@bbs.mdcbbs.com>
  5. From: suskind@bbs.mdcbbs.com
  6. Date: 13 Sep 92 19:30:40 GMT
  7. References: <lapscgINN8jg@news.bbn.com> <laujakINNp5@news.bbn.com> <1992Sep11.104127.364@hhcs.gov.au>
  8. Organization: E-SYSTEMS
  9. Nntp-Posting-Host: bbs
  10. Nntp-Posting-User: suskind
  11. Lines: 101
  12.  
  13. In article <1992Sep11.104127.364@hhcs.gov.au>, pihlab@hhcs.gov.au writes:
  14. > In article <laujakINNp5@news.bbn.com>, NBROOKS@BBN.COM (Nat Brooks) writes:
  15. >> In article <lapscgINN8jg@news.bbn.com> Nat Brooks, NBROOKS@BBN.COM writes:
  16. >>>Has anyone out there successfully installed and supported an end user
  17. >>>query tool that was actually used by end users?
  18.  
  19. > We don't allow adhoc querries on live production data.  Production data
  20. > structures are geared (denormalised and indexed) for production activity and
  21. > throughput.  We full normalise the production structures and place a full copy
  22. > into the reporting database.  The reporting database has many many indexes
  23. > which would slow down updates (which don't happen here) but are fine for
  24. > reporting.
  25.  
  26. This is an interesting thought, but what about large databases (greater
  27. than 100MBytes)? Is it an good use of diskspace? I guess this depends on
  28. the amount users that have need for "ad-hoc" queries. Fortunately as of now
  29. we only have about 5. A couple for each different database.
  30.  
  31. > Regular copies are a real pain but Oracle7 has some nice features which should
  32. > make this a lot easier.
  33. >> Are "user query tools" a dead end, due to inadequate protection against
  34. >> "incorrect" queries?
  35. > At the moment YES.  The standard reply from the vendor is to run it on a bigger
  36. > machine which of course requires more license spending and maintenance costs. 
  37. > Keep screaming at the vendor long enough and they will eventually come up with
  38. > something useful.
  39. >> If so, what are the alternatives (rapid development of query applications, 
  40. > improved report writing tools...)?.  
  41. > When an application is built we try to identify the major reports that would be
  42. > required.  Those that satisfy 90-99% of all inquiries.  The user is given the
  43. > ability to modify the columns that are extracted and change range settings on
  44. > the WHERE clauses but cannot add to the complexity of the query.  The base
  45. > skeleton query is optimised by the application developers.
  46. > We have found this to work quite well.  If the user's job changes to start
  47. > requiring additional reports regularly then they are factored into the
  48. > maintenance/enhancement resources for that project.
  49. >> If not, how are they best used (only with heavy training for users, small
  50. >> databases only, on extracted "reporting" databases...)?
  51. > If you have an end user adhoc reporting requirement then you MUST TRAIN them in
  52. > using the tools efficiently.  You MUST MONITOR who is using the adhoc enquiry
  53. > facilities and clobber anyone who is doing inefficent reporting.
  54. >> My intention here is to stimulate discussion.  Speculate away!
  55. > Is the above a good start?
  56. > -- 
  57. > Bruce...        pihlab@hhcs.gov.au
  58. >                  ^^
  59. > *******************************************************************
  60. > * Bruce Pihlamae  --  Database Administration                     *
  61. > * Commonwealth Department of Health, Housing & Community Services *
  62. > * Canberra, Australia                             (W) 06-289-7056 *
  63. > *******************************************************************
  64. > * These are my own thoughts and opinions, few that I have.        *
  65. > *******************************************************************
  66.  
  67. The client query products like Oracle*Card or Oracle*browse etc would be
  68. nice for the user wanted a particular grouping of columns out of a table.
  69. However, these tools all require a good knowledge of how the database is
  70. setup. How the relationships between tables are used, etc. Without this
  71. knowledge it is really shooting in the dark. 
  72. Most of the users I know can only refer to data elements by what screens
  73. they see the data in and have no idea about how the data is in the
  74. database.
  75. In order to give a user a "useful" tool with one of these packages, lots of
  76. work would have to be done to either provide templates or lots of training.
  77. Either approach could spell lots of bad queries clogging the network with
  78. data that will be discarded and also loading down the server's CPU with
  79. processing all this stuff. 
  80. As was stated Oracle V7 will provide quotas for CPU and I/O which would limit
  81. this problem.
  82. But what about a good legitimate query from a user that would
  83. hit a large database. Would he be stopped in the middle of getting data.
  84. True the trustworthy users would have higher quotas, but even those users
  85. can pump out bad queries. 
  86. This would mean a DBA police force, sort of like points system. Do good
  87. queries and I'll up your quota. If you screw up (which would require lots
  88. of monitoring) I lower you quotas.
  89.  
  90. These just does not seem to be any happy medium. Either you piss off the
  91. good users by inhibiting them or you spend you life policing the bad users
  92. that constantly drag down the system and the network asking for meaningless
  93. information.
  94. +---------------------------------------------------------------------+
  95. Barry A. Suskind                  Internet:   suskind%edoras@mdcbbs.com
  96. MaBell: 703-560-5000x2348             UUCP: uunet!mdcbbs!edoras!suskind
  97. E-Systems / Melpar Division 7700 Arlington Blvd, Falls Church, VA 22046
  98. JSNM                                             Just Stark Naked Magic
  99.  
  100.