I have existing application which uses Sql server 2005 as a backend. It contains huge records, I need to join tables which contain 50000-70000. In client machine it slowdown.
So, can I improve its performance by using XML as a backend? I have checked that the size of xml file becomes 35MB to 50MB, when I load data. I also need to search operation on xml file.
SO, which one is better for performance.
SQL Server is definitely the better option for that kind of size.
If your SQL database is operating very slowly, this indicates that you have not created the necessary indexes. You need to create indexes so that the SQL engine can much more easily and efficiently look up rows by specific values. For example, if you have a table of customers, and you often want to find customers by their name, then you should index the Name column. Since you say you join large tables, you should index the columns on which you join.
50,000 records is not actually that many. The last time I maintained a database running on SQL Server, it had tables with millions of rows (and reasonably so; the data was not crazy redundant or anything) and joining against those tables in very complex queries was absolutely fine.