Oracle Exadata - Automatic Index
Hi Experts,
I was told that Oracle Exadata can create index on the fly automatically for the required columns when it seems some queries performing poor, can you please clarify if its true? if so what kind of configuration is required to do so?
Appreciate any more details!
Hi Experts,
I was told that Oracle Exadata can create index on the fly automatically for the required columns when it seems some queries performing poor, can you please clarify if its true? if so what kind of configuration is required to do so?
Appreciate any more details!
No, the database indexe on tables are not created automatically.
There is a difference between database index (persist) and exadata storage index (do not persist across reboot) which are created at the storage layer. For poor performing query you should check whether smart scan is working.
HTH,
Pradeep
Similar Messages
-
Hello,
I try to convince Oracle to do a index scan rather then a full table scan in a query. To
do this I created a view on top of the table which simply adds this hint:
CREATE OR REPLACE VIEW V_FHDDSC3_FACT_DATA_4WEEK AS
SELECT /*+ INDEX(T P_FHDDSC3_FACT_DATA_4WEEK) */
T.*
FROM T_FHDDSC3_FACT_DATA_4WEEK T
The whole query is here:
SELECT v_fhddsc3_geography_dim.geog_tag, v_fhddsc3_product_dim.prod_tag,
v_fhddsc3_time_4week_dim.time_tag, v_fhddsc3_fact_data_4week.m001,
v_fhddsc3_fact_data_4week.m002, v_fhddsc3_fact_data_4week.m003,
v_fhddsc3_fact_data_4week.m004, v_fhddsc3_fact_data_4week.m005,
v_fhddsc3_fact_data_4week.m006, v_fhddsc3_fact_data_4week.m007,
v_fhddsc3_fact_data_4week.m008, v_fhddsc3_fact_data_4week.m009,
v_fhddsc3_fact_data_4week.m010
FROM v_fhddsc3_geography_dim,
v_fhddsc3_time_4week_dim,
v_fhddsc3_fact_data_4week,
v_fhddsc3_product_dim
WHERE ( v_fhddsc3_geography_dim.geog_key =
v_fhddsc3_fact_data_4week.geog_key
AND v_fhddsc3_product_dim.prod_key =
v_fhddsc3_fact_data_4week.prod_key
AND v_fhddsc3_time_4week_dim.time_key =
v_fhddsc3_fact_data_4week.time_key
AND ( v_fhddsc3_geography_dim.geog_tag IN
(:"SYS_B_00",
:"SYS_B_01",
:"SYS_B_02",
:"SYS_B_03",
:"SYS_B_04",
:"SYS_B_05",
:"SYS_B_06",
:"SYS_B_07",
:"SYS_B_08"
AND v_fhddsc3_product_dim.hierarchy_level IN (:"SYS_B_09")
AND v_fhddsc3_time_4week_dim.time_tag IN
(:"SYS_B_10",
:"SYS_B_11",
:"SYS_B_12",
:"SYS_B_13",
:"SYS_B_14",
:"SYS_B_15",
:"SYS_B_16",
:"SYS_B_17",
:"SYS_B_18",
:"SYS_B_19",
:"SYS_B_20",
:"SYS_B_21",
:"SYS_B_22",
:"SYS_B_23",
:"SYS_B_24",
:"SYS_B_25",
:"SYS_B_26",
:"SYS_B_27",
:"SYS_B_28",
:"SYS_B_29",
:"SYS_B_30",
:"SYS_B_31",
:"SYS_B_32",
:"SYS_B_33",
:"SYS_B_34",
:"SYS_B_35",
:"SYS_B_36"
The execution plan shows a full table scan on T_FHDDSC3_FACT_DATA_4WEEK.
The index is the primary key of the table containing PROD_KEY, GEOG_KEY and TIME_KEY.
Why is Oracle 9i ignoring index hints?
I came across the same problem some months ago, when we migrated one database from 8i to 9i. After that an INDEX_ASC hint was suddenly ignored. We used an index + and INDEX_ASC hint to sort a hierarchical query.
We had to change the algorithmn and use a Database function to get it sorted right. This is painfull and slow.
Any ideas?
KaiKai,
Remember a hint is just that, a hint to the optimizer, it does not override the execution plan created by the optimizer. Possibilities are that the statistics in the database are out of date, which will affect the Cost based optimizer. Indexes on views are tricky as they would rely on the indexes on the underlying tables.
Few AskTom links which may help:
http://asktom.oracle.com/pls/ask/f?p=4950:8:1705043::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:313416745628,%7Bhint%7D%20and%20%7Bindex%7D
http://asktom.oracle.com/pls/ask/f?p=4950:8:1705043::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:641623836427,%7Bhint%7D%20and%20%7Bindex%7D
http://asktom.oracle.com/pls/ask/f?p=4950:8:1705043::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:1197786003246,%7Bhint%7D%20and%20%7Bindex%7D
Sometimes the full scan can be quicker, than the index depending on the query.
Regds
Dave -
How to mounted oracle database automatically in oracle version 8.1.7?
i want to know,how to mounted oracle database automatically in oracle version 8.1.7?
Does this mean you are not using the WIndows operating system, or you doi not want to do this 'manually' using some point and click method?
If this means, "do it automatically for reboots" and you are using the Windows OS, you need to set up a service and set it to automatic at reboot. Or, again in a Windows environment but at commnand line, use "net start {service name}" - as described in the manual. -
Create automatic indexing( id) in the DB
what snippet should i use to create automatic indexing( id) in the DB ?
like
1
2
3
4
5...
not by count++ but by triggering DB ...how it is done ?what snippet should i use to create automatic
indexing( id) in the DB ?
like
1
2
3
4
5...
not by count++ but by triggering DB ...how it is done
?Depends on the database. Some databases have SEQUENCE types, which you manipulate via SQL statements; others have IDENTITY or AUTOINCREMENT (?)types of field attributes, which automatically increment when you insert a row. -
VBA script for automatically indexing topics
A big disadvantage with InDesign's indexing system is that you cannot automatically index all occurences of topics currently in the index.
Instead, you have to find an occurence of each topic in the document itself and go to the Index menus and then click New Page Reference...Add All, for each index topic individually.
To get around this, I have been trying to produce a VBA script to automatically index all occurrences in a document of the topics currently in the document index.
I have been using the MS Excel VBA development environment but find the definitions of the object model in the Excel VBA browser rather inadequate and ambiguous .
Is there a more thorough reference work for these?
The plan was to start by taking each individual topic in the index which I tried to access with something along the lines of:
MyDocument.Index.Topic(1)
This hasn't worked.
The plan then was to take each index topic and use it to find an occurence in the document of that topic and then use that occurence to invoke the New Page Reference...Add All option to index all occcurences of that selected term, using something like:
MyDocument.PageReferences.Add
Again, without success.
Any guidance or suggestions would be appreciated.Dear Peter,
Many thanks for your posting, that was very helpful.
This is the state of the script so far (I have added a large number of MsgBox entries - these aren't needed, they are just for debugging purposes during development):
'VBA script which tries to work through all of the topics in the index and automatically index each occurence of them in the current text frame:
main
Function main()
Set MyInDesign = CreateObject("InDesign.Application.CS4")
If MyInDesign.Documents.Count > 0 Then
Set MyDocument = MyInDesign.ActiveDocument
Set MyPage = MyDocument.Pages.Item(1)
Set MyTextFrame = MyPage.TextFrames.Item(1)
Set MyStory = MyTextFrame.ParentStory
Set MyIndex = MyDocument.Indexes(1)
Set MyTopics = MyIndex.AllTopics
MyIndexesCount = MyDocument.Indexes.Count
MsgBox "Current indexes Count: " & MyIndexesCount
MyIndexTopicsCount = MyTopics.Count
MsgBox "Current index topics Count: " & MyIndexTopicsCount
For i = 1 To MyTopics.Count Step 1 'work through the topics
MyIndexTerm=MyTopics(i)
MsgBox "Current indexes Topic: " & MyIndexTerm
'search for MyIndexTerm :
'Clear Find preferences:
MyInDesign.FindTextPreferences = idNothingEnum.idNothing
'Set up search paramaters:
If MyIndexTerm <> "" Then
MyInDesign.FindTextPreferences.FindWhat = MyIndexTerm
'Set search options:
MyInDesign.FindChangeTextOptions.CaseSensitive = False
MyInDesign.FindChangeTextOptions.IncludeFootnotes = False
MyInDesign.FindChangeTextOptions.IncludeHiddenLayers = False
MyInDesign.FindChangeTextOptions.IncludeLockedLayersForFind = False
MyInDesign.FindChangeTextOptions.IncludeLockedStoriesForFind = False
MyInDesign.FindChangeTextOptions.IncludeMasterPages = False
MyInDesign.FindChangeTextOptions.WholeWord = False
'Search for the string:
Set MyFoundItems = MyDocument.FindText 'this ought to be limited to the Story, not the Document eg MyStory
MsgBox "Found index terms:" & MyFoundItems.Count
For j = MyFoundItems.Count To 1 Step -1
MyTopics(i).PageReferences.Add MyFoundItems(j)
Next
'Clear preference:
MyInDesign.FindTextPreferences = idNothingEnum.idNothing
'Having found it, add page reference:
'MyDocument.PageReferences.Add
Else
MsgBox "No search term specified"
End If
Response=MsgBox ("Continue?", vbYesNo)
If Response = vbNo then
Exit For
End If
Next
'Set up Index options:
MyIndex.IndexOptions.Title = "Index"
MyIndex.IndexOptions(1).TitleStyle="Chapter Head"
MyIndex.IndexOptions(1).ReplaceExistingIndex = True
'Generate the index:
MyIndex.Generate
Else
MsgBox ("Please open a document, select an object, and try again.")
End If
End Function
There are a couple of problem areas still:
1. Index terms appear to be added irrespective of whether or not that particular page reference already exists in the index.
This can result in duplicate page references under each topic - especially if the script is run several times.
Is there any way of avoiding these duplicate references?
2. I haven't yet suceeded in getting the script to generate the index - so far I've had to do it manually after the script has run.
The problem lies somewhere in the code to set up the index options and then generate the index.
3. It might be useful to be able to limit the indexing to the curent story rather than the whole document - but I haven't yet got it to do that.
Best wishes. -
Error in Oracle Exadata Essentials Exam - (1Z0-536)
I recently took the Oracle Exadata Essentials Exam. There is an error in one of the questions where you are asked to pick two correct answers yet three of the answers are correct. If the owner/maintainer of the exam would like to contact me at [email protected] I'll let you know which question it was.
Thanks,
RichRichS wrote:
I recently took the Oracle Exadata Essentials Exam. There is an error in one of the questions where you are asked to pick two correct answers yet three of the answers are correct. If the owner/maintainer of the exam would like to contact me at [email protected] I'll let you know which question it was.
Thanks,
RichProably best to raise a http://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP rather than have the old email address harvested by the bots on the www.
... It is possible to find the odd question that is 'iffy' ... probably on 7 times out of 8 on careful reading the exam is right ... probably on 10% of time the canididate is right. The old prometric tests used to have a get out clause by choing the 'best' answer.
On beta exams there is a feedback button ... i dont think that is the case with production exams currently at pearson. Even if there is it counts against exam time doing feedback .. -
Oracle Exadata Vs Oracle database machine
Hi,
I would like to know the difference between Oracle exadata and Oracle database machine. From Oracle website I can find both are used high volume database applications.
Can somebody help.
Thanks
Rajeshuser12122325 wrote:
Hi,
I would like to know the difference between Oracle exadata and Oracle database machine. From Oracle website I can find both are used high volume database applications.I amnot sure that how come you missed the pages of both machines? Anways, ORacle EXadata(version1)was for DWH applications while Exadata Version2, The Database Machine is for OLTP systems.
[Sun Oracle Database Machine|http://www.oracle.com/database/database-machine.html]
[Oracle Exadata|http://www.oracle.com/database/exadata.html]
HTH
Aman.... -
Need details abt the Oracle Exadata
Hi All,
I am basically for oracle DBA experience, and now i am willing to learn the oracle Exadata and do the certification in it?
Can someone please tell whether will it be useful to my career wise ?
Is there any documentation online available , if yes please provide the link ?
Is there any documentation available for preparing the ceritfication ?
Thanks in advance..
Regards
Vedavathi EHi Exadata is more over a complete solution of hardware, network and database engineered together for better performance and managability. More information you can get it in the below link. Also it works with 11g and some features are exclusive to exadata in 11g which one has to know.
http://en.wikipedia.org/wiki/Oracle_Exadata -
Can Oracle Purchasing automatically import requisitions from oracle project
is there a way whereby,Oracle Projects automatically creates requisitions for goods and services
required without having to enter requisitions manually in oracle purchasing and
assigning project, task, and expenditure type automatically? If it is possible
kindly tell me which modules are involved and kindly send me the setup steps
required in order to be able to do so.Hello
It is possible to interface project based requisitions from Oracle Projects to Procurement. This functionality is part of Project Managment (Projects FP_M). In Projects Management you may setup inbound deliverables on the workplan. A user may then open the deliverables page, select the appropriate deliverable, and from the action menu run the initiate purchasing.
You may want to review Project Management User Guide for details.
Dina -
1Z0-536-ENU Oracle Exadata 11g Essentials
Hi,
Does anybody take this exam [1Z0-536-ENU Oracle Exadata 11g Essentials], I wonder if I can have sample questions for the same.
Thank you,I dont think we have much material for this, but in future we may have some stuff.
Please share good links if any....Thanks in advance. -
Automate index building (acrobat x, win xp): does it work or does it not? I do not find a documentation using index building with windows scheduler. A link or an example would be helful.
Thank you.Kishore
Since you are saying it is DW envrionment, how many of those indexes will be used in your queries. Instead of rebuilding indexes, gathering up to date stats at the end of your batch jobs and before your users query would probably be more benefiical.
Index rebuild may not be beneficial like several experts have mentioned in this forum and their blogs. I think there would be very few cases that would benefit from the index rebuilds and from your situation and from what i understand from the description, it may not benefit
My 2 cents
MSK -
How can I make my Mac automatically index a USB drive?
When I connect a USB drive, it shows up on my desktop, but Finder won't find anything on it because it doesn't get indexed.
I'm running OS X 10.5.8 (9L31a) on an iMac G5 with a PowerPC G5 (3.0) processor.
The drive in question is NTFS, but it also seems like the Mac doesn't index FAT-formatted USB drives if they were formatted on a PC.
Is there any way that automatic indexing could have been turned off? I think the department that had this system before we got it would have turned that off if possible, and I'd like to find out how to turn it back onNo, Spotlight can only index drives formatted as Mac OS Extended
Check in System Preferences/Spotlight/Privacy if external drives have been excluded from a search. -
Hi,
I want to know, exadata database machine is based on SUN hardware or HP hardware?
I see that HP has exclusivity of this technology:
From HP:
http://www.hp.com/hpinfo/newsroom/press/2008/080924xa.html
HP today announced that it is the exclusive systems and integration technology provider for the Oracle® Exadata Storage Server.
From SUN:
http://www.oracle.com/database/exadata.html
Oracle Exadata Storage Servers combine smart storage software from Oracle and industry-standard hardware from Sun to deliver the industry's highest database storage performance
Thank youExadata 1 was HP
Exadata 2 is Sun. -
I hate oracle support - transporting index tablespaces
i exported 9 index tablespaces and ran the import into a database created as a duplicate of the original database (duplicated using RMAN). None of the indexes got created...yes I checked dba_segments.
I am using 9iR2.
Any suggestions?the intent was to bring over the 9 data tablespaces and the 9 index tablespaces using transportable tablespace -- the amount of data here is 2.5+ Tb. we exported the metadata for all 18 tablespaces and then tried to import that metadata to the new instance. the data came over fine but the indexes are non-existent. oracle support says this should have worked, but surprise, it didn't. it will take 72 hours or more to rebuild the indexes if we have to do it manually, which is why we trying to use transport to begin with. just copying all the files over took 20 hours.
oracle says my indexes should be there. anyone else try to do this and what did they do to make it happen? -
Oracle Exadata vs Exalogic Elastic Cloud Infrastructure Plug-ins
Hello,
I'm looking for information/documentation regarding the difference between the Oracle Exadata plug-in vs the Exalogic Elastic Cloud Infrastructure Plug-in. I can find some info on the Elastic Cloud but so far cannot find any
documentation on the required Oracle Exadata plug-in.
SteveHi Steve,
Check out Support note "Oracle Database Machine Monitoring Best Practices (Doc ID 1110675.1)". It has information (and links) related to the Exadata plug-in.
Regards,
- Loc
Maybe you are looking for
-
Smooth transition from Mountain Lion Server to Mavericks Server 3.0!!
After an new OS release that are always complaints about installation and configuration problems. First comers to using any new software tool provide valuable feedback we generally hope will help improve the new product. It's how things have worked s
-
How do I share photo streams between iCloud accounts?
We have two iPhones and iPads with separate icloud accounts. We want to share one Photo Stream but not the other. We share a Mac but don't activate Photo Stream on iPhoto. How do we share the (one) Photo Stream via the iPhone/iPad? Thank you.
-
How to programmatically change style in an ADF table
Hi, I got an ADF table generated form my data controls. But I need to change de style of every cell in my backing bean. I can't really find anything usefull on google, hopefully you guys can provide me with some usefull information.
-
Im searching for a good app to rotate and edit videos I've taken. Im affraid to purchase any of them I get in search. imove and rotate HD came up. I go upon the rating but looking at them it seems the developers of those apps rate them to make th
-
Oracle Timesten Architecture Queries
Hi Gurus We have six number of different physical locations and so want to deploy the telecom application on each locations which using the same data. each Locations is connected with lease lines We want to deploy the Oracle IMDB Solution Oracle Time