troubleshooting Question

Faster way to get row count from a view than select Count(*) from ViewObject?

Avatar of Charles Baldo
Charles BaldoFlag for United States of America asked on
Microsoft SQL Server 2005Microsoft SQL Server
2 Comments1 Solution221 ViewsLast Modified:
Is there a faster way to get a row count from a view than select count(*) from ViewName??

Migrating a massive, humongous doc management system out of SQL 2005 and need to get row counts. Almost a billion records and the last count took 20 minutes.

"No" is an acceptable answer if you are 100% sure.
ASKER CERTIFIED SOLUTION
Vitor Montalvão
IT Engineer
Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros