home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / ingres / 2167 < prev    next >
Encoding:
Text File  |  1993-01-06  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.databases.ingres
  2. Path: sparky!uunet!mcsun!sun4nl!kubds1!usenet
  3. From: RVBAAL@kub.nl (Reinier van Baal)
  4. Subject: Re: DB admin tools
  5. Message-ID: <1993Jan06.080333.29187@kub.nl>
  6. Date: Wed, 06 Jan 93 08:03:33 GMT
  7. Organization: Tilburg University (KUB)
  8. Nntp-Posting-Host: kubvx1
  9. X-News-Reader: VMS NEWS 1.22
  10. In-Reply-To: billc@Ingres.COM's message of 5 Jan 93 19:03:38 GMT
  11. References: <ROBM.92Dec22120335@ishtar.Berkeley.EDU> <1993Jan5.004315.1@gsbacd.uchicago.edu> <1993Jan5.190338.23433@pony.Ingres.COM>
  12. Lines: 33
  13.  
  14. In <1993Jan5.190338.23433@pony.Ingres.COM> 
  15.    billc@Ingres.COM (Bill Coffin, at Ingres) writes:
  16.  
  17. [.... part of discussion deleted]
  18.  
  19. > My reccomendation to Rob McNicholas, the original poster, would be to
  20. > use views liberally while developing the applications.  You can use
  21. > many tricks to avoid the necessity of redefining tables.  You will,
  22. > of course, pay a performance penalty, but that may be acceptable in
  23. > your Beta phase.
  24.  
  25. One is tempted indeed, to solve this problem using an private, fixed-named
  26. view, e.g. create a temporary table with a variable user dependant name, and
  27. then a (temporary) view, having a fixed name. So you can use repeated inserts
  28. without hard-coding tablenames, it looks.
  29.  
  30. But beware: QEP's of repeated queries are stored in the server (translating 
  31. the view definition of its first occurrence). Another user subsequently
  32. issuing the same repeated insert (after having created his own view) uses
  33. this same qep, and will try (in vain of course) to insert into the temporary
  34. table that is owned by the user whose qep is stored in the server.
  35.  
  36. > -- 
  37. > Bill Coffin, at Ingres, An ASK Company, Alameda CA 
  38. > billc@ingres.com    510.748.3387
  39. > <standard_disclaimer> <gratuitous_witticism> <obscure_quote> <annoying_graphic>
  40.  
  41.  ----------------------------------------------------------------------
  42.  Reinier van Baal,                             
  43.  Tilburg University, Holland                   internet: rvbaal@kub.nl    
  44.  (Katholieke Universiteit Brabant)             phone: +31 (0)13-66 2459   
  45.