Performance collection filtering problem
I'm filtering an XMLListCollection by date. The date of the Collection must be > = date today and then a list item, use it as a dataProvider will only display items with a date article > = today.Today I came across a problem where if there is no item matching this criteria, the list opens the voids. Source of confusion. So I added a line after applying the filter to the list to check if the length of the dataProvider property == 0 after filtering. If so, I remove the filter and apply the refresh() method, and now all of the elements are. This seems terribly inefficient and makes the flicker of the list, but I can't think of a way to check the zero items before a filter is applied.
Any ideas on how I could do this effectively?
Try to simply run the e4x expression which is the same as the filter and
audit of its length. Or use instead of a function coming filterFunction
with the XMLList in the first place.
HTH;
Amy
News:gjavn6$7s3$1@forums. Macromedia.com...
> I'm filtering an XMLListCollection by date. At the time of the Collection
> be
> = date today and then a list item, use it as a dataProvider's
> show
> only the items with a date of the article > = today.
>
> Today I came across a problem where if no matching items in this
> criteria,.
> the empty list opens. Source of confusion. So I added a line after the list
> filter
> is applied to check if the length of the dataProvider property == 0 after
> filtering. If so, I remove the filter and apply the refresh() method, and
> now
> all items appear. This seems terribly inefficient and makes the list
> Twinkle, but I cannot think of a method of control of zero points before a
> filter is
> applied.
>
> Any ideas on how I could do this effectively?
>
Tags: Flex
Similar Questions
-
Spectrum of HP X 2 - HID SENSOR COLLECTION driver problem
Hello
I just bougt garage a Ultrabook of spectrum HP X 2/tablet.
Since I already have a Windows 8 N Pro license I installed it on my spectrum X 2.
The question I am now face is that the dirver HID SENSOR COLLECTION is not woking and I can't use my sensors such as: rotation (accelerometer), light sensor, the screen...
I can see this error in Device Manager by double-clicking on the HID COLLECTION of SENSOR:
"
This device cannot start (Code 10).
The process hosting the driver for this device was completed.
"
I have installed all drivers HP of my spectrum HP X 2 page drivers and I also installed all Windows updates.
Can someone please?
Thank you
Mircea
I found a solution for the problem of driver HID sensor Collection.
It seems that the driver uses something Windows Media Framework and because it can not find it on my spectrum X 2 it fails.
This driver problem will happen on all the HP spectrum X 2 who have installed Windows 8.1 Pro N (N is the European version) because there is no Media Feature Pack installed by default.
To fix the driver HID Collection sensor problem, I installed the Media Feature Pack for N and KN here 8.1 Windows versions:
http://www.Microsoft.com/en-US/Download/details.aspx?ID=40744
After the instalation just sensors begin to work.
It is a BIG PROBLEM and HP needs to do something about it!
A big thank you to Wiab of Lenovo Comunity forum for us to share the solution:
Kind regards
Mircea
-
Zoo Tycoon 2 Zookeeper Collection: EULA problem.
I am very crazy :). First Microsoft support doesn't help. And I'm terrible Treaty by agents. OK so the problem is, I can not play my copy quite legitimate to Zoo Tycoon 2 Zookeeper collection unless he tells me "You must accept the EULA to play", just to let you know that I have in fact agreed during the installation for the 100th time. I won this point on an old Microsoft award winning service called 'Club Bing' a few years ago, I could just play wonderful when I got it. It's weird too, this game will play at home of my grandmother without error. But only on my computer, he decided to do this >: (.) And please for the love of God do not give me this link for " http://support.microsoft.com/kb/914313?wa=wsignin1.0 " linking aid is about as useful as a dry skeleton in a gas station. I am a legitimate customer, and I don't have to buy a new game. Best regards, Matthew.
Table of contents on the double thread:
Zoo Tycoon 2 Zookeeper Collection EULA problem.
"Hi, I'm very angry :). First Microsoft support doesn't help. And I'm terrible Treaty by agents. OK so the problem is, I can not play my copy quite legitimate to Zoo Tycoon 2 Zookeeper collection unless he tells me "You must accept the EULA to play", just to let you know that I have in fact agreed during the installation for the 100th time. I won this point on an old Microsoft award winning service called 'Club Bing' a few years ago, I could just play wonderful when I got it. It's weird too, this game will play at home of my grandmother without error. But only on my computer, he decided to do this >: (.) And please for the love of God do not give me this link for " http://support.microsoft.com/kb/914313?wa=wsignin1.0 " linking aid is about as useful as a dry skeleton in a gas station. I am a legitimate customer, and I don't have to buy a new game. Best regards, Matthew. "Hi one who reads this I asked recently this question above me and I clicked on the button"answer"in the email. Just to be clear, he did not really answer, but I still have this problem help is very much appreciated.Hi Matthew,
I imagine the inconvenience that you are experiencing. We are here to help and guide you in the right direction.
Method 1:
I suggest you run the fix it and check if it helps.Diagnose and solve the program installation and uninstallation problems automatically
http://support.Microsoft.com/mats/Program_Install_and_Uninstall
Method 2:
I suggest you try the procedure described in the article and see if it helps.Error message when you install a Microsoft game or a mapping program
http://support.Microsoft.com/kb/258496Note:
(1) when running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost.(2) after the boot minimum troubleshooting step, read the sections "How to reset the computer to start as usual after a clean boot troubleshooting" in the link provided to return the computer to a Normal startup mode.
Hope this information helps. Answer the post with an up-to-date issue report to help you further.
-
Are there known problems of filtering metadata are PSE 7?
I have a few thousands of picture in my collection and want to be able to filter by the camera, on which they were made.
Some of my photos are a compact Panasonic Lumix (I am able to see the data in the exif on shots properties I know are this camera: do = Panasonic, model = DMC - LX2).
However, when I put "find - details ' camera contains"Panasonic", I get only some of the correct pictures. The it's show (about 53) are correct (so no false positives), but I know that there is that much, it's missing. I have found several that have metadata that should be a game and they are certainly not back into research.
I imported this pic in a test catalog and find > details > camera = Panasonic has found.
I suspect that what is stored internally in the PSE catalog is different from what the properties pane is showing under the camera (Exif) data. To correct this:
1. make a new catalog test with the file > catalog > New and import a picture of problem inside. The problem persists?
2. in the main catalog, select the picture of the problem and change > update thumbnail, which causes the PSE to reread the photo metadata in the catalog (except for key words). The problem persists with this pic?
-
Performance of Bluetooth problem
I, two headphones listening separate bluetooth (Jaybird X2s and Airfix Matrix 2) this pair perfectly and work fine with my iPhone 6.
The problem is that when I connect it to my Mac, performance system - audio and video, jump tanks lag mouse, slow individual tasks, etc.
However, I see no increase in the pressure load of the CPU or memory in the activity monitor.
I see no unusual chatter in the Console, only messages I expect:
06/04/16 7:27:50.077 PM blued [26990]: device connected with the address: 44-5e-xx-xx-xx-xx and classOfDevice 0 x 240404 and handle connection 0x000b
06/04/16 7:27:50.405 PM blued [26990]: CoreAudio trigger for you to connect to bluetoothaudiod
06/04/16 7:27:52.000 PM kernel [0]: BTCoex Config setting: enable_2G:1, profile_2g:0, enable_5G:1, profile_5G:0
That said, there are messages that are apparently independent which occur when a Bluetooth audio device is connected and I'm experiencing performance degradation:
06/04/16 7:30:44.809 PM AddressBookSourceSync [27024]:-[ABPerson valueForProperty:com.apple.Messages.FontSize] - unknown property. This warning will be displayed only once by unknown property, by session.
06/04/16 7:30:44.811 PM AddressBookSourceSync [27024]:-[ABPerson valueForProperty:com.apple.Messages.FontColor] - unknown property. This warning will be displayed only once by unknown property, by session.
06/04/16 7:30:44.812 PM AddressBookSourceSync [27024]:-[ABPerson valueForProperty:com.apple.Messages.BalloonColor] - unknown property. This warning will be displayed only once by unknown property, by session.
06/04/16 7:30:44.813 PM AddressBookSourceSync [27024]:-[ABPerson valueForProperty:com.apple.Messages.FontFamily] - unknown property. This warning will be displayed only once by unknown property, by session.
06/04/16 7:30:44.813 PM AddressBookSourceSync [27024]:-[ABPerson valueForProperty:com.apple.Messages.RandomBalloonColor] - unknown property. This warning will be displayed only once by unknown property, by session.
06/04/16 7:30:44.000 PM kernel [0]: sandbox: com.apple.Addres (27025) deny (1) / private/var/run/mDNSResponder network-outgoing
06/04/16 com.apple.AddressBook.InternetAccountsBridge [27025 7:30:44.817 PM]: dnssd_clientstub ConnectToServer: connect()-> no of tests: 1
I contacted the support from Apple via Twitter and they recommended the usual Voodoo PRAM reset, but it was not effective.
Any ideas?
Now, I'm sure that this is caused by low battery on bluetooth devices to 99%.
This is a problem that does not occur on my iPhone (even with a low battery), but the loading devices seems entirely solve the problem. Audio begins to jump and performance degrades again once the battery is less than 40% on the headphones.
Well well... :-/
-
MAC address filtering problem with router DI-624 and printer HP D110
Just got the wireless D110 printer and cannot connect to the wireless router.
I have a D - Link DI - 624 Air Plus Xtreme G 2 .4GHz Wireless Router.
The error message I get from the printer, it's that "address filtering Mac can be activated on your wireless router. This can prevent your HP printer to connect to your network without wire during installation... etc. ".
The D-Link is configured with WPA - PSK security. If I disable all the security the wireless printer is able to connect. I can't connect the printer to the wireless router with WPA - PSK or WEP same active. There is no connection with the electrician the printer and the router.
I have connected the router Admin and have repeatedly confirmed that Mac filtering is turned off by going to Advanced Options > Filters > filters Mac > and choose disabled Mac filters. Where is this setting? Why is not able to connect printer?
In addition, I check the logs on the router and it shows "Wireless PC connected" and "Authentication successful" with a note that has the Mac address of the corresponding hardware address mac hardware of the printer on the wireless network Test report. It seems that the router is to let printing but the printer is not able to communicate for some reason any. It even shows under status > wireless printer is connected.
When I talked to HP, they said to contact the router company and they couldn't help. When I called D-Link, they said technical support is no longer available for the model. I am stuck, can anyone help?
Windows XP, tried the front of the printer and USB connection and using the software.
After a few hours on the phone with the D-Link and HP, the problem has been resolved.
Apparently, even if that Mac filtering is disabled (set to disabled MAC filters), the Mac address had to enter the router to enable all keeping off Mac filter setting. To me he appeared in the counter intuitive to enter the Mac address, while set to disabled the Mac filter so I wasn't that before picking up the phone with HP. Further on this point, the problem is not going away right after adding the mac address, but rather after the reboot of the router, such as the addition of mac address did not effect, without a reboot of the device.
HP has been much more useful than a D-Link on it, although it would be nice for HP to add to their instructions and Test report of wireless network to add the Mac address, just in case. I would have tried this step if it has stated that it is acceptable to add the mac address and keep the mac filters disabled.
-
Performance of computer problem
Hi all
Last month, I found a problem with my laptop. I have a Sony Viao VPCEJ running on Windows 7, Intel Corei5 2.40 GHz.
The question that began to occur more frequently is when I'm videos buffer on the internet or listen to the audio on the internet, either live or recorded after 30 seconds or so of the listening/veiwing my computer media will start to seem his hard face... it will start to freeze and buzzing consistent in tone with the audio and then catch up but this way continues which makes the whole frustrating issue. in some cases, I'm having a problem of crash report where I have to reload the page and it will work normally again for a short period of time until the process begins again. There is no update for adobe flash player 11.8 r800 which I a little printing is where this problem arises from reading the forums and I even completely deleted all the adobe and reinstalled to see if that would solve the problem which he did for nearly 24 hours until I noticed the issue once again.
I also have this problem when you listen just my itunes on my laptop after a while...
I have Norton Anti Virus and made complete and defragmented system checks, etc. using all available options to maintain the performance of my system and no viruses have been detected.
It has gotten to the point where I have tried everything I can think off power and can only ask for all your advisor to help me solve this problem! I appreciate the help.
My apologies if I missed any operating system information that you might need to know that I'm not sure how else to find information without assistance. If the above, you believe that this cannot be a problem with flash/shockwave or adobe then please advise :)
Thank you
Hello Yaqub K,.
I was already running on Firefox and connected to my wireless router.
I tried to see if the problem has continued on Internet Explorer, which he did when viewing media.
I also tried to load in safe mode on and watch media on internet but in safe mode sound/volume is disabled since it was impossible to see if the show and the GAL/skip took place only in safe mode.
Oddly enough I always update my system when I get notification next to my bar of the time and date at the bottom of my screen from Windows Update. I did check to make sure that everything was to date a week before your answer when the problem occurred and he said everything was up to date. However one day after you sent your message to me here, I received a Windows Update notification that there are 6 available updates I performed. I dare say, but since then I have not received all previous media watch an issues and physical memory on Windows Task Manager never descended below 1200 MB. I've noticed that the media always look a problem falls to about 300 MB of free space when the media is lagging and jumps. Why he does this, I don't know.
But it seems that somehow maybe one of Windows Update has hopefully stopped my problem does not happen.
Thanks to all who offered their support and I hope that the question does not return!
-
Filtering problem date to the table QBE filter when it is supported by the POJO data control
@Timo Hahn ADFfan 11.1.1.4 or 11.1.1.7
I have exactly the same problem as described in the discussion archived here unanswered
Definiton vc_temp_1 not found error for the filter of the columns date
I used the sample downloaded 37 here as a model
037. how to build the pagination in the POJO ADF data control
http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html
It is easy to replicate, just to run this sample and try to filter on the date of hire. It takes about 2 minutes to download and run.
sample image 37 running on 11.1.1.7
Here is the stacktrace. Don't know why it's using java.sql.Timestamp. My POJO returns a java.lang.Date
java.lang.IllegalArgumentException: timestamp format must be yyyy-mm-dd hh: mm: [.fffffffff]
at java.sql.Timestamp.valueOf(Timestamp.java:194)
to oracle.jbo.common.JboTypeMapEntries$ 3.convert(JboTypeMapEntries.java:149)
at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)
at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)
at oracle.jbo.common.JboTypeMapEntries.convertValue(JboTypeMapEntries.java:382)
at oracle.jbo.common.OracleTypeMapEntries.convertValue(OracleTypeMapEntries.java:162)
at oracle.jbo.common.JboTypeMap.convertValue(JboTypeMap.java:869)
at oracle.jbo.domain.TypeConvMapEntry.convert(TypeConvMapEntry.java:120)
at oracle.jbo.domain.TypeFactory.get(TypeFactory.java:855)
at oracle.jbo.domain.TypeFactory.getInstance(TypeFactory.java:102)
at oracle.jbo.RowComparator.compareEquals(RowComparator.java:34)
at oracle.jbo.RowValueSupplier.compareValues(RowValueSupplier.java:253)
at oracle.jbo.expr.JIParserNode.evaluate(JIParserNode.java:1274)
at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1099)
at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:911)
at oracle.jbo.RowMatch.rowQualifies(RowMatch.java:187)
at oracle.jbo.server.ViewObjectImpl.rowQualifies(ViewObjectImpl.java:2811)
at oracle.jbo.server.QueryCollection.rowQualifies(QueryCollection.java:3705)
at oracle.jbo.server.QueryCollection.populateRow(QueryCollection.java:3590)
at oracle.jbo.server.QueryCollection.fetch(QueryCollection.java:3387)
at oracle.jbo.server.QueryCollection.sortRows(QueryCollection.java:994)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1184)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:1338)
at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:1256)
at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:1250)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:6809)
at oracle.adf.model.bean.DCBeanDataControl.executeIteratorBinding(DCBeanDataControl.java:948)
at oracle.adf.model.binding.DCIteratorBinding.doExecuteQuery(DCIteratorBinding.java:2177)
at oracle.jbo.uicli.binding.MyIteratorBinding.executeQuery(JUAccessorIteratorDef.java:721)
at oracle.jbo.uicli.binding.JUSearchBindingCustomizer.applyAndExecuteViewCriteria(JUSearchBindingCustomizer.java:607)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:442)
application example will reproduce the problem with no changes
Post edited by: Don Kleppinger confirmed it happens on 11.1.1.7 as well (see image)
I have a work around for this bug to Oracle. I have a version in 037 sample that actually works and that will sort the field date. I'm ready to download a copy to replace the download version that is there if Oracle is listening. The sample was there 5 years ago so it is regrettable that this bug still exists.
That's what I did
create beans with custom queryListener
On the table
change
queryListener = "#{bindings.allEmployeesQuery.processQuery} '"
TO
queryListener = "#{queryListenerBean.processQuery} '"
Add an additional field to the line which is a long value of the Date column. In the queryListener I change the input filter on the value of long type instead of the date value.
I do not display the column containing the value of long (time) in the table, but she must appear in the binding of the tree. (shuttles to the right)
In the listener query
- Read the filter value Date and read the value of time full, clear the value of the filter date
- long time set in the filter
- Run the query by call of the listener of the original request #{bindings.allEmployeesQuery.processQuery}
- Set the date value to the value entered by the user
- erase the value of long type
Here is the code
{} private void processQuery (QueryEvent queryEvent)
Table richeTableau = (RichTable) queryEvent.getComponent ();
FilterableQueryDescriptor filterQD = (FilterableQueryDescriptor) table.getFilterModel ();
Card filterCriteria = filterQD.getFilterCriteria ();
Date dt = (Date) filterCriteria.get ("hireDate");
time of to of subject Date and filter on hireDateLong instead of column hireDate column
containing the value of long type of date instead of the Date
If (dt! = null) {}
TM long = dt.getTime ();
filterCriteria.put ("hireDateLong", tm);
filterCriteria.put ("hireDate", null); This must be null or will not work
}
DCBindingContainer bc = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
Object execBinding = bc.findExecutableBinding ("allEmployeesQuery");
does not perform a cast of the class internal oracle but another technique guided under
does not work with POJO data control
run the filter
(ExecBinding) .processQuery (queryEvent) (FacesCtrlSearchBinding);
This will fail
invokeQueryEventMethodExpression ("#{bindings.allEmployeeesQuery.processQuery}",)
restore the value of the filter if he continues to display in the QBE bar
filterCriteria.put ("hireDate", dt);
filterCriteria.put ("hireDateLong", null);
}
-
CS4 Master Collection installation problems
Hi all
I got an old Mac Book pro, since 2008, who recently had his bloating of the battery upwards and die... No new battery no longer exists for this old model so I had to buy a new Mac Book Pro 15 "." It is running under Yosemite, OS X 10.10.5
Adobe CS4 Master Collection, I bought it in 2008. And I'm trying to re - install on my new computer. I have the original install CD as well as the serial numbers.
But he does not want to install... It blocks a bit during the process of installation at the end of CD 1. It said please insert CD 2 or quitting smoking... When inserting my CD 2, nothing is recognized... and I can't stop the same... I tried to install individual programs off the CDs diffΘrents, its does not work... Also at one point, he worked for individual programs, such as Photoshop and Illustrator and Indesign, (which are the only programs I really need with Adobe Acrobat Pro), but then I met problems with serial number, and programs would not launch...
Please help me, I need these programs... I read that CS4 is no longer compatible with Yosemite? is this true? Why?
What can I do? I don't have thousands to spend on a new program, or in particular a rental program through clouds... Are there discounts for upgrade to the current version? I like Adobe, but it isn't very easy sale to make a program that is not compatible with the current operating systems...
Help, please!
PS: I know not how to use a computer, but not a wiz! as simple as possible
My solution: after inserting the DVD 2 go to Menu > edit > select all
and the installation will run. Repeat this procedure after DVD 3 and 4.
solvedPS. : I also installed Java 6 Download Java for OS X 2015-001
But I don't know if this is really necessary. -
Filtering problem by vm properties obtained using get-display, instead of get - vm
Hello world. I have a script which allows to obtain a certain number of properties different vm through get - view. I would get out the information in different html pages, but encounter problems of filtering.
for example, I have the powerstate for vm I can view by typing $vm.runtime.powerstate, and I would like to filter by only of the virtual machine that are turned on. In the previous scripts, I used where {$_.} PowerState - 'Receiving' eq} to list only power on vm. This doesn't seem to work, and I think that its because previously I got information using get - vm, not get - see.
How can I filter the information that I have so that it shows only powered on vm? using get - vm I could use the following...
$PRDVMTools = $DatacenterTmp | where {$_.} PowerState - eq "Receptor" - and $_. ToolsStatus - don't "toolsOk" - and $_. ToolsStatus - don't "toolsOld"} | Tri-objet
ToolsVersion
$PRDVMTools | ConvertTo-html-property VMName, OS, ToolsStatus, ToolsVersion. Out-file - add $htmlPRDVMTools
I can't work out how to do it using the properties returned by using get - view instead of get - vm
any help would be appreciated more
Thank you
I checked the script more in detail and I found two things that I don't understand:
1. you seem to be an iteration through data centers, hosts, and virtual machines. Why recover you clusters?
2. Why do you have so many properties of the virtual machine in the $row variable, if you save only 6 of them in the HTML file?
I enclose the updated the script I did according to my understanding of what you are trying to do. You can optimize it more if you specify the properties of the specific vm you want to recover with the parameter of Get - view property on line 34.
-
ADF: Columns of the Table filtering problem
Hello
My Version of JDeveloper is 11.1.1.5
I am facing a problem with the filter of the table...
Is it possible to implement the feature of research on filtering only on af:table with panelCollection?
Could someone help me please in this?
I need Research* not only the filtering of the data inside the table with the facet of the columns of the table filter...
Can someone help me with this application?
Many thanks in advance,
Kind regards
Anil
Published by: 977652 on February 17, 2013 19:28
Published by: 977652 on February 17, 2013 19:38You can just type in the filter like '% EBS' field and you will find your file.
Timo
-
Performance-to-many problem (using the model of the FAQ)
After reading "HOW TO: post a request for tuning SQL - model showing statement" I gathered:
I have included some general information at the bottom of the post
The following SQL statement has been identified as a bad performance. It takes ~ 160 seconds to run, but similar (indicated below first statement) SQL statements run in ~ 1 second.
SQL taking 160 seconds:
SQL in ~ 1 second or lessSELECT a.* FROM table_a a INNER JOIN table_a_b ab ON a.id = ab.media_fk WHERE ab.channel_fk IN (7, 1);
Or:... ab.channel_fk IN (7);
The purpose of the SQL is to return lines from table_a associated table_b (not in SQL) through the junction table table_a_b.... ab.channel_fk IN (6, 9, 170, 89);
The version of the database is 10.2.0.4.0
These are the parameters relevant for the optimizer:
Here is the output of the EXPLAIN PLAN of:show parameter optimizer; NAME TYPE VALUE -------------------------------------------------- ----------- ----------------------------------------- optimizer_dynamic_sampling integer 2 optimizer_features_enable string 10.2.0.4 optimizer_index_caching integer 0 optimizer_index_cost_adj integer 100 optimizer_mode string ALL_ROWS optimizer_secure_view_merging boolean TRUE show parameter db_file_multi; NAME TYPE VALUE -------------------------------------------------- ----------- ----------------------------------------- db_file_multiblock_read_count integer 16 show parameter db_block_size; NAME TYPE VALUE -------------------------------------------------- ----------- ----------------------------------------- db_file_multiblock_read_count integer 16 select sname, pname, pval1, pval2 from sys.aux_stats$; SNAME PNAME PVAL1 PVAL2 ------------------------------ ------------------------------ ---------------------- ------------------- SYSSTATS_INFO STATUS COMPLETED SYSSTATS_INFO DSTART 07-18-2006 23:19 SYSSTATS_INFO DSTOP 07-25-2006 23:19 SYSSTATS_INFO FLAGS 0 SYSSTATS_MAIN SREADTIM 5.918 SYSSTATS_MAIN MREADTIM 7.889 SYSSTATS_MAIN CPUSPEED 1383 SYSSTATS_MAIN MBRC 8 SYSSTATS_MAIN MAXTHR 1457152 SYSSTATS_MAIN SLAVETHR -1
For reference, the EXPLAIN PLAN when usingPLAN_TABLE_OUTPUT Plan hash value: 3781163428 ---------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | ---------------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1352K| 771M| | 60042 (3)| 00:05:56 | |* 1 | HASH JOIN | | 1352K| 771M| 27M| 60042 (3)| 00:05:56 | |* 2 | INDEX FAST FULL SCAN| SYS_IOT_TOP_316310 | 1352K| 11M| | 1816 (4)| 00:00:11 | | 3 | TABLE ACCESS FULL | TABLE_A | 2190K| 1230M| | 32357 (4)| 00:03:12 | ---------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 1 - access(""AB"".""MEDIA_FK""=""A"".""ID"") 2 - filter(""AB"".""CHANNEL_FK""=1 OR ""AB"".""CHANNEL_FK""=7) Note ----- - 'PLAN_TABLE' is old version
that runs in ~ 1 second is:... ab.channel_fk IN (6, 9, 170, 89);
Here is the output of SQL * Plus AUTOTRACE, including CALENDAR information:PLAN_TABLE_OUTPUT Plan hash value: 794334170 ---------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | ---------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 143K| 81M| | 58982 (3)| 00:05:50 | |* 1 | HASH JOIN | | 143K| 81M| 2952K| 58982 (3)| 00:05:50 | | 2 | INLIST ITERATOR | | | | | | | |* 3 | INDEX RANGE SCAN| C_M_INDEX | 143K| 1262K| | 1264 (1)| 00:00:08 | | 4 | TABLE ACCESS FULL| TABLE_A | 2190K| 1230M| | 32357 (4)| 00:03:12 | ---------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 1 - access(""AB"".""MEDIA_FK""=""A"".""ID"") 3 - access(""AB"".""CHANNEL_FK""=6 OR ""AB"".""CHANNEL_FK""=9 OR ""AB"".""CHANNEL_FK""=89 OR ""AB"".""CHANNEL_FK""=170) Note ----- - 'PLAN_TABLE' is old version
The TKPROF output for that statement looks like the following:SQL> set autotrace traceonly arraysize 100; SQL> SELECT 2 a.* 3 FROM 4 table_a a 5 INNER JOIN table_a_b ab ON a.id = ab.media_fk 6 WHERE 7 ab.channel_fk IN (7, 1); 1336148 rows selected. Execution Plan ---------------------------------------------------------- Plan hash value: 3781163428 ---------------------------------------------------------------------------------------------------- | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time | ---------------------------------------------------------------------------------------------------- | 0 | SELECT STATEMENT | | 1352K| 771M| | 60042 (3)| 00:05:56 | |* 1 | HASH JOIN | | 1352K| 771M| 27M| 60042 (3)| 00:05:56 | |* 2 | INDEX FAST FULL SCAN| SYS_IOT_TOP_316310 | 1352K| 11M| | 1816 (4)| 00:00:11 | | 3 | TABLE ACCESS FULL | TABLE_A | 2190K| 1230M| | 32357 (4)| 00:03:12 | ---------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 1 - access("AB"."MEDIA_FK"="A"."ID") 2 - filter("AB"."CHANNEL_FK"=1 OR "AB"."CHANNEL_FK"=7) Note ----- - 'PLAN_TABLE' is old version Statistics ---------------------------------------------------------- 10586 recursive calls 0 db block gets 200457 consistent gets 408343 physical reads 0 redo size 498740848 bytes sent via SQL*Net to client 147371 bytes received via SQL*Net from client 13363 SQL*Net roundtrips to/from client 49 sorts (memory) 0 sorts (disk) 1336148 rows processed
DBMS_XPLAN. Output DISPLAY_CURSOR:TKPROF: Release 10.2.0.4.0 - Production on Mon Oct 1 12:23:21 2012 Copyright (c) 1982, 2007, Oracle. All rights reserved. Trace file: ..._ora_4896.trc Sort options: default ******************************************************************************** count = number of times OCI procedure was executed cpu = cpu time in seconds executing elapsed = elapsed time in seconds executing disk = number of physical reads of buffers from disk query = number of buffers gotten for consistent read current = number of buffers gotten in current mode (usually for update) rows = number of rows processed by the fetch or execute call ******************************************************************************** ALTER SYSTEM SET TIMED_STATISTICS = TRUE call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ---------- Parse 1 0.00 0.00 0 0 0 0 Execute 1 0.00 0.03 0 0 0 0 Fetch 0 0.00 0.00 0 0 0 0 ------- ------ -------- ---------- ---------- ---------- ---------- ---------- total 2 0.00 0.03 0 0 0 0 Misses in library cache during parse: 0 Parsing user id: 21 ******************************************************************************** SELECT a.* FROM table_a a INNER JOIN table_a_b ab ON a.id = ab.media_fk WHERE ab.channel_fk IN (7, 1) call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ---------- Parse 1 0.01 0.00 0 0 0 0 Execute 1 0.00 0.00 0 0 0 0 Fetch 2 27.23 163.57 179906 198394 0 16 ------- ------ -------- ---------- ---------- ---------- ---------- ---------- total 4 27.25 163.58 179906 198394 0 16 Misses in library cache during parse: 1 Optimizer mode: ALL_ROWS Parsing user id: 21 ******************************************************************************** OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ---------- Parse 2 0.01 0.00 0 0 0 0 Execute 2 0.00 0.03 0 0 0 0 Fetch 2 27.23 163.57 179906 198394 0 16 ------- ------ -------- ---------- ---------- ---------- ---------- ---------- total 6 27.25 163.62 179906 198394 0 16 Misses in library cache during parse: 1 OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS call count cpu elapsed disk query current rows ------- ------ -------- ---------- ---------- ---------- ---------- ---------- Parse 0 0.00 0.00 0 0 0 0 Execute 0 0.00 0.00 0 0 0 0 Fetch 0 0.00 0.00 0 0 0 0 ------- ------ -------- ---------- ---------- ---------- ---------- ---------- total 0 0.00 0.00 0 0 0 0 Misses in library cache during parse: 0 2 user SQL statements in session. 0 internal SQL statements in session. 2 SQL statements in session. ******************************************************************************** Trace file: ..._ora_4896.trc Trace file compatibility: 10.01.00 Sort options: default 1 session in tracefile. 2 user SQL statements in trace file. 0 internal SQL statements in trace file. 2 SQL statements in trace file. 2 unique SQL statements in trace file. 46 lines in trace file. 187 elapsed seconds in trace file.
Thank you for reading I'm waiting for suggestions to improve the performance of this statement.select * from table(dbms_xplan.display_cursor('474frsqbc1n4d', null, 'ALLSTATS LAST')); PLAN_TABLE_OUTPUT SQL_ID 474frsqbc1n4d, child number 0 ------------------------------------- SELECT /*+ gather_plan_statistics */ c.* FROM table_a c INNER JOIN table_a_b ab ON c.id = ab.media_fk WHERE ab.channel_fk IN (7, 1) Plan hash value: 3781163428 --------------------------------------------------------------------------------------------------------------------------------------------------- | Id | Operation | Name | Starts | E-Rows | A-Rows | A-Time | Buffers | Reads | Writes | OMem | 1Mem | Used-Mem | --------------------------------------------------------------------------------------------------------------------------------------------------- |* 1 | HASH JOIN | | 1 | 1352K| 1050 |00:00:40.93 | 198K| 182K| 209K| 29M| 5266K| 3320K (1)| |* 2 | INDEX FAST FULL SCAN| SYS_IOT_TOP_316310 | 1 | 1352K| 1336K|00:00:01.34 | 10874 | 0 | 0 | | | | | 3 | TABLE ACCESS FULL | TABLE_A | 1 | 2190K| 2267K|00:02:45.56 | 187K| 182K| 0 | | | | --------------------------------------------------------------------------------------------------------------------------------------------------- Predicate Information (identified by operation id): --------------------------------------------------- 1 - access(""AB"".""MEDIA_FK""=""C"".""ID"") 2 - filter((""AB"".""CHANNEL_FK""=1 OR ""AB"".""CHANNEL_FK""=7))
-----
H3. Backgroud
There are many years my company made decided to maintain many-to-many relationships in our database using pipe delimited fields. An example of field value:
Each delimited value refers to a unique "short" code TABLE_B (there is also a real digital foreign key to TABLE_B, which is what I use in the junction table). We are regularly using these columns with the next SQL style:'|ABC|XYZ|VTR|DVD|'
Appropriate indexes have been created over the years to make this process as soon a possible.... WHERE INSTR(pipedcolumn, '|ABC|') > 0 OR INSTR(pipedcolumn, '|XYZ|' > 0 ...
We now have an opportunity to correct some of these errors of design and implementation of junction tables to replace the current field. Before that, we have decided to take a copy of a database to a client with the largest set of records and test. I created a new junction table:
And the analysis on a pipe delimited field, populated by this new table.TABLE_A_B DDL: CREATE TABLE TABLE_A_B ( media_fk NUMBER, channel_fk NUMBER, PRIMARY KEY (media_fk, channel_fk), FOREIGN KEY (media_fk) REFERENCES TABLE_A (ID), FOREIGN KEY (channel_fk) REFERENCES TABLE_B (ID) ) ORGANIZATION INDEX COMPRESS; CREATE INDEX C_M_INDEX ON TABLE_A_B (channel_fk, media_fk) COMPRESS;
I then compared the performance of the following SQL:
When x, y, n are values that occur less frequently in the TABLE_A_B.CHANNEL_FK performance are comparable. However once the frequency of x, y, n increases, performance suffers. Here is a summary of the data CHANNEL_FK in TABLE_A_B:SELECT a.* FROM table_a a INNER JOIN table_a_b ab ON a.id = ab.media_fk WHERE ab.channel_fk IN (x, y, n); -- Can be Many Minutes --vs. SELECT a.* FROM table_a a WHERE INSTR(OWNERS,'|x|') >0 OR INSTR(OWNERS,'|y|') >0 OR INSTR(OWNERS,'|n|') >0; -- About 1 second seemingly regardless
I noticed that whenever I use any combination of values that occur over approximately 800 000 times (i.e. IN (7, 1) = 780741 + 555407 = 1336148) then I get performance problems.--SQL For Summary Data SELECT channel_fk, count(channel_fk) FROM table_a_b GROUP BY channel_fk ORDER BY COUNT(channel_fk) DESC; CHANNEL_FK COUNT(CHANNEL_FK) ---------------------- ---------------------- 7 780741 1 555407 2 422493 3 189493 169 144663 9 79457 6 53051 171 28401 170 19857 49 12603 ...
I find it very difficult to accept that the old pipe delimited fields are a better solution (without taking into account any other than this search criterion!).
Thank you for reading this far. I really look forward to suggestions on how to improve the performance of this statement.
Published by: user1950227 on October 1, 2012 12:06
Table of link renamed in DDL.davebcast wrote:
The following SQL statement has been identified as a bad performance. It takes ~ 160 seconds to run, but similar (indicated below first statement) SQL statements run in ~ 1 second.
Keep in mind that the enforcement timeframe has elapsed is a poor metric to use for benchmarking of SQL. The reason is that the same workload does not mean that the same elapsed execution time.
The workload for example shows a block of 1000 readings. There will be a difference marked by this workload reading data of the slow physical disks, or making this workload by reading data from memory in memory cache. And if it happens to be in memory or on disk is a kind of "random" thing (depends on many environment and factors of execution).
Thus, rather than measure the elapsed time and use it to compare, rather compare actual workloads. A workload of 500 block reading is faster and better than a block of 1000 DSL - despite the fact that a point of elapsed time can show the 500 read being slow (e/s physical) block a block of 1000 to read (e/s logic).
-
Performance monitoring / identify problems
Is there a technique to find and identify database performance problems without accessing the database?
Thank youWell, if you are root on the server, you can connect to the database as SYSDBA using operating system authentication.
Using operating system tools could be potentially useful, but usually in addition to the information in the database, not instead of it. You can see at the level of the operating system, for example, that the machine is constantly using 95% of the available CPU for long periods of time at night so we can conclude that the current processes of charge every night are generally CPU a bottleneck. Short throw material the problem (which may or may not make things better), however, there is no way to know that the problem is that there are a few poor query plans that are causing excessive CPU consumption and no way to fix the problem.
There are a small number of issues of a bad system configuration that you can see in the level of operating system - for example, if you have 4 GB of physical RAM and the database is regularly using 8 GB of RAM and is constantly exchanging. You must Access the database (or at least the settings file) to change the database settings to use less RAM.
Justin
-
Master Collection uninstall problem
Hello
I downloaded and installed the trial version of Adobe Master Collection CS6 some time ago and now I want to uninstall some of its feature that I do not like Flash Cs6, but I ran into a big problem:
When I look in my list of programs (on Windows 7), I no longer see the file Master Collection! So I can't open the unistall program, where I simply select Flash and unistall it!
How can I run the utility manually?
Please help me!
Thank you!
Pierre Romani
You cannot uninstall selectively, so it would be useless, anyway. Run the Creative Suite cleanup tool, delete the files of Adobe, reinstzall with only the opations you need.
Mylenium
-
Adobe creative suite 5.5 master collection install problem.
Can someone suggest a solution to the problems Im having install creative suite 5.5.
I get the following error after installation, is this a faulty drive or something to also get these install errors on my pc both home and work.
My cd rom is my d: drive, it seems that it does not install files
Exit code: 6
-------------------------------------- Summary --------------------------------------
-0 fatal Error (s), 4 (s), 8 WARNING (s)
-Payload: {CFA46C39-C539-4BE9-9364-495003C714AD} standard Adobe 2.0 2.0.0.0.
WARNING: DF029: ARKServiceControl::StartService: standard Service not started or stopped. Current status: Exit Code 0: 0 Service specific exit Code: 0 (Seq 1)
-Payload: {2EE4F060-CEE6-4002-AA8B-91B791541767} Pixel Bender Toolkit 2.6.0.0 -.
WARNING: DF035: file CreateAlias:Icon does not exist in C:\Program Files (x 86) \Adobe\Adobe Utilities - CS5.5\Pixel Bender Toolkit 2.6\windows\pb_app.icofile:\\\C:\PIXELB~1\source\winwood\Staging 0 x 1. BE5583P-1018rea\windows\pb_app.ico42178f80493091e8e552c84a2897e9da68fce32_32_f8049309 1e8e552c84a2897e9da68fce for 2.6.lnk C:\ProgramData\Microsoft\Windows\Start Start Master Collection CS5.5\Adobe Pixel Bender Toolkit icon with target C:\Program Files (x 86) \Adobe\Adobe Utilities - CS5.5\Pixel Bender Toolkit 2.6\Pixel Bender Toolkit.exe (Seq 89)
-Payload: {7202D4A7-F7E6-4e7a-B77D-7B1C4E8B5CA6} Adobe Flash Player 10 ActiveX 10.0.0.0.
ERROR: Error 1722.There is a problem with this Windows Installer package. A program run as part of the Setup did not finish as expected. Contact your provider to support personal or package. Action NewCustomAction1, location: C:\Users\James\AppData\Local\Temp\InstallAX.exe, command: - install activex - msi
ERROR: Install payload MSI failed with the error: - 1603 Fatal error during installation.
MSI error: 1722.There error is a problem with this Windows Installer package. A program run as part of the Setup did not finish as expected. Contact your provider to support personal or package. Action NewCustomAction1, location: C:\Users\James\AppData\Local\Temp\InstallAX.exe, command: - install activex - msi
-Payload: {47CE893F-A0FF-4094-AA16-5209AEA7C7E0} Firefox Plugin CS5.1 6.1.0.0 -.
WARNING: DF012: file/folder does not exist in D:\Adobe CS5_5\payloads\AdobeContribute6.1-FFPlugin\OEM(Seq 32)
-Payload: {208DE3D5-541C-41B0-8595-7A608A6E4306} IE Plugin CS5.1 6.1.0.0 -.
WARNING: DF012: file/folder does not exist in D:\Adobe CS5_5\payloads\AdobeContribute6.1-IEPlugin\OEM(Seq 26)
-Payload: {4A4F91EA-5951-4C5C-B911-027D802817EB} Office Plugin CS5.1 6.1.0.0 -.
WARNING: DF012: file/folder does not exist in D:\Adobe CS5_5\payloads\AdobeContribute6.1-OfficePlugin\OEM(Seq 34)
-Payload: {DD309051-FACF-4A5E-87F1-C57154BB3DE8} Adobe Contribute CS5.1 6.1.0.0 -.
WARNING: DF012: file/folder does not exist in D:\Adobe CS5_5\payloads\AdobeContribute6.1-mul\OEM(Seq 8283)
-Payload: {8DADF070-FE60-4899-8EF0-4242E7702F7D} Adobe Fireworks CS5.1 11.1.0.0 -.
WARNING: DF012: file/folder does not exist in D:\Adobe CS5_5\payloads\AdobeFireworks11.1.0All\OEM(Seq 1215)
-Payload: {1C9D6B02-8B92-4E40-8B22-37D8C95430F0} Adobe Fireworks CS5.1_AdobeFireworks11.1.0en_USLanguagePack 11.1.0.0 -.
WARNING: DF012: file/folder does not exist in D:\Adobe CS5_5\payloads\AdobeFireworks11.1.0en_USLanguagePack\OEM(Seq 74)
ERROR: DW050: the following payload errors were found during the installation:
ERROR: DW050:-Adobe Flash Player ActiveX 10: installation failed
-------------------------------------------------------------------------------------
Hello
I finished downloading the suite on the adobe web site and installed no problem at all.
Must have been a faulty drive.
James
Maybe you are looking for
-
email from Apple asking to restore my ID...
Is - this legitimate or someone just phishing?
-
Hoe ik het leesvenster weer terug squeeze? Said is verdwenen plotseling.
Tot voor kort aan het leesvenster none rechterkant could I van tevoren al kan zien wat van het bericht content is. Says leesvenster is verdwenen en moet ik het bericht openen om het plotseling you zien. Dat is conditioning, bij een afzender five nigh
-
Satellite L650 - won't record discs
Hello I got my Satellite L650 for about 6 weeks with no problems and now the first time I try to burn a cd it does not work. I've tried several programs, but all seem to give me a similar error.I captured the data from the main program I use IMGBurn.
-
I have a windows 2003 server, let me considered the merits of the question, the problem is that I have a lot of viruses and they allowed nothing to install, so I scan the server remotely with awast av and after analysis I have difficulty automaticall
-
taskbar disappear in win vista
Hi, recently I find that my taskbar disappear after that my pc automatically fall asleep, when he wakes up in the task bar is hidden.i am using a new mouse to these days.could it be the reason?