Showing posts with label size. Show all posts
Showing posts with label size. Show all posts

Wednesday, March 7, 2012

DDL Changes breaks cubes

Hi,

Lately I had to increase the size of a table varchar column.

This column is used in a cube dimension attribute.

After the change, cube processing ended-up in error.

I had to first refresh the dataview and then go manually change the KeyColumns Datasize property to increase it as well.

Is there a better way? I find this very dangerous.
As a minimum, a dependency check should include cubes using that metadata.

I notticed the same type of problems on the SSIS sides, metadata becomes out of synch. This is not a show stopper but these are missing link in the dependency food chain.

Sub-systems are not integrated, they are in a vacuum. A little less than with 2000 but still in a vacuum.

Philippe

Very valuable observation.

This is something we are going to take a look at for the next version :)

Edward.
--
This posting is provided "AS IS" with no warranties, and confers no rights.

Friday, February 24, 2012

dbo.DTA.Tuninglog table

Can the records in this table be deleted? Currently the size of this table
is over 460 MB and I would like to clear it, but I am not sure what it is
used for (used by the database tuning engine I would guess).
Thanks.
Hi Tim.
This table is used for DTA's tuning log. You can TRUNCATE the table if you
want to free up space and you no longer care about its contents.
The following Books Online Link contains information on the tuning log:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/8edc95f8-581f-4391-9fe9-5ae8d03f9193.htm
Also, the DTA command-line utility allows you to store the tuning log on a
different table of your choice:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlcmpt9/html/a0b210ce-9b58-4709-80cb-9363b68a1f5a.htm
Regards,
Leo
"Tim Kelley" <tkelley@.company.com> wrote in message
news:O4rYjKx9GHA.2408@.TK2MSFTNGP05.phx.gbl...
> Can the records in this table be deleted? Currently the size of this
> table is over 460 MB and I would like to clear it, but I am not sure what
> it is used for (used by the database tuning engine I would guess).
> Thanks.
>

dbo.DTA.Tuninglog table

Can the records in this table be deleted? Currently the size of this table
is over 460 MB and I would like to clear it, but I am not sure what it is
used for (used by the database tuning engine I would guess).
Thanks.Hi Tim.
This table is used for DTA's tuning log. You can TRUNCATE the table if you
want to free up space and you no longer care about its contents.
The following Books Online Link contains information on the tuning log:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/8edc95f8-581f-4391-9fe9-5ae8d03f9193.htm
Also, the DTA command-line utility allows you to store the tuning log on a
different table of your choice:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlcmpt9/html/a0b210ce-9b58-4709-80cb-9363b68a1f5a.htm
Regards,
Leo
"Tim Kelley" <tkelley@.company.com> wrote in message
news:O4rYjKx9GHA.2408@.TK2MSFTNGP05.phx.gbl...
> Can the records in this table be deleted? Currently the size of this
> table is over 460 MB and I would like to clear it, but I am not sure what
> it is used for (used by the database tuning engine I would guess).
> Thanks.
>

dbo.DTA.Tuninglog table

Can the records in this table be deleted? Currently the size of this table
is over 460 MB and I would like to clear it, but I am not sure what it is
used for (used by the database tuning engine I would guess).
Thanks.Hi Tim.
This table is used for DTA's tuning log. You can TRUNCATE the table if you
want to free up space and you no longer care about its contents.
The following Books Online Link contains information on the tuning log:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/8edc95f8-581f-4391-9fe9-5ae8
d03f9193.htm
Also, the DTA command-line utility allows you to store the tuning log on a
different table of your choice:
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/sqlcmpt9/html/a0b210ce-9b58-4709-80cb-
9363b68a1f5a.htm
Regards,
Leo
"Tim Kelley" <tkelley@.company.com> wrote in message
news:O4rYjKx9GHA.2408@.TK2MSFTNGP05.phx.gbl...
> Can the records in this table be deleted? Currently the size of this
> table is over 460 MB and I would like to clear it, but I am not sure what
> it is used for (used by the database tuning engine I would guess).
> Thanks.
>

Sunday, February 19, 2012

dbo rolemembership and files size of database files

Hi
If I create a database and give to the database user
dbo role membership he is able to change size of datafiles
mdf and ldf. How can i suppress that so that this is no longer
possible?
Kind regards
MickeyDBO should not have this right by default. Make sure the user is also not
a member of
sysadmin or diskadmin fixed server roles.
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

dbo role and modify filesize of database

Hi
If I create a database and give to the database user
dbo role membership he is able to change size of datafiles
mdf and ldf. How can i suppress that so that this is no longer
possible?
Kind regards
Mickey> If I create a database and give to the database user
> dbo role membership he is able to change size of datafiles
> mdf and ldf. How can i suppress that so that this is no longer
> possible?
Don't add the user to the db_owner role :-)
Membership of db_owner, sysadmin, etc. have powerful rights that (hopefully)
aren't needed for routine application functionality. Normally, one can
create user-defined rules with appropriate object permissions and control
access via role membership.
What application requirement do you have that currently necessitates
db_owner role membership? Perhaps we can come up with an alternative
solution.
Hope this helps.
Dan Guzman
SQL Server MVP
"Mickey Red" <mred@.red.com> wrote in message
news:Xns949B50872244AMRed@.216.196.97.131...
> Hi
> If I create a database and give to the database user
> dbo role membership he is able to change size of datafiles
> mdf and ldf. How can i suppress that so that this is no longer
> possible?
> Kind regards
> Mickey|||Hi Dan
Thanks for your reply.
It's not possible the remove the user from the dbo_owner role because
it's a app developer and needs dbo rights for creating tables and other
objects in a database. The role datawriter is not enough.
I'm still searching for alternatives, because i think all what has to do
with space-management on the server is the dba's job. Perheaps you or
someone other knows an other alternative.
Thanks
Mickey
"Dan Guzman" <danguzman@.nospam-earthlink.net> wrote in
news:#ekYQVH$DHA.2432@.TK2MSFTNGP11.phx.gbl:

> Don't add the user to the db_owner role :-)
> Membership of db_owner, sysadmin, etc. have powerful rights that
> (hopefully) aren't needed for routine application functionality.
> Normally, one can create user-defined rules with appropriate object
> permissions and control access via role membership.
> What application requirement do you have that currently necessitates
> db_owner role membership? Perhaps we can come up with an alternative
> solution.
>|||If your developers need permission to create objects owned by other users,
you can add them to the db_ddladmin and db_securityadmin fixed database
roles. Like db_owner, they can create dbo-owned objects and grant
permissions on them but will not be able to alter the database. However,
with db_securityadmin they could also add themselves to db_owner so it
depends how much you trust your developers.
Another technique is to just grant them CREATE permissions for the
appropriate object types. Newly created objects will be initially owned by
the developer's userid and you can later change the object owner to the one
desired using sp_changeobjectowner.
Hope this helps.
Dan Guzman
SQL Server MVP
"Mickey Red" <mred@.red.com> wrote in message
news:Xns949BE03CEC0B1MRed@.216.196.97.131...
> Hi Dan
> Thanks for your reply.
> It's not possible the remove the user from the dbo_owner role because
> it's a app developer and needs dbo rights for creating tables and other
> objects in a database. The role datawriter is not enough.
> I'm still searching for alternatives, because i think all what has to do
> with space-management on the server is the dba's job. Perheaps you or
> someone other knows an other alternative.
> Thanks
> Mickey
>
> "Dan Guzman" <danguzman@.nospam-earthlink.net> wrote in
> news:#ekYQVH$DHA.2432@.TK2MSFTNGP11.phx.gbl:
>
>|||Hi Dan
Thanks for your reply. I will either try one of the two techniques
you mentioned. Probably it would be the second. Because I don't do
not trust to much the developers.
Kind regards
Mickey
"Dan Guzman" <danguzman@.nospam-earthlink.net> wrote in
news:OYpmz0T$DHA.3712@.tk2msftngp13.phx.gbl:

> If your developers need permission to create objects owned by other
> users, you can add them to the db_ddladmin and db_securityadmin fixed
> database roles. Like db_owner, they can create dbo-owned objects and
> grant permissions on them but will not be able to alter the database.
> However, with db_securityadmin they could also add themselves to
> db_owner so it depends how much you trust your developers.
> Another technique is to just grant them CREATE permissions for the
> appropriate object types. Newly created objects will be initially
> owned by the developer's userid and you can later change the object
> owner to the one desired using sp_changeobjectowner.
>