CodeSmith Community
Your Code. Your Way. Faster!

How can i use 2 database in one application

Latest post 11-07-2007 5:05 AM by simonHong. 0 replies.
  • 11-07-2007 5:05 AM

    How can i use 2 database in one application

     in our application , there is only one sqlserver database in used.
     when customer view a report page ,it need run many sql query and cause system became slow.
    to avoid this problem ,we try to duplicate data to another sqlserver database ,and try to run query in that database.
    so, the question is how can i design this function , in normal usage, use the same database  both curd operation and report query ,in heavy data environment , query data from another database.

    i know nettiers can config 2 database section , but it seems to be fit 2 assembly , how can i config 2 database section and use in one assembly ?

    thanks! 

    • Post Points: 5
Page 1 of 1 (1 items) | RSS
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems