dbTalk Databases Forums  

How can I prevent that the usage log table is cleared ?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss How can I prevent that the usage log table is cleared ? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Damien
 
Posts: n/a

Default How can I prevent that the usage log table is cleared ? - 10-13-2004 , 10:45 AM






Problem:

I want to check the usage of the cubes in my datawarehouse. The
datawarehouse runs at SQL Server 2000. What I noticed is that after the
cubes
are processed the data that was stored with regard to the usage of the cubes
is cleared. Since I update the datawarehouse each day and consequently
processes the cubes as well, I get only the log of the active users (with
the "usage analysis wizard") of today.

Does any one know how to prevent this? Is there somewhere an option that can
be set that prevents that the data is cleared?

I already checked the help files etc. but didn't find a satisfying answer.

Regards,

Damien



Reply With Quote
  #2  
Old   
Tore Johnsen
 
Posts: n/a

Default Re: How can I prevent that the usage log table is cleared ? - 10-13-2004 , 11:38 AM






Hey, am I alone answering doubts today. Wake up folks!

AS clears the log each time you do a Full process. I don't know why. You
have to make a DTS that saves the data to a temporary table before
processing, and then copies them back again. You should migrate the log from
Access to SQL server, but this requires some registry modifications (Anyone
has the msdn article?) . The table is called Querylog
Tore

"Damien" <dams_@[antispam]caramail.com> escreveu na mensagem
news:%23RcRktTsEHA.2196 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Quote:
Problem:

I want to check the usage of the cubes in my datawarehouse. The
datawarehouse runs at SQL Server 2000. What I noticed is that after the
cubes
are processed the data that was stored with regard to the usage of the
cubes
is cleared. Since I update the datawarehouse each day and consequently
processes the cubes as well, I get only the log of the active users (with
the "usage analysis wizard") of today.

Does any one know how to prevent this? Is there somewhere an option that
can
be set that prevents that the data is cleared?

I already checked the help files etc. but didn't find a satisfying answer.

Regards,

Damien





Reply With Quote
  #3  
Old   
Jacco Schalkwijk
 
Posts: n/a

Default Re: How can I prevent that the usage log table is cleared ? - 10-13-2004 , 12:17 PM



Quote:
AS clears the log each time you do a Full process. I don't know why.
A full process can mean that the structure of the cube has changed, and that
the existing usage statistics don't make any sense with regards to the new
cube structure. I guess there could have been a check to see if the new cube
structure is compatible with the old (or hasn't changed), but that's just
not there.

--
Jacco Schalkwijk
SQL Server MVP


"Tore Johnsen" <naturamo (AT) hotmail (DOT) com> wrote

Quote:
Hey, am I alone answering doubts today. Wake up folks!

AS clears the log each time you do a Full process. I don't know why. You
have to make a DTS that saves the data to a temporary table before
processing, and then copies them back again. You should migrate the log
from
Access to SQL server, but this requires some registry modifications
(Anyone
has the msdn article?) . The table is called Querylog
Tore

"Damien" <dams_@[antispam]caramail.com> escreveu na mensagem
news:%23RcRktTsEHA.2196 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Problem:

I want to check the usage of the cubes in my datawarehouse. The
datawarehouse runs at SQL Server 2000. What I noticed is that after the
cubes
are processed the data that was stored with regard to the usage of the
cubes
is cleared. Since I update the datawarehouse each day and consequently
processes the cubes as well, I get only the log of the active users (with
the "usage analysis wizard") of today.

Does any one know how to prevent this? Is there somewhere an option that
can
be set that prevents that the data is cleared?

I already checked the help files etc. but didn't find a satisfying
answer.

Regards,

Damien







Reply With Quote
  #4  
Old   
Ramunas Balukonis
 
Posts: n/a

Default Re: How can I prevent that the usage log table is cleared ? - 10-14-2004 , 02:45 AM



Migrate your querylog table to sql server and then create querylog_history
table. Populate querylog_history table with insert trigger. You can read
more on
http://www.sqlservercentral.com/colu...isservices.asp

Ramunas Balukonis


"Damien" <dams_@[antispam]caramail.com> wrote

Quote:
Problem:

I want to check the usage of the cubes in my datawarehouse. The
datawarehouse runs at SQL Server 2000. What I noticed is that after the
cubes
are processed the data that was stored with regard to the usage of the
cubes
is cleared. Since I update the datawarehouse each day and consequently
processes the cubes as well, I get only the log of the active users (with
the "usage analysis wizard") of today.

Does any one know how to prevent this? Is there somewhere an option that
can
be set that prevents that the data is cleared?

I already checked the help files etc. but didn't find a satisfying answer.

Regards,

Damien





Reply With Quote
  #5  
Old   
Damien
 
Posts: n/a

Default Re: How can I prevent that the usage log table is cleared ? - 10-14-2004 , 03:59 AM



Hi All,

Thanks for all

Damien
"Damien" <dams_@[antispam]caramail.com> a écrit dans le message de
news:%23RcRktTsEHA.2196 (AT) TK2MSFTNGP14 (DOT) phx.gbl...
Quote:
Problem:

I want to check the usage of the cubes in my datawarehouse. The
datawarehouse runs at SQL Server 2000. What I noticed is that after the
cubes
are processed the data that was stored with regard to the usage of the
cubes
is cleared. Since I update the datawarehouse each day and consequently
processes the cubes as well, I get only the log of the active users (with
the "usage analysis wizard") of today.

Does any one know how to prevent this? Is there somewhere an option that
can
be set that prevents that the data is cleared?

I already checked the help files etc. but didn't find a satisfying answer.

Regards,

Damien





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.