Schedule maitenance or temp tables

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Schedule maitenance or temp tables

    I'm developing a content management system to use for the
    web. I want to allow users to alter data, delete data,
    and add data for each individual user so that when a new
    user comes to the area, they will have a clean slate to
    start from opposed to seeing what the other users have
    done. If I do use temp tables, they will only be vaild
    until the user session expires, correct?

    Is the best way to accomplish that by using temp tables or
    should I schedule a truncate table at periodic intervals?

    Thanks a million!!!
    Shawn Guest

  2. Similar Questions and Discussions

    1. SP Temp Tables
      Hi All, I am creating temp tables and dropping them after the processing is done in a stored procedure , however if users abort and try to run...
    2. Dynamic identification of Informix temp tables
      I would like to develop a process which can determine if there were temp tables created during my current database connection. I am the system...
    3. Temp tables and jdbc 2.21.jc3 on IDS 9.4.UC1
      The following query uses a TEMP table. I get the results in dbaccess, but the query fails when submitted from a java program using JDBC 2.21.jc3......
    4. Accessing Temp Tables
      Hello Graham, You could try using global temp tables with a "##", in your case it would be - ##UserAccess. K "Graz79"...
    5. Question about optimizer with (big) temp tables
      If I ask query analyser to give me an estimated query plan, how does it work this out since my temp table will only be populated when I fire the...
  3. #2

    Default Re: Schedule maitenance or temp tables

    > Is the best way to accomplish that

    Accomplish what? How long do you want the data to persist? How often do
    you want to clean it out?


    Aaron Bertrand - MVP Guest

  4. #3

    Default Re: Schedule maitenance or temp tables

    Well I want every new user that comes to the website to be
    able to give the system a test run with their own data.
    So I guess my best solution would be to create it with
    temp tables. But then the problem I see is that each time
    a user comes to the website, behind the scenes the
    overhead of creating the temp tables and stored procedures
    come into play.

    Currently I have it to where anyone can add, modify,
    delete content from the system, but once they leave I
    don't want their data to persist. So instead of making
    temp tables, should I just datetimestamp when they altered
    data then delete all the data for the day or use temp
    tables?

    >-----Original Message-----
    >> Is the best way to accomplish that
    >
    >Accomplish what? How long do you want the data to
    persist? How often do
    >you want to clean it out?
    >
    >
    >.
    >
    Shawn Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139