How to judge the health index
HelloI just want to know how to judge the index is in good health
I know I should look
BLEVEL, LEAF_BLOCKS, DISTINCT_KEYS, CLUSTERING_FACTOR
in dba_indexes
But how to calculate that value the health of an index
I know that BLEVEL must be 3 or less, the other rules?
Thank you very much
So, how can I reduce my grouping factor if it is very high?
You would have to physically rearrange the rows in the table to match the index. (that is to say, re-create the table with an ORDER BY according to the index key columns).
This can improve the collection for only 1 index. It can and will degrade clustering for another index on the same table. So if you have several indexes, all queries to support just as important, it's not a course, you should take.
You should also review your index definitions. If you have the right and columns, in a concatenated index, the order of the columns.
Hemant K Collette
Tags: Database
Similar Questions
-
How to access the health application on an iPhone 4 running iOS 9.2 s?
How to access the health application on an iPhone 4 running iOS 9.2 s?
The icon is missing?
-
How to judge the backup set is available (with RMAN)?
Hi all, after you back up the database, how to judge the backup set is available?
SQL > SELECT * FROM V$ VERSION;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
AMT for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Productionrman target / Recovery Manager: Release 11.2.0.1.0 - Production on Mon Jul 9 12:28:51 2012 Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved. connected to target database: CATDB (DBID=2328696599) RMAN> crosscheck backupset; allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=24 device type=DISK crosschecked backup piece: found to be '*AVAILABLE*' backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_NNNDF_TAG201206 14T153439_7XMHL0JL_.BKP RECID=34 STAMP=785950480 crosschecked backup piece: found to be '*AVAILABLE*' backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_ANNNN_TAG201206 14T153546_7XMHN2C6_.BKP RECID=35 STAMP=785950546 crosschecked backup piece: found to be '*AVAILABLE*' backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785950547_7X MHN4MH_.BKP RECID=36 STAMP=785950548 crosschecked backup piece: found to be '*AVAILABLE*' backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785953535_7X MLKN66_.BKP RECID=37 STAMP=785953539 crosschecked backup piece: found to be '*AVAILABLE*' backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785971797_7X N4D6YF_.BKP RECID=38 STAMP=785971798 crosschecked backup piece: found to be '*AVAILABLE*' backup piece handle=D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_29\O1_MF_S_787249342_7Y V4001O_.BKP RECID=39 STAMP=787249359 Crosschecked 6 objects RMAN> list backupset; using target database control file instead of recovery catalog List of Backup Sets =================== BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 26 Full 320.44M DISK 00:01:03 14-JUN-12 BP Key: 34 Status: AVAILABLE Compressed: YES Tag: TAG20120614T153439 Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_NNNDF_TAG201206 14T153439_7XMHL0JL_.BKP List of Datafiles in backup set 26 File LV Type Ckp SCN Ckp Time Name ---- -- ---- ---------- --------- ---- 1 Full 3712551 14-JUN-12 D:\ORACLE\ORADATA\CATDB\SYSTEM01.DBF 2 Full 3712551 14-JUN-12 D:\ORACLE\ORADATA\CATDB\SYSAUX01.DBF 3 Full 3712551 14-JUN-12 D:\ORACLE\ORADATA\CATDB\UNDOTBS01.DBF 4 Full 3712551 14-JUN-12 D:\ORACLE\ORADATA\CATDB\USERS01.DBF 5 Full 3712551 14-JUN-12 D:\ORACLE\ORADATA\CATDB\CATMETADATA01.DBF 6 Full 3712551 14-JUN-12 D:\ORACLE\ORADATA\CATDB\UNDO2.DBF BS Key Size Device Type Elapsed Time Completion Time ------- ---------- ----------- ------------ --------------- 27 99.50K DISK 00:00:00 14-JUN-12 BP Key: 35 Status: AVAILABLE Compressed: YES Tag: TAG20120614T153546 Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\BACKUPSET\2012_06_14\O1_MF_ANNNN_TAG201206 14T153546_7XMHN2C6_.BKP List of Archived Logs in backup set 27 Thrd Seq Low SCN Low Time Next SCN Next Time ---- ------- ---------- --------- ---------- --------- 1 47 3712495 14-JUN-12 3712583 14-JUN-12 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 28 Full 9.45M DISK 00:00:02 14-JUN-12 BP Key: 36 Status: AVAILABLE Compressed: NO Tag: TAG20120614T153547 Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785950547_7X MHN4MH_.BKP SPFILE Included: Modification time: 14-JUN-12 SPFILE db_unique_name: CATDB Control File Included: Ckp SCN: 3712594 Ckp time: 14-JUN-12 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 29 Full 9.45M DISK 00:00:07 14-JUN-12 BP Key: 37 Status: AVAILABLE Compressed: NO Tag: TAG20120614T162535 Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785953535_7X MLKN66_.BKP SPFILE Included: Modification time: 14-JUN-12 SPFILE db_unique_name: CATDB Control File Included: Ckp SCN: 3715284 Ckp time: 14-JUN-12 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 30 Full 9.45M DISK 00:00:02 14-JUN-12 BP Key: 38 Status: AVAILABLE Compressed: NO Tag: TAG20120614T212957 Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_14\O1_MF_S_785971797_7X N4D6YF_.BKP SPFILE Included: Modification time: 14-JUN-12 SPFILE db_unique_name: CATDB Control File Included: Ckp SCN: 3735186 Ckp time: 14-JUN-12 BS Key Type LV Size Device Type Elapsed Time Completion Time ------- ---- -- ---------- ----------- ------------ --------------- 31 Full 9.45M DISK 00:00:23 29-JUN-12 BP Key: 39 Status: AVAILABLE Compressed: NO Tag: TAG20120629T162221 Piece Name: D:\ORACLE\FAST_RECOVERY_AREA\CATDB\AUTOBACKUP\2012_06_29\O1_MF_S_787249342_7Y V4001O_.BKP SPFILE Included: Modification time: 29-JUN-12 SPFILE db_unique_name: CATDB Control File Included: Ckp SCN: 5138750 Ckp time: 29-JUN-12
Please do not forget to change the status thread answer whether it is possible when believe you your thread replied, he pretend to wasting time in other forums users while they are looking outstanding which is not answered, thank you for understanding
Published by: Julien Hesenov on July 9, 2012 12:42
-
How to see the weather index is an index of primary or no key
Jin
can someone let me know how to get the weather conditions, the index is performed on the primary key (IE primary key index)
We achieve this by querying the user_constriants table.
Please let me know...Jin
1 SELECT CONSTRAINT_NAME,TABLE_NAME,CONSTRAINT_TYPE,INDEX_NAME FROM USER_CONSTRAINTS 2* WHERE CONSTRAINT_TYPE = 'P' SQL> / CONSTRAINT_NAME TABLE_NAME C INDEX_NAME ------------------------------ ------------------------------ - ------------------------------ SYS_C007037 TEST_IDX P SYS_C007037 SYS_C006443 VIJAY P SYS_C006443
Kind regards
Delphine K -
How to protect the health of your battery on the t420
Hey,.
What is the best way to protect the health of your battery? When my laptop recharges and 100%, will again be the discharg and charg battery upward or the laptop gets its power directly from the power supply?
THX in advance
My recommendation is to install ThinkVantage Power Manager. Then the battery tab, and then click maintenance of batteries. This allows you to set the Mode of Charge to something like min 40%/max 80% in order to avoid charging the battery to 100%. Keep the battery at 100%, while the ThinkPad is on AC for long periods will hasten its deterioration.
-
How to program the search indexer to run when it is convenient for ME rather than on the computer
Is it possible to put the search indexer to run only at certain times of the day when I'm NOT at the computer and the constant grinding of my HDD does not bother me? It also tends to cause a lot of heat and make my computer fans to kick in "high speed" which is really noisy.
He plunges me nuts, because it seems to kick when I'm in the middle of an intense operation of the drive, and that slows things down.I can't find it in the scheduled tasks, and only function in time of inactivity is obviously broken. If I can't plan sound at times, can I set it so I have to manually trigger?
Otherwise, just benefits are not worth the aggravation. I always check the Task Manager and resource monitor to see why my hard drive is grinding suddenly like crazy and my disk performance or my system just slowed down, just to see that runnning svchosts or searchprotocolhost.exe or searchindexer.
Yes, you can. I find also quite annoying as well as I use my PC as a media extender, and the impacts of the playback quality when it is used.
Create two files of orders (startindexer.bat and stopindexer.bat)
In stopindexer, type the line
net stop wsearch
In the startindexer enter the line
net start wsearch
Now create 2 scheduled tasks to run the first batch file that stops the service every day at some point. The other for the throw upward at a time you do not use the computer. Point to note. You can run tasks scheduled under the system account otherwise you probably will not have rights to stop and start the service.
It works very well.
-
How to change the z-index of lively edge
Hi guys,.
I am trying to create a 3d rotating carousel in which the object right should move to the left behind the objects in the middle.
for this I need to change the z-index.
is it possible to change the z-index of a label to?
or do I have to create a new layer-order label label?
You can add timeline trigger to the position of the label like this for example:
SYM.$("rectangle"). CSS({"z-index":-10});)
SYM.$("Rectangle2"). CSS({"z-index":10});)
HTH,
Vivekuma
-
How to find the unique index to break the record?
Hello
When I do an UPDATE on a table how can I accumulate documents violates a unique index on the table? Is there something like "EXCEPTIONS IN" when using ALTER TABLE MODIFY CONSTRAINT... ENABLE VALIDATE EXCEPTIONS IN...?
Oracle DB 10g
Look in the logging of DML errors
ORACLE-BASE - DML Oracle 10 g Release 2 of the database connection error
-
How to access the pdf index catalogued on the Web
I have indexed a pdf catalog, and then copy the results to a Web server. I can access the correct individual pdf files, but not Acrobat Pro or reader can read the index. How can I do? Thank you!
You must INCLUDE the index file in the PDF file. Here's a useful blog announces that explained: speed up the PDF with an Index Search incorporated
-
How to unlock the layer "index"?
I scanned a piece of writing as a PNG document. I then opened in Photoshop CS4 and, under save for Web and devices, optimized the image (which includes the removal of some ugly red lines that were on the original article). Then, I saved the document as a gif file.
Receive opened the new gif file, however, I discovered that the image is now on a locked layer named "index". How can I unlock this layer - or what I can?
As I mentioned above, I removed some red in the original image when I optimized. I would like to create a new background layer in the gif that will fill the transparent lines that have been created when I removed the colors. If I can't unlock layer "index" the new gif, can someone advise me on how to create a new layer/background color?
Thank you.
Image > Mode > RGB
-
How to maintain the health of my mac?
Are there things to maintain effective and preventive should I do to keep my mac running smoothly? If so, what are the resources, or the steps I take and how many times it is desirable to keep my computer running optimally. I have an iMac, 201, processor 3.06 GHz Intel Core i3 memory 4 GB 1333 Mhz DDR3.
Thank you
Dan
Everything is built in the mac and it does it automatically.
Do NOT use any 'cleansing' of applications such as CleanMyMac. They affect only, they do not contribute
-
sorting table, how to get the new index of the last value?
Hi all!
I use a Subvi, which adds a cluter of the parameters to an array and then sort this table by one of the parameters in clusters.
It works very well, with examples, that I found in this forum
but now, I would like to know if it is possible to obtain at the end of the new cluster index first added.
See attached VI
Thank you
You take the size of the table and insert the new element to this level is anything other than the table of construction and a simple construction would do that.
In your question, I assume you're asking on the index of the item that you inserted after the sorting of the table, right? In this case, you can compare the cluster element that you introduce to the initial with the cluster table you get after a sorting of the table. This will give you the index of the item that you insert at the start.
-
How to understand the health of the db
So today is my first day in a company
What is the way to know that the db is healthy or not
I'll do the follwing
1 monitor the events of waiting in the db
2. run AWR reports Meanwhile different snapshot
Anything else?
I know it's 11g it is monitor health, is making this function?
Thank youDB in good health! It's a good :).
Well, 10g and 11g comes with a good GUI based database Console called EM. Using the Performance of the page, you can have a look on what is going on. If there is something important, he would be declared.
Other than that, AWR/Statspack report would probably also help.
That said, no database cannot really be called healthy. Even on a healthy database, there may be some current wait events. If you have to draw a line when you start tuning and when you were going to just ignore it.
HTH
Aman... -
JPEG images being dragged over to Photoshop are veiwable as thumbnails on the external hard drive. However back to the DNG RAW images are not visible. Anyway is to visualize images of type external hard disk? It would be nice to get a glimpse of what you make in Lightroom simply looking on the external hard drive you can with JPEG files.
The library, just click on the import button and navigate to your folder on the EHD. Choose the folder and click Add at the top of the dialog box. You should see thumbnail previews in the import dialog box where you can select what to import.
-
How to change the selected index of a list of a DG?
It is probably simple and I'm in the right place. I have a datagrid. When I select an element of the DG, he fills out a form that can be updated. One of the form fields is a list control with a remote object values. I want this list to highlight/select the value that corresponds to that of the DG when the item is selected. For example if I have a list of numbers 1, 2, 3, 4, 5 and the question that I select in the DG contains a 4, then I want the list to automatically select 4 as a default in the list when I select the element of the DG.You must loop through the result of your RemoteObject looking for a match, after that you have added to the list. I posted a sort of model of example to show what I mean, yours will be different of course, but I think you can grasp the concept based on what I'm trying to show.
Maybe you are looking for
-
Cannot print in gray scale it goes back to the color
Original title: printer When I try to print to fax by default, if I try to print in gray scale that it goes back to color. How to fix this?
-
HP Pavilion dv6-1225ei: upgrading Ram for laptop
I'm trying to exceed 10 32-bit windows. I want to upgrade to 8gig of ram. I know that I need 64-bit for this. I saw on the Intel site, I have a 64-bit processor, but it is a little old now. So I would like to know if it would be able to run 10 64-bit
-
Cannot open and view the files on a Vista Home Premium 32-bit networking machine
My laptop running Vista Home 32-bit pre SP2 has been networked with my desktop running XP V2002 Pro SP 3 for a long time. Until recently, the files were shared back without problem. After a Windows Update, a few days ago my Vista machine keep gel.
-
Download Missing 6480 HP all-in-One button
Help. Does anyone know the URL of the page where I can download the driver software for the printer all-in-one HP 6480 iMac running version 10.9 Mavericks? It should appear on this page http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4159&lc=
-
BlackBerry Smartphones BB ID denied, offline mode?
I used to use a SIM card with blackberry option in my BB, but this contract is finished so I want to use my other SIM (different provider, no internet, no BB, just oldschool option for making calls and texting) in my BB. I couldn't remember my origin