Results 1 to 5 of 5

Thread: How to load some tables/views to memory?

  1. #1
    Join Date
    Mar 2003
    Posts
    383

    How to load some tables/views to memory?

    This is a SQL2000 sp4 Ent. machine.
    I was heard that loading certain tables/views (the most frequently used ones) could help in performance.

    How could i do that?

    thanks
    david

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    Sql loads them to data cache when you query them.

  3. #3
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    If you are referring to pinning table in memory, you can run

    DBCC PINTABLE ( database_id , table_id )

    If the table you are pinning is big then you may run into memory problems.

    This command is removed from SQL server 2005.

  4. #4
    Join Date
    Mar 2003
    Posts
    383
    So, it is not a good practise from SQL2005, since SQL2005 has been disabled this function.

    But it is availabe in SQL2000, how could I increased the buffer cache memory, ex, to 1 gb in order to pin a table with 200 mb size?

    thanks for your help.
    David

  5. #5
    Join Date
    Sep 2002
    Posts
    5,938
    Add more physical memory.

Posting Permissions

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