How can you gather statistics on a table?

Answers were Sorted based on User's Feedback



How can you gather statistics on a table?..

Answer / santosh

you can use dbms_stats package

Is This Answer Correct ?    19 Yes 3 No

How can you gather statistics on a table?..

Answer / guest

We can gather statistics on a table through>>

analyze table TABLE_NAME compute statistics , or

analyze table TABLE_NAME estimate statistics


Regards
Abhinav

Is This Answer Correct ?    12 Yes 1 No

How can you gather statistics on a table?..

Answer / balu

exec dbms_stats.gather_table_stats('ownername','tablename')

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB Administration Interview Questions

What is the difference between dropping a database and taking a database offline? : sql server DBA

0 Answers  


What view(s) do you use to associate a user's SQLPLUS session with his o/s process?

0 Answers  


Which autogrowth database setting is good? : sql server DBA

0 Answers  


Hi This is request to DBA man Q. I have installed Oracle 10g Express edition in Linux fedora Core 6.When i have run the following script for ORACLE _HOME environment variable setting . script is ". /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/oracle_env.sh" variable is set but it is working only in current session. If i restart the system again i should run that script. So haw to set permanently ? even i have try with export command for that environment set it also does not work. Q. When i run sqlplus in shell prompt It is working but when i give user name and password the following error come out i.e # sqlplus SQL*Plus: Release 10.2.0.1.0 - Production on Fri Apr 2 19:45:40 2010 Copyright (c) 1982, 2005, Oracle. All rights reserved. Enter user-name: system Enter password: ERROR: ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist Linux Error: 2: No such file or directory I have also proper partition of disk means swap memory are available. # fdisk -l Disk /dev/sda: 40.0 GB, 40060403712 bytes 255 heads, 63 sectors/track, 4870 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1275 10241406 7 HPFS/NTFS /dev/sda2 1276 4870 28876837+ f W95 Ext'd (LBA) /dev/sda5 1276 3187 15358108+ 7 HPFS/NTFS /dev/sda6 3188 4672 11928231 83 Linux /dev/sda7 4673 4863 1534176 82 Linux swap / Solaris

1 Answers  


now one user in online.now i want drop him..how do u drop him?

4 Answers   Wipro,






A lady is trying to pick gloves and hats from her wardrobe in the dark. She has 22 white and 33 green ones. She wants to pick a pair of gloves of white and green. How many tries before she gets it right?

1 Answers   TCS,


When creating a user, what permissions must you grant to allow them to connect to the database?

3 Answers  


What are the different authentication modes in sql server and how can you change authentication mode? : sql server DBA

0 Answers  


how will you see when the database was started using sql prompt?

2 Answers   IBM,


In oracle 10g export, import if we declare rows=y/n what would be the output?

0 Answers   Value Labs,


If you're unsure in which script a sys or system-owned object is created, but you know it's in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?

1 Answers  


What is the difference between the SQL Loader and IMPORT utilities?

3 Answers  


Categories