Seemingly Simple
Hello,
I am trying to create a seemingly simple effect in Motion and having some trouble.
I am trying to do a simple zoom out from a "fill screen" (text size fills screen) to a hault and then slow crawl (text fills screen, slams to a smaller size and then slowly crawls backward). This is pretty much a standard title animation seen on various trailers.
The preset behaviors and text animations in Motion aren't getting the result I want, so I decided to keyframe the animation...perhaps a bad idea. In LiveType, it is a simple matter of adding a new effect, and keyframing the scale. Everything stays center and flows well; nobody gets hurt.
In Motion, I've tried keyframing scale and size, both affect the position of the text on the X axis. In order to have the text fill the screen on the first frame, I have to change its position along the X axis. Then, to make sure it is center by the "slam" frame, I have to keyframe the X axis. This sounds so simple and nothing should go wrong, however the X axis sort of "juggles" the text back and forth creating a sort of swoop from one side to the other. Even stranger, the X axis values do not fluctuate, they continue diminish, so I cannot isolate what is creating the swoop (I do have a number of filters, however). This sound familiar to anyone?
I've even tried keyframing the position the whole way, but it doesn't work. Plus, the text is sort of crawling back to the side, favoring the left side of the screen (moving from right to left), not center. I don't have any Motion manuals because I did the Universal upgrade deal, so I am a little lost.
Any help is, of course, greatly appreciated!
Thanks In Advance!
~Athen
It can be rather simple, if you will do your pan and zoom in Still Life, a very inexpensive and capable program, AND then bring that footage into Motion for whatever you want to do with it in special effects, etc. Of course, you must export from Still Life in iMovieHD or QuickTime before coming into Motion. It worked for me. Of course, there may be complications for you, of which I am unaware.
Lucky Man
PBG4 17 Mac OS X (10.4.6)
Similar Messages
-
Making a join seems simple but I can't get it to work
Hi All,
I have 2 tables LUGallery and LUSubGallery, the tables are related by the GalleyID field
LUGallery
Gallery ID
ClientID
GalleryName
5
50
Australia
8
50
Weddings
12
33
Portraits
4
33
Landscapes
LUSubGallery
SubGalleryID
GalleryID
GalleryName
67
5
NSW
68
5
QLD
69
8
Reception
70
8
Location
87
8
Ceromony
97
4
Rain Forest
What I am try to do seems simple but I can't get it to work the way I want it.
I am trying to write a query to display Galleries from the LUGallery tbl that have a Sub Gallery attached to them (ie. It's GalleryID appears in the LUSubGallery tbl)
So the query for the above example would list Australia, Weddings & Landscapes
I have tried to write code both with inner joins and nested queries but just can't get it right,
Any help would be greatly appreciated.
Thanks in advance
KrisI just want to
display the GalleryNames from the LUGallery tbl once
Then you probably do not want include all the extra columns from the LUSubGallery table.
It returns all of the records from both tables that Have
the same GalleryID
That is the way this type of JOIN works. It will return one record for each matched GalleryID. If you only want to display the unique gallery names you can either:
1) Use an EXISTS clause. It will return the distinct records from the main gallery table IF a matching record exists in the LUSubGallery table
--- Not tested ---
SELECT LUGallery.GalleryID,
LUGallery.GalleryName
FROM LUGallery
WHERE EXISTS (
SELECT *
FROM LUSubGallery
WHERE LUGallery.GalleryID = LUSubGallery.GalleryID
http://www.techonthenet.com/sql/exists.php
... OR ....
2) Use the DISTINCT operator to return only the unique combinations of the selected columns. Note: DISTINCT considers all columns in the SELECT list . So if you only want unique galleries, do not include the LUSubGallery columns in the SELECT list.
http://www.w3schools.com/SQl/sql_distinct.asp
Message was edited by: -==cfSearching==- -
Seems simple enough right? Wrong!
Okay hopefully someone on here can help me. I am using Illustrator CS5 and I am working on a document. I'm trying to put a logo on top of another item created by the pen tool. seems simple enough right? Wrong, the software will not let me use object>arrange>bring to front or Cmd ] and cmd [ is there something that i'm doing wrong? I've redrawn the shape and it still won't let me, I've brought in the logo again, it won't let me, i've done a host of other things and it still won't let me put that stupid logo on top of the cloud (what i drew with the pen tool)
Thanks!Not sure what you mean. Why is there more than one layer?
It could be that you intentionally created additional layers. It could be that you unintentionally created additional layers. It could be that you hit Cmd L some day. It could be that you pasted objects while Paste Remembers Layers was turned on. Or something else. -
Seemingly simple, yet annoying reg. expression issue
Hey guys,
Im considerably familiar with the use of regular expressions in Java (and other languages), yet seem to be having a very simple problem.
I wish to match a full stop character occuring after a space in a string, once that space does not occur after a digit.
e.g. "went to the shop . This is another sentence"
The code I'm using is this:
String s = "went to the shop. This is another sentence"
s = s.replaceAll("([^0-9]+)\\s+\\.","$1.");This doesn't seem to work, neither does:
String s = "went to the shop. This is another sentence"
s = s.replaceAll("(\\D+)\\s+\\.","$1.");It seems that there's a problem with the first + symbol, but I'm not sure exactly what the problem is.
Any insights?
Edited by: SuperGrover on Jan 19, 2009 12:35 PMSuperGrover wrote:
The problem seems to occur when there's more than one occurance of the space before a fullstop in the string, so the above code doesn't work for the following string:
"went to the shop . This is another sentence . And another"
It only replaces the final occurance, despite using the replaceAll method.When I tested your pattern (using JRET), it matched both occurrences in the sample string!
The matching was done by repeated invocations of the method [Matcher.find|http://java.sun.com/javase/6/docs/api/java/util/regex/Matcher.html#find()].
Maybe [String.replaceAll|http://java.sun.com/javase/6/docs/api/java/lang/String.html#replaceAll(java.lang.String, java.lang.String)] does something different internally?
Anyway, are you aware that your expression always matches the entire string preceding the space and the dot?
This is probably not really what you are looking for. You may want to try this expression instead, which uses negative lookbehind:
(?<!\d)\s+\.Edited by: McNepp on 20.01.2009 09:47 -
Seemingly simple question regarding safe areas
I can't seem to find a simple fix to this anywhere, though it seems to me like
there should be one.
When I shoot, I compose my shots in camera so that they look the same when played on a TV. Because of the nature of television, some portion is always cut off.
Is there an easy way to size the image down to fit the title safe grid so the entire IMAGE is safe on screen?
Please help me I am freaking out!downtownjunkie wrote:
is there no happy medium for those of us who just want to make one
disc that will play well and will show the proper image on a range
of televisions as well as projector screens?
The use of safe areas is that happy medium.
Because I'm in a verbose mood, let's talk about movies for just a second. If you've ever had the chance to look at a strip of 35mm film, you'll notice that the exposed area isn't actually the same shape as a movie screen. Theatrical features are shown in a variety of aspect ratios, but they're almost always of a shape that's wider than a 35mm frame. Many movies are shot "full frame," meaning the whole 35mm film area is exposed when the camera rolls. Some of these movies are "soft-matted" in the projector at your local cinema; the film print actually has the whole exposed image on it, but it's projected through a rectangular plate that obscures the top and bottom.
(Not all movies are done this way. Some are hard-matted, and some are printed to be shown through anamorphic lenses, and so forth. I'm just drawing an analogy here, so don't harsh my mellow.)
Because you're showing the film through a little piece of metal with a hole cut in it, +no two projections of the same soft-matted spherical-lensed film will ever be framed exactly the same way.+
Not only that, but next time you go to the movies, look really closely at the edges of the screen. Odds are you'll see that the projected image actually spills over slightly, by up to a foot or so. Between soft matting and differences in projection, the extreme edges of a motion-picture frame are basically a no-man's-land. Anything right at the edge of the image is not guaranteed to be visible on the screen.
TV works the same way. Different sets handle overscan different ways. The solution — that happy medium you asked for — is to compose your shots with a "safe area" in mind. As noted above, a lot of cameras will show you safe-area guides right in the viewfinder; use them.
But the dirty little secret is that there are actually two "safe areas." There's "action safe," which is that area of the frame in which you can reasonably expect your audience to see +stuff happening.+ And then there's "title safe," which is the area of the frame which you can reasonably expect won't butt right up against the edge of the screen. That's why when you turn on safe areas in Final Cut, for example, you see two rectangles. The outer one is action safe; the inner one is title safe. On-screen titles, as the name implies, should always be kept entirely inside the title-safe area.
If you have any experience with print at all, consider the area outside action safe to be your "bleed." It's there to ensure that the image extends all the way to the edge of the screen, but you can never be sure precisely where the edge is going to fall.
In this particular case, maybe you should go back and look at your show while asking yourself if it really matters all that much whether what you see on the TV is precisely what you tried to film. Losing a little bit on the sides might offend your artistic sensibilities — that's not sarcasm; we're all here because we have artistic sensibilities — but it really might not make that much difference. -
Seemingly Simple Audio Edits Driving Me Nuts
I have asked about this before, thought I had the proper answer, but alas it would seem not.
After joining audio (in most cases for music transitions) into Connected Storyline, I am often then unable to apply a Transition of perform a Roll Edit because it seems there is a space in there somewhere. I have tried the suggested remedy of Zooming in, using Position Tool to trim both sides of the edit, then deleting the space in between. It was explained the problem invovles sub frames which aren't always visible. Sometimes this works. It seems like there should be a quicker solution (it's especially cumbersome if your edit is otherwise well timed, and you have to re-tweak it once you pull the edges back,) but if it worked consistently I could live with it.
However, far too frequently, the process is not working, and I am redoing it over and over and over again until somehow it manages to take. I can end up spending 5 to 10 minutes on a simple audio edit, and needless to say, this is just unacceptable.
Can anyone tell me a reliable way to deal with this, or suggest what I might be doing wrong or something different I can try, because this is making me crazy. There has got to be an easier way. Any help appreciated.dont think ive ever been able to get cross dissolves on audio to work. I now use FCPX as I would Logic or ProTools and I overlap audio clips and put manual fades on them. Actually its worth the extra work coz the joins are usually better. and you have ore control.
adam -
Make image link to another site. Seems simple, yeah?
I have an image that I want make link (hyperlink) to another website. How do I do it? I tried using the anchor tag, but it still doesn't work. Please help me. /http://empirestuntcom01.businesscatalyst.com/
Very simple .... select the image and type in the Address or paste into the hyperlink tool.
-
Seemingly simple comp question
I'm a little perplexed...
I have a simple black and white image. A white ball moving over a black background. Each frame is of the ball only, as it travels across screen.
I want to take these images and create a trail. I want to take ball at "frame" and comp it over "frame -1" so that the last frame of the sequence shows the ball at every frame of the sequence. A trail. Like footprints.
My plan was to take "ball.1-100#.tif" and create a series called "trail.1-100#.tif". In doing so, I'm trying to comp "ball" over "trail -1", writing out to "trail", and reading in the frame just written for the next output.
It appears to me that Shake does not like this. It appears to work for the first written out frame, but after that I am not getting a trail. I'm just getting a single ball. But if I comp "ball" at frame over "ball -1", I at least get a one frame trail. It just doesn't work when I switch "ball -1" to "trail -1".
Make sense?Sure... I'm retyping, in case I slip in an accidental typo.
This is what I entered directly into the Terminal window:
% set endframe = 100
% set frame = 1
% while ($frame <= $endframe)
while? echo $frame $endframe
while? shake ball.#.tif -over trail.#-1.tif -fo trail.#.tif -t $frame
while? @ frame ++
while? end
The "%" is the default Terminal prompt. The prompt changes from "%" to "while?" when you enter the while loop. So, $frame starts at 1 and increments up to 100, each time running the shake command for that one frame.
My original sequence was ball.1-100#.tif. I then created a single frame of trail, called trail.0000.tif. I did this by duplicating ball.0001.tif and renaming it. I did this because on the first iteration of the command, "ball.0001.tif" wants to comp over "trail.0000.tif" (that's the #-1) and writes out to "trail.0001.tif". At the second iteration, ball.0002.tif comps over trail.0001.tif, which we just wrote out, to create trail.0002.tif, and so on, all of the way up to trail.0100.tif.
Make sense?
I'm a terrible programmer. It took me way too long to figure this one out.
chris
Message was edited by: chris romano -
Seemingly simple question about SLiM...
The SLiM website totes that SLiM supports shutdown, reboot, and optional suspend features, and I see that /etc/slim.conf has settings for the commands, but I can't figure how to use them.
I've tried a bunch of different key combinations, etc, but I feel like I'm missing something obvious. Are these meant to executed from the login screen? If not, how else would they be used?Wow, how simple is that? Even suspend works great...
I've searched all over the net trying to find that info, but of course as soon as you posted the solution, I realized there's probably a man page for slim. Thanks! -
Poor performance and high number of gets on seemingly simple insert/select
Versions & config:
Database : 10.2.0.4.0
Application : Oracle E-Business Suite 11.5.10.2
2 node RAC, IBM AIX 5.3Here's the insert / select which I'm struggling to explain why it's taking 6 seconds, and why it needs to get > 24,000 blocks:
INSERT INTO WF_ITEM_ATTRIBUTE_VALUES ( ITEM_TYPE, ITEM_KEY, NAME, TEXT_VALUE,
NUMBER_VALUE, DATE_VALUE ) SELECT :B1 , :B2 , WIA.NAME, WIA.TEXT_DEFAULT,
WIA.NUMBER_DEFAULT, WIA.DATE_DEFAULT FROM WF_ITEM_ATTRIBUTES WIA WHERE
WIA.ITEM_TYPE = :B1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 4 0
Execute 2 3.44 6.36 2 24297 198 36
Fetch 0 0.00 0.00 0 0 0 0
total 3 3.44 6.36 2 24297 202 36
Misses in library cache during parse: 1
Misses in library cache during execute: 2Also from the tkprof output, the explain plan and waits - virtually zero waits:
Rows Execution Plan
0 INSERT STATEMENT MODE: ALL_ROWS
0 TABLE ACCESS MODE: ANALYZED (BY INDEX ROWID) OF 'WF_ITEM_ATTRIBUTES' (TABLE)
0 INDEX MODE: ANALYZED (RANGE SCAN) OF 'WF_ITEM_ATTRIBUTES_PK' (INDEX (UNIQUE))
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
library cache lock 12 0.00 0.00
gc current block 2-way 14 0.00 0.00
db file sequential read 2 0.01 0.01
row cache lock 24 0.00 0.01
library cache pin 2 0.00 0.00
rdbms ipc reply 1 0.00 0.00
gc cr block 2-way 4 0.00 0.00
gc current grant busy 1 0.00 0.00
********************************************************************************The statement was executed 2 times. I know from slicing up the trc file that :
exe #1 : elapsed = 0.02s, query = 25, current = 47, rows = 11
exe #2 : elapsed = 6.34s, query = 24272, current = 151, rows = 25
If I run just the select portion of the statement, using bind values from exe #2, I get small number of gets (< 10), and < 0.1 secs elapsed.
If I make the insert into an empty, non-partitioned table, I get :
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.01 0.08 0 137 53 25
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.01 0.08 0 137 53 25and same explain plan - using index range scan on WF_Item_Attributes_PK.
This problem is part of testing of a database upgrade and country go-live. On a 10.2.0.3 test system (non-RAC), the same insert/select - using the real WF_Item_Attributes_Value table takes :
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.10 10 27 136 25
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.10 10 27 136 25So I'm struggling to understand why the performance on the 10.2.0.4 RAC system is so much worse for this query, and why it's doing so many gets. Suggestions, thoughts, ideas welcomed.
I've verified system level things - CPUs weren't/aren't max'd out, no significant paging/swapping activity, run queue not long. AWR report for the time period shows nothing unusual.
further info on the objects concerned:
query source table :
WF_Item_Attributes_PK : unique index on Item_Type, Name. Index has 144 blocks, non-partitioned
WF_Item_Attributes tbl : non-partitioned, 160 blocks
insert destination table:
WF_Item_Attribute_Values:
range partitioned on Item_Type, and hash sub-partitioned on Item_Key
both executions of the insert hit the partition with the most data : 127,691 blocks total ; 8 sub-partitions with 15,896 to 16,055 blocks per sub-partition.
WF_Item_Attribute_Values_PK : unique index on columns Item_Type, Item_Key, Name. Range/hash partitioned as per table.
Bind values:
exe #1 : Item_Type (:B1) = OEOH, Item_Key (:B2) = 1048671
exe #2 : Item_Type (:B1) = OEOL, Item_Key (:B2) = 4253168
number of rows in WF_Item_Attribute_Values for Item_Type = OEOH : 1132587
number of rows in WF_Item_Attribute_Values for Item_Type = OEOL : 18763670
The non-RAC 10.2.0.3 test system (clone of Production from last night) has higher row counts for these 2.
thanks and regards
Ivanhi Sven,
Thanks for your input.
1) I guess so, but I haven't lifted the lid to delve inside the form as to which one. I don't think it's the cause though, as I got poor performance running the insert statement with my own value (same statement, using my own bind value).
2) In every execution plan I've seen, checked, re-checked, it uses a range scan on the primary key. It is the most efficient I think, but the source table is small in any case - table 160 blocks, PK index 144 blocks. So I think it's the partitioned destination table that's the problem - but we only see this issue on the 10.2.0.4 pre-production (RAC) system. The 10.2.0.3 (RAC) Production system doesn't have it. This is why it's so puzzling to me - the source table read is fast, and does few gets.
3) table storage details below - the Item_Types being used were 'OEOH' (fast execution) and 'OEOL' (slow execution). Both hit partition WF_ITEM49, hence I've only expanded the subpartition info for that one (there are over 600 sub-partitions).
============= From DBA_Part_Tables : Partition Type / Count =============
PARTITI SUBPART PARTITION_COUNT DEF_TABLESPACE_NAME
RANGE HASH 77 APPS_TS_TX_DATA
1 row selected.
============= From DBA_Tab_Partitions : Partition Names / Tablespaces =============
Partition Name TS Name High Value High Val Len
WF_ITEM1 APPS_TS_TX_DATA 'A1' 4
WF_ITEM2 APPS_TS_TX_DATA 'AM' 4
WF_ITEM3 APPS_TS_TX_DATA 'AP' 4
WF_ITEM47 APPS_TS_TX_DATA 'OB' 4
WF_ITEM48 APPS_TS_TX_DATA 'OE' 4
WF_ITEM49 APPS_TS_TX_DATA 'OF' 4
WF_ITEM50 APPS_TS_TX_DATA 'OK' 4
WF_ITEM75 APPS_TS_TX_DATA 'WI' 4
WF_ITEM76 APPS_TS_TX_DATA 'WS' 4
WF_ITEM77 APPS_TS_TX_DATA MAXVALUE 8
77 rows selected.
============= From dba_part_key_columns : Partition Columns =============
NAME OBJEC Column Name COLUMN_POSITION
WF_ITEM_ATTRIBUTE_VALUES TABLE ITEM_TYPE 1
1 row selected.
PPR1 sql> @q_tabsubpart wf_item_attribute_values WF_ITEM49
============= From DBA_Tab_SubPartitions : SubPartition Names / Tablespaces =============
Partition Name SUBPARTITION_NAME TS Name High Value High Val Len
WF_ITEM49 SYS_SUBP3326 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3328 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3332 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3331 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3330 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3329 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3327 APPS_TS_TX_DATA 0
WF_ITEM49 SYS_SUBP3325 APPS_TS_TX_DATA 0
8 rows selected.
============= From dba_part_key_columns : Partition Columns =============
NAME OBJEC Column Name COLUMN_POSITION
WF_ITEM_ATTRIBUTE_VALUES TABLE ITEM_KEY 1
1 row selected.
from DBA_Segments - just for partition WF_ITEM49 :
Segment Name TSname Partition Name Segment Type BLOCKS Mbytes EXTENTS Next Ext(Mb)
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3332 TblSubPart 16096 125.75 1006 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3331 TblSubPart 16160 126.25 1010 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3330 TblSubPart 16160 126.25 1010 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3329 TblSubPart 16112 125.875 1007 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3328 TblSubPart 16096 125.75 1006 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3327 TblSubPart 16224 126.75 1014 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3326 TblSubPart 16208 126.625 1013 .125
WF_ITEM_ATTRIBUTE_VALUES @TX_DATA SYS_SUBP3325 TblSubPart 16128 126 1008 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3332 IdxSubPart 59424 464.25 3714 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3331 IdxSubPart 59296 463.25 3706 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3330 IdxSubPart 59520 465 3720 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3329 IdxSubPart 59104 461.75 3694 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3328 IdxSubPart 59456 464.5 3716 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3327 IdxSubPart 60016 468.875 3751 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3326 IdxSubPart 59616 465.75 3726 .125
WF_ITEM_ATTRIBUTE_VALUES_PK @TX_IDX SYS_SUBP3325 IdxSubPart 59376 463.875 3711 .125
sum 4726.5
[the @ in the TS Name is my shortcode, as Apps stupidly prefixes every ts with "APPS_TS_"]
The Tablespaces used for all subpartitions are UNIFORM extent mgmt, AUTO segment_space_management ; LOCAL extent mgmt.regards
Ivan -
Seems simple but: want to trannfer purchased music from one Mac to another
On the family iMacG5 have backed up my daughters small library of "purchased" music to a dvd using the "data cd" setting in preferences.
1)can i use this cd to transfer or import to her new MB?
2) is there any danger my ripping data back-ups could be viewed as making and or burning a musin cd, ie maxing out at 7?
thanks
MB and Imac Mac OS X (10.4.7) itune 6got the answer in another part of the forum
-
It's not really an export, but if I have to use LrExport to do it, that's fine.
local settings = {
-- jpeg settings..
-- location settings.
local photos = { catalog:getTargetPhoto() } -- for example
local session = LrExportSession {
photosToExport = photos,
exportSettings = settings,
session:doExportOnCurrent/NewTask() -
i am just trying to save a cropped photo in aperture, can someone help here?
i am just trying to save a cropped photo in aperture, can someone help here?
MacBook Pro with Retina display
How do you want to use the cropped version? Outside Aperture? Then use the menu command "File > Export > Version" and pick an Export preset and select a filname and destination folder.
To use your cropped version in Mail or online use "File > Share".
To use your cropped image version inside Aperture, no saving is necessary. Your edit will be applied without saving.
Regards
Léonie -
Query taking ages...seem simple enough
10.2.0.3.0 Standard ed.
RHEL
1 table, short query with 1 predicate.
1 index : TRANSACTION_IX9 which is a functional index on the column with the function in the where clause. Index is used in the plan see below.
Table has 100+ million rows. stats on table and index up to date.
Takes hours to come back. Plan shows this.
SQL> explain plan for
2 select
3 x1.session_id
4 x1.received_date
5 from transaction_tb x1
where trunc(x1.received_date) < '01-OCT-11'; -- for some reason the date I put in here isnt coming out in the code display on the forum, probably single quotes, anyway its just 01-oct-2011
6
Explained.
set linesize 132
set pagesize 999
SQL> SQL> SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY);
PLAN_TABLE_OUTPUT
Plan hash value: 2633564245
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 17M| 1572M| 1599K (1)| 05:19:51 |
| 1 | TABLE ACCESS BY INDEX ROWID| TRANSACTION_TB | 17M| 1572M| 1599K (1)| 05:19:51 |
|* 2 | INDEX RANGE SCAN | TRANSACTION_IX9 | 17M| | 48162 (1)| 00:09:38 |
Predicate Information (identified by operation id):
2 - access(TRUNC(INTERNAL_FUNCTION("RECEIVED_DATE"))<'01-OCT-11')
14 rows selected.
SQL>Yes I know there are millions of rows returned which is probably (defintely!!) not helping the query, but playing with rows returned via the date range if I shorten the time span to reduce to say 20k rows returned, Im still looking at 15 minues to get them out with the index range scan in the plan staying the same. This shouldnt be to my mind. Any thoughts?
Edited by: deebee_eh on 26-Mar-2012 15:47deebee_eh wrote:
10.2.0.3.0 Standard ed.
RHEL
SQL> explain plan for
2 select
3 x1.session_id
4 x1.received_date
5 from transaction_tb x1
where trunc(x1.received_date) < '01-OCT-11'; -- for some reason the date I put in here isnt coming out in the code display on the forum, probably single quotes, anyway its just 01-oct-2011
Before going to much further, you need to check that the actual execution plan matches the predicted plan.
set serveroutput off
select .... -- your query
select * from table(dbms_xplan.display_cursor);
{code]
You may find that Oracle handles the run-time situation differently. (The appearance of the internal_function() suggests this as a possibility).
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
Author: <b><em><a href="http://www.apress.com/9781430239543">Oracle Core</a></em></b> -
In mail settings, how do I find the window or box to insert the outgoing mail port designation?
I am on 10.7, so Mail interface may look a bit different, but here a couple of screenshots - on the (Preferences) accounts page, look at the bottom for outgoing mail server and then choose Edit:
In the resulting window:
enter the information needed; also click on Advanced and enter any info/port numbers given to you (unless it does it automatically).
Maybe you are looking for
-
Can't access password reset for old apple ID that is not an email
I have songs on my new computer that can only be authorized by my old apple ID. That apple ID is not an email, just an ID name. When I try to reset it by sending an email reset I have no idea where it is going. I have looked in all my old emails/junk
-
Google maps has street view where you can virtually put yourself on the street and move in 360 degrees of rotation and move in any direction to see the address you just looked up as it appears if you were standing in front of it. It used to work in e
-
Activate Direct Posting to G/L Accounts and Material Accounts
under configuration if we tick on "Activate Direct Posting to G/L Accounts and Material Accounts" then what would be the impact? Thanks & Regards Nitin Gupta
-
Activity Type set up for cost center
Hi All , While creating a task list i m getting a message Activity type is not set up for cost center in the year 2008 Message no. CR062 How could i set the activity type for cost center? Plz tell the procedure. regards sunil Edited by: su
-
HT2506 Reviewing long notes on Preview PDF Viewer
How can I click between annotated notes on Preview when there are so many that they are hidden under each other and in the wrong order?