Re: Analyze table different behaviour

"Bheemsen" <[email protected]>
Newsgroups gmane.comp.db.oracle.toad.free
Message-ID <[email protected]>
Does anyone know the location of Toad.ini file? I could not find it for version 11.5.1.

Thanks


--- In [email protected], John Dorlon <john.dorlon@...> wrote:
>
> I would definitely like to make another trip to Belgium someday.  Besides good beer, I also remember good chocolate and good food.
> 
> From: [email protected] [mailto:[email protected]] On Behalf Of Pluim, Dick
> Sent: Tuesday, July 17, 2012 10:19 AM
> To: [email protected]; [email protected]
> Subject: [toadbeta] RE: Analyze table different behaviour
> 
> 
> 
> 
> I’ll take a look at the way do it through the TOAD.INI-file.
> 
> Offtopic: And if the La Chouffe is hard to get overthere, consider another trip to Belgium. They have a lot of great beers. Fortunately a lot to be found in the shops in the Netherlands. ;-)
> 
> Kind regards / Met vriendelijke groet / Mit freundlichen Grüßen / Con respeto bueno / avec de sincères amitiés / pozdrowienia / hardik Shubhkamnaye / с дружеским приветом / ë"œë¦¼,
> [Description: cid:480124009@19092011-263E]
> Dick Pluim
> ATS NL Oracle
> atos.net
> [Description: cid:480124009@19092011-2645]
> 
> From: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:[mailto:[email protected]]> On Behalf Of John Dorlon
> Sent: dinsdag 17 juli 2012 17:09
> To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
> Subject: [toadbeta] RE: Analyze table different behaviour
> 
> 
> Hi Dick,
> 
>   I didn’t mean to use a glogin script.  If you add the SET ROLE section to your toad.ini file as described in the help, Toad will run whatever set role commands you configure for every connection we make.  You can configure it to only happen on certain databases or when connected as certain users, etc.
> 
>   If only I could find La Chouffe nearby!  The last time I had it was about 15 years ago when I was in Belgium, but it made a lasting impression.
> 
> -John
> 
> From: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:[mailto:[email protected]]> On Behalf Of Pluim, Dick
> Sent: Tuesday, July 17, 2012 10:02 AM
> To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
> Subject: [toadbeta] RE: Analyze table different behaviour
> 
> 
> 
> 
> Yep, I now start automagically a glogin.sql-script which issues the command for me, but to solve the ORA-1031-errormessage I have to add a line to it: grant analyze any to me; ;-)
> 
> And for John: La Chouffe is a good idea. Have to grab some bottles as well. ;-)
> 
> Kind regards / Met vriendelijke groet / Mit freundlichen Grüßen / Con respeto bueno / avec de sincères amitiés / pozdrowienia / hardik Shubhkamnaye / с дружеским приветом / ë"œë¦¼,
> [Description: cid:480124009@19092011-263E]
> Dick Pluim
> ATS NL Oracle
> atos.net
> [Description: cid:480124009@19092011-2645]
> 
> From: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:[mailto:[email protected]]> On Behalf Of John Dorlon
> Sent: dinsdag 17 juli 2012 15:02
> To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
> Subject: [toadbeta] RE: Analyze table different behaviour
> 
> 
> Look up SET ROLE in Toad’s help file.    This is possible already.
> 
> From: [email protected]<mailto:[email protected]> [mailto:[email protected]]<mailto:[mailto:[email protected]]> On Behalf Of Pluim, Dick
> Sent: Tuesday, July 17, 2012 7:23 AM
> To: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
> Subject: [toad] Analyze table different behaviour
> 
> 
> 
> Hi,
> 
> Happens as well in the beta as in the GA-release:
> 
> Situation: we have personal user-accounts. To 'do something' we have to explicitly issue the command 'set role dba'. After doing so in sqlplus I can issue 'analyze table perfstat.stats$latch estimate statistics' and the table gets analyzed. In Toad in the editor window this works like a charm as well, but when I'm in the schema browser, in the PERFSTAT-schema, Tables-tab and I use rightmouseclick to analyze the table, the 'Analyze all objects' window shows up and after pressing the green arrow I get the errormessage 'ORA-01031 Insufficient privileges'.
> 
> From the spool SQL-window:
> 
> ----------------------------------
> Timestamp: 14:12:38.306
> Connect: NL_DBA@DB
> 
> ----------------------------------
> Session: NL_DBA@DB
> Timestamp: 14:12:40.088
> begin sys.dbms_application_info.set_module('TOAD background query session', null); end;
> 
> ----------------------------------
> Session: NL_DBA@DP
> Timestamp: 14:12:40.100
> Analyze Table PERFSTAT.STATS$LATCH
> Estimate Statistics
> Sample 1 Percent
> 
> ----------------------------------
> Session: NL_DBA@DB
> Timestamp: 14:12:40.163
> Analyze Table PERFSTAT.STATS$LATCH
> Estimate Statistics
> Sample 1 Percent
> Error: ORA-01031: insufficient privileges
> 
> 
> ----------------------------------
> Session: NL_DBA@DB
> Timestamp: 14:12:41.922
> select table_name name, num_rows, blocks, empty_blocks, avg_space, chain_cnt, avg_row_len
> ,sample_size, last_analyzed
> , user_stats, global_stats
> from DBA_ALL_TABLES
> where owner = 'PERFSTAT'
> and table_name in ('STATS$LATCH')
> 
> After granting the privilege 'Analyze any' to me explicitly the issue is solved.
> 
> Why is this different? Or am I overlooking something?
> 
> Kind regards / Met vriendelijke groet / Mit freundlichen Grüßen / Con respeto bueno / avec de sincères amitiés / pozdrowienia / hardik Shubhkamnaye / с дружеским приветом / ë"œë¦¼,
> 
> Dick Pluim
> ATS NL Oracle
> atos.net
> 
> 
> 
> 
> 
> 
> 
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld is middels verzending via internet, kan Atos Nederland B.V. niet aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing. Deze worden u op aanvraag direct kosteloos toegezonden.
> 
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Nederland B.V. group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. On all offers and agreements under which Atos Nederland B.V. supplies goods and/or services of whatever nature, the Terms of Delivery from Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly submitted to you on your request.
> 
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
> 
> 
> 
> 
> 
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld is middels verzending via internet, kan Atos Nederland B.V. niet aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing. Deze worden u op aanvraag direct kosteloos toegezonden.
> 
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Nederland B.V. group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. On all offers and agreements under which Atos Nederland B.V. supplies goods and/or services of whatever nature, the Terms of Delivery from Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly submitted to you on your request.
> 
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
> 
> 
> 
> 
> 
> 
> 
> 
> Dit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd voor de geadresseerde. Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Aangezien de integriteit van het bericht niet veilig gesteld is middels verzending via internet, kan Atos Nederland B.V. niet aansprakelijk worden gehouden voor de inhoud daarvan. Hoewel wij ons inspannen een virusvrij netwerk te hanteren, geven wij geen enkele garantie dat dit bericht virusvrij is, noch aanvaarden wij enige aansprakelijkheid voor de mogelijke aanwezigheid van een virus in dit bericht. Op al onze rechtsverhoudingen, aanbiedingen en overeenkomsten waaronder Atos Nederland B.V. goederen en/of diensten levert zijn met uitsluiting van alle andere voorwaarden de Leveringsvoorwaarden van Atos Nederland B.V. van toepassing. Deze worden u op aanvraag direct kosteloos toegezonden.
> 
> This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos Nederland B.V. group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. On all offers and agreements under which Atos Nederland B.V. supplies goods and/or services of whatever nature, the Terms of Delivery from Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly submitted to you on your request.
> 
> Atos Nederland B.V. / Utrecht
> KvK Utrecht 30132762
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/toad/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/toad/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.