SQL Server Statistics Question

Posts   
 
    
MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 28-Oct-2004 19:14:01   

Our statistics keep getting our of wack, and I was wondering what we can do to have this stay up to date. Is there a setting in the database? Any thoughts?

MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 28-Oct-2004 19:15:06   

I wasn't logged in by accident, so I am the annonymous coward! sunglasses

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 28-Oct-2004 21:06:43   

MarcoP wrote:

I wasn't logged in by accident, so I am the annonymous coward! sunglasses

No, the Anonymous Coward is another user simple_smile The real anonymous user is called differently (And can't do a lot wink )

Frans Bouma | Lead developer LLBLGen Pro
MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 28-Oct-2004 23:12:02   

Hey, How about an answer 2 the question. wink

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 29-Oct-2004 09:36:45   

MarcoP wrote:

Hey, How about an answer 2 the question. wink

What if I don't know the answer?

Statistics in sqlserver are kept by the server itself and are solely used by the optimizer to find the proper optimization. Normally statistics work ok, they only are gone when tables are truncated/bulkimported.

Frans Bouma | Lead developer LLBLGen Pro
MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 29-Oct-2004 14:18:58   

Otis wrote:

MarcoP wrote:

Hey, How about an answer 2 the question. wink

What if I don't know the answer?

Statistics in sqlserver are kept by the server itself and are solely used by the optimizer to find the proper optimization. Normally statistics work ok, they only are gone when tables are truncated/bulkimported.

I was only joking, I've yet to find a question that you dont have an answer for. smile

Seriously, we are blown away here at my work regarding all the functionality and effort you put into the product. We have a little joke here, whenever we can't figure out how to do something with LLBL, we say, " Hey, why dont you "Google" Frans." stuck_out_tongue_winking_eye

swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 29-Oct-2004 14:37:18   

Hey, why dont you "Google" Frans.

Careful now, this is a family message board.

stuck_out_tongue_winking_eye

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 29-Oct-2004 15:02:35   

heh smile

Frans Bouma | Lead developer LLBLGen Pro