Maxl query to clear data
HIi guys..
Could you help me with this query: Is there any way to clear all the data in a database using maxl(I am using ASO cube).
Thanks..:)
There you go: http://download.oracle.com/docs/cd/E12825_01/epm.111/esb_techref/maxl_altdb_as.htm
Search for reset in the page.
Cheers,
Mehmet
Similar Messages
-
Clearing data on Database through MAXL script
Hi all,
How can i clear data on the database through maxl script.
I have to clear database based on some conditions like
dimension 1 : all levels
dimension 2 : level 3 only
dimension 3 : level 4 like so.
Please can any one suggest .You can clear data on database using maxl. BUT you can do this only if you want to clear all data from data base.
"alter database <dbs-name> reset" is the maxl command to clear data from database.
If you want to clear data at the dimmensional level you will have to use calculation commands.
More information on this can be find here
Edited by: Nra601 on May 4, 2009 10:10 AM -
Question about MAXCPU and clearing data cache
Hi all,
We're running MaxDB 7.6.03.15 and have following questions. I apologize for not grouping them together with my earlier set of questions along the similar lines.
1. What would be an appropriate value for our application for MAXCPU when running on a quad processor machine. The application consists of the MaxDB along with 4 windows services and an instance of tomcat. Can we use 4 for MAXCPU or does it always need to be something less than the total number of CPUs on the machine (less than 4 here?). Please advise.
2. When we're doing query execution time analysis we need to be able to clear data cache in between query runs. We achieve this so far by simply bringing the database offline and then online again. The problem with this approach is its time consuming and if we do 100 query runs a lot of time is spent in waiting for the database go from online to offline to online again. Please let us know if there's an alternative faster way to achieve the same.
Thanks for your time.
Sincerely,
Sameer> 1. What would be an appropriate value for our application for MAXCPU when running on a quad processor machine. The application consists of the MaxDB along with 4 windows services and an instance of tomcat. Can we use 4 for MAXCPU or does it always need to be something less than the total number of CPUs on the machine (less than 4 here?). Please advise.
Of course you may set MAXCPU to 4 - but you risk that the four Usertask UKTs will use up all CPU resources on your system then.
So it is usually better to be rather defensive with this. If you're unsure about the CPU needs of your other services better try out and check starting with MAXCPU 2.
> 2. When we're doing query execution time analysis we need to be able to clear data cache in between query runs. We achieve this so far by simply bringing the database offline and then online again. The problem with this approach is its time consuming and if we do 100 query runs a lot of time is spent in waiting for the database go from online to offline to online again. Please let us know if there's an alternative faster way to achieve the same.
Well, x_cons pagecache_release should do that for you.
But I never was able to really see the effect of it (e.g. reading the pages in again).
If I'm not mistaken in this point - which is pretty easy because the command is rarely used and sparsely documented - it just moves the pages to the lower end of the lru list and thereby making them candidates for getting moved out of cache but not actually doing it.
However why don't you just use the resource monitor to figure out how many pages are touched by your statements?
Then you don't have to bounce your instance.
regards,
Lars -
Hi
what are the ways available to clear the data in the essbase??
Can u able to reply with the steps??
I am using EAS 7.1.3...
in addition with this can you provide me the maxl command for clearing the data??
Thanks in advance.
BabuWell apparently being able to do this with a magnet is a myth. ^^^Thanks for making me laugh. :)
Babu -- Have you read:
http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_altdb_misc.html
http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/resetdb.html
http://download.oracle.com/docs/cd/E17236_01/epm.1112/eas_help/frameset.htm?cleardat.html
NB -- Despite the later documentation release than what you're running on, the commands should work.
Regards,
Cameron Lackpour -
Getting data in a query on last date of all previous months
Dear Experts,
I need your help with a query.
I am trying to create a query which when run should pick the number of Open Sales Order on the last date of all the previous months from the start of company.
I could create the query for fetching the required data on last day of the previous month, say today is 25th June 2014, so my query only fetches data for May 31st 2014 but I need data for all previous month, May 31st 2014, April 30th 2014, March 31st 2014 & so on.
Please advise how to achieve this is SQL query.
Thanks & regards,
NitinHi,
Try this:
Select *
from(
SELECT T0.[DocNum] as #,t0.cardcode as C, t0.docdate
FROM ORDR T0
WHERE T0.[DocStatus] = 'o' and T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-1,0)),10) OR T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-2,0)),10) or T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-3,0)),10) or T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-4,0)),10) or T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-5,0)),10) or T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-6,0)),10) or T0.[DocDate] = CONVERT(VARCHAR(10), DATEADD(s,-1,DATEADD(mm, DATEDIFF(m,0,getdate())-7,0)),10)
group by t0.cardcode,docdate,T0.[DocNum]) S
pivot
(count(#) for c in([cvt01],[cvt02],[cvt03],[cvt04],[cvt05],[cvt06],[cvt07],[cvt08],[cvt12])) P
Note: Replace Cvt01,02...with your customer code.
Thanks & Regards,
Nagarajan -
POWER QUERY Get External Data From File From Folder (Excel 2013)
Hi,
Beginner's question :
What could be the use of the query on a folder : we just get a list of files with their path. What can we do with that?
ThanksHi,
Do you want to combine data from multiple Excel Files in the same folder path into one table? If I understand correct, we can add a custom column to import the data.
After we getting a list of files with their path, the Query Editor window will activate to show you a table containing a record for each file in the chosen directory. These will provide our function with the needed FilePath and FileName parameters.
Function sample: File name([Folder path],[Field name]
For more detailed steps, please see the article:
http://datapigtechnologies.com/blog/index.php/using-power-query-to-combine-data-from-multiple-excel-files-into-one-table/
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Data driven subscription query returns no data
We have a data driven subscription on SSRS 2008 R2. The columns in the query are tied to one or more parameters of the report. When we run the subscription and if the query does not return any rows, I was hoping that the subscription will not start; however,
instead, to my surprise, I got error stating..."Parameter XYZ value can't be null". How to avoid this error and keep subscription from running in this situation?
Example: I have a report that required employeeID as a parameter. I have a query (step 3: data driven subscription) that fetches employee ID based on some criteria. If there is no row returned by the query; It throws error on report stating "Parameter
EmployeeID can't be null."
Nehal JainHello Nehal -
Try adding a UNION ALL to your parameter dataset query like
UNION ALL SELECT NULL AS EmployeeID , ..
Just check accordingly. I ll revert again based on this , got a priority now.
Happy to help! Thanks. Regards and good Wishes, Deepak. http://deepaksqlmsbusinessintelligence.blogspot.com/ -
Web Analysis Error -- Error while executing query and retrieving data
Regarding Web Analysis:
We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
The error is:
Error while executing query and retrieving data.; nested exception is:
com.hyperion.ap.APException: [1033] Native:
1013033[Thu Oct 22 09:08:17
2009]server name/application name/database name/user name/Error91013033)
ReportWriter exit abnormally
Does anyone have any insight into what is going on?
My version information is:
Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
Web Analysis 9.3.0.0.0.286
Thanks in advance for your help.
DaveWHi,
And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
And if you get any error in checking, see the long message(detail).
With rgds,
Anil Kumar Sharma .P -
Posting date and clearing date different in G/L clearing document
Hi Friends,
While clearing a G/L manually using F-03, the clearing date is entered in the selection screen.
The clearing document which is posted is posted with the posting date same as the clearing date mentioned in the selection screen of F-03.
In what situations can the posting date of a G/l clearing document be different from the clearing date?
Regards,
ShilpiHi,
The Clearing Date in F-03 is actually the Posting date, so in this case the posting date will be same as clearing date. But a clearing document can also be created when you reverse a FI document, in this case the Reversal document will have a clearing date different than posting date. Let me know if this info helps you -
Select query to read data from a view
Hi friends,
We have been using a query to read data from a custom view which used to work perfectly. Now the program sits at that select query forever. We are able to extract same data from se16. Not sure what could be the problem.
Thanks in advance.Dev
Have a look at the Table Index for the tables involved in the View... I think there is some change in the Indexes.. (Add / Remove / Change)
Thanks
Amol Lohade -
Error when executing a query on master data
Hi Friends,
When I execute a query fon Master Data Characteristic infoObject ( 0BPARTNER ) from BEx Analyzer I got the below error. 0BPARTNER contains 15 attributes. I am getting the below error only for this query. Rest all other queries are working good with the same BEx Analyzer.
<b>An error occured in the communication with the BW Server.
Due to this connection has to be closed.</b>
<b>Detailed Description:
The system is configured incorrectly.</b>
Please tell me what could be the problem? How to overcome this?
Thanks,
SasiHi Arun,
Before the execution of query I did that. And it was ' Query is Correct'.
Any more ideas?
Thanks,
Sasi. -
How to clear data in Table Control.
hi! all
How to clear the data in table control.
i have a Table control which displays column A data from the previous screen and allows to enter column B and column C and i have a button CLEAR, when i click CLEAR button the Data displaying in table control has to be cleared. how to do it.
Regards,
NagulanHi,
Loop over the internal table of table control & clear data from table control.
loop at tctab.
clear tctab.
modify tctab.
endloop.
Best regards,
Prashant -
Clear data in ASO 9.3.1.3
how can i clear data for some combination of data
what i ahve done is i run th report script of those combination and then i deleted the values and loaded the data with rul file
is this way or or we have any other way to clear the dataHi,
Be extremely careful if you are doing this..
One way is to make use of calculation script:
FIX(dim1, dim2) /*dim1 & dim2 are those members which form the combination where you donot want the data*/
CLEARBLOCK ALL; /*Clears and removes all blocks*/
ENDFIX;
NOTE:
1. Take backup before executing. Check the number of blocks before and after execution to get fair idea of whats happening.
2. If you use CLEARBLOCK within a FIX command, Essbase clears only the cells within the fixed range, and not the entire block.
3. Choose the FIX members cautiously.
Hope it helps!
Neha
Sorry, this is for BSO only!!
Edited by: NehaGahtori on Mar 26, 2010 5:32 AM -
How to use a query in matrix data retrive
hai everybody
how to use a query in matrix data retrive...
pls ..If u have created a UDT to store the data then U can retrive the data through recordset.
oRecordset.doquery("SQL Statement")
If u have taken the DB Data source to Manipulate then
then type
oMatrix.flushtoDataSource
then
U can retrive the data through DB Data source.
-Manmath -
Using back button to clear data
I have a several JSP pages that help create a report. The first page you choose some options using check boxes. The second page you put those options in a certain order. The last page you choose the data you want to search for and it runs the report. The second and the last pages have a back button. The problem is when you use the back button and change some of your choices the old choices don't always go away. What I need to do is erase the previous choice (which are contained in an array) when the back button is clicked.
One problem is that the array is declared in a different method than the one that determines what happens when the back button is pressed.You can use reset funcyion to clear data on back button.
Cheers
Varun Rathore
Maybe you are looking for
-
Adding PayPal's WS doesn't work
When I try to add PayPal's sandbox Web Service to SJSC via the "Add Web Service" dialog, the Web Service's information is correctly displayed, but when I press the "Add" button, SJSC tells me: "Error occurred while creating the proxy!" This occurs ev
-
ORA-01536: space quota exceeded for tablespace 'SYSTEM'
Hi All, Please help me to understand the below issue. I am trying to create a table as below. Connected as APPS user. SQL>create table test_ts(id number) tablespace APPS_TS_TX_DATA ORA-00604: error occurred at recursive SQL level 1 ORA-01536: space q
-
BPC 7 (Microsoft) installed with incorrect regional settings
Hello experts We have just established that our operating system was installed using the regional setting English (UK) instead of English (US). The symptom we currently have is that in the Report Library we get an error when sorting by date. We hav
-
Need to sync contacts from an old Desktop address book on Bold 9650
Not sure if this is the right forum for this, but here goes! I have a user with a Bold 9650 that has two Desktop address books on their device: - 1 from the old enterprise activation at a previous company that we saved and restored - 1 from the curre
-
Bruce Fraser (http://www.creativepro.com/story/feature/20357-2.html) recommended a three-step sharpening workflow: Input, Creative, and Output. It seems to me that I get good results by sharpening mildly in LR, then going to Photoshop for targeted sh