dbTalk Databases Forums  

Update Stats not Table Owner

comp.databases.informix comp.databases.informix


Discuss Update Stats not Table Owner in the comp.databases.informix forum.



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

Default Update Stats not Table Owner - 12-28-2010 , 09:03 AM






Hello,

We are running Informix 11.50.FC6 and we have a daily process done by
a user which truncates the table owned by user "informix" and loads
the table with new data. We need to allow the user to update stats
after the load. The user cannot update stats because they are not the
owner of the table. Aside from creating an SP owned by informix which
update stats in the SP and gives permissions for the user to execute,
is there any other way to allow the user to update stats on the table?

--Dave

Reply With Quote
  #2  
Old   
Art Kagel
 
Posts: n/a

Default Re: Update Stats not Table Owner - 12-28-2010 , 09:38 AM






The only other option would be to GRANT DBA privileges to this user. A DBA
procedure to update the statistics that this user has privilege to run is
probably the best option.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art (AT) iiug (DOT) org)
Blog: http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, or by
inference. Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.



On Tue, Dec 28, 2010 at 10:03 AM, Dave <in4mixdba (AT) gmail (DOT) com> wrote:

Quote:
Hello,

We are running Informix 11.50.FC6 and we have a daily process done by
a user which truncates the table owned by user "informix" and loads
the table with new data. We need to allow the user to update stats
after the load. The user cannot update stats because they are not the
owner of the table. Aside from creating an SP owned by informix which
update stats in the SP and gives permissions for the user to execute,
is there any other way to allow the user to update stats on the table?

--Dave
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list

Reply With Quote
  #3  
Old   
Dave
 
Posts: n/a

Default Re: Update Stats not Table Owner - 12-28-2010 , 09:46 AM



Art,

Thank you. I will use the update stats via the SP solution.

Have a great day,

--Dave

On Dec 28, 10:38*am, Art Kagel <art.ka... (AT) gmail (DOT) com> wrote:
Quote:
The only other option would be to GRANT DBA privileges to this user. * A DBA
procedure to update the statistics that this user has privilege to run is
probably the best option.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (a... (AT) iiug (DOT) org)
Blog:http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions and
do not reflect on my employer, Advanced DataTools, the IIUG, nor any other
organization with which I am associated either explicitly, implicitly, orby
inference. *Neither do those opinions reflect those of other individuals
affiliated with any entity with which I am affiliated nor those of the
entities themselves.



On Tue, Dec 28, 2010 at 10:03 AM, Dave <in4mix... (AT) gmail (DOT) com> wrote:
Hello,

We are running Informix 11.50.FC6 and we have a daily process done by
a user which truncates the table owned by user "informix" and loads
the table with new data. *We need to allow the user to update stats
after the load. *The user cannot update stats because they are not the
owner of the table. *Aside from creating an SP owned by informix which
update stats in the SP and gives permissions for the user to execute,
is there any other way to allow the user to update stats on the table?

--Dave
_______________________________________________
Informix-list mailing list
Informix-l... (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list- Hide quoted text -

- Show quoted text -

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.