We help IT Professionals succeed at work.

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

215 Views
Last Modified: 2017-03-31
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.
Comment
Watch Question

IT Engineer
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Charles BaldoSoftware Developer

Author

Commented:
It is thanks, close is good enough as well, the database is static and not changing now.