How to know Whether Partition is done for Cube or not
Hi All,
I need information regarding Partition of a cube.
a)How do i know the Partition is done or not for Cube
b)On what basis we should make parttion of Cube.
Thanks and Regards,
C.V.
There are several threads on partitioning, so it would be a good start for this question (as with any question) to search the BI forums on "Partitioning" and review thsoe first.
Some basic considerations on partitioning -
- Your DB must support Range partitioning to permit partitioning your InfoCube. The option will be greyed out if it is not available.
- InfoCube must be empty to be partitioned.
- InfoCube can only be partitioned on 0FISCPER or 0CALMONTH. You can define it so that you have a partition for each month/fiscper, or so that each partition will hold a few or several months of data.
- Generally, you would not partition small cubes.
- Thru BW 3.5 Aggregates automatically get partitioned the sme way the InfoCube is partitioned as long as the partitioning characteristic is in the aggregate. In 2004s, I believe you have options as to whether an aggregate gets partitioned or not.
- Partitioning may be done for query performance reasons and data administration. If the queries on the InfoCube regularly run with restrictions/filters on the partitioning characteristic (FISCPER or CALMONTH), the database will "prune" any partitions that do not contain the FISCPER/CALMONTH value(s), so that it does not need to consider them , e.g. most of your users only run a sales query for the current and previous month, but your cube contains 3 years of data. By partitioning on CALMONTH (we'll assume 1 partition / month), the database will exclude all but the two partitions from consideration. This could help query performance a lot. or maybe only a little, depending on a variety of other factors.
Again - it is important that the queries restrict onthe partitioning characteristic to be of any value on query performance. So don't partition on FISCPER if all the queries use CALMONTH for restrictions.
The data adminsitration reason you might partition is to improve selective deletion or archiving time. These processes are capable of using a DB function to Drop the partition, which quickly removes the data from the cube, rather than having to run a resource intensive Delete query. This only happens if you deletion/archiving criteria is set to remove an entire partition of data.
Again - review the other threads on the BI forums on Partitioning. Most questions you have will already have been asked and answered before, and post again on SDN if there is something you still have a question about.
Similar Messages
-
Need table and field to know whether GR was done for PO
Hi gurus,
I want to know whether GR was done for an PO.
Through which table and field I can know it?
regards,
vimalHi
If GR / IR is done for the PO, the PO gets updated in table EKBE - Purchase order history.
If No GR /IR is done then PO will not appear in this table
Thanks & Regards
kishore -
How to find whether MIRO is done for a PO
Hi All,
Is there any indicator attached to POs that indicates whether MIRO is done for that PO?
I mean after PO creation in ME21N -> GR in MIGO -> Excise (if applicable) and -> MIRO... how to find whether MIRO is done for a particular PO?
Helpful tips will be gratefully rewarded...
Regards,
KarthikSee if an entry exist in EKBE for the PO Number and its items.
The complete process though is, to find the GR Quantity for each PO Item and see if it matches with the PO Item quantity.
SELECT EBELN
EBELP
MENGE
LOEKZ
FROM EKPO
INTO TABLE LT_EKPO
WHERE EBELN = P_EBELN.
IF NOT LT_EKPO[] IS INITIAL.
SELECT EBELN
EBELP
MENGE
BEWTP
GJAHR
BELNR
BUZEI
SHKZG
FROM EKBE
INTO TABLE LT_EKBE
FOR ALL ENTRIES IN LT_EKPO
WHERE EBELN = LT_EKPO-EBELN
AND EBELP = LT_EKPO-EBELP
AND VGABE = '1'.
ENDIF.
LOOP AT LT_EKBE.
* Change the sign of the quantity for debit
IF LT_EKBE-SHKZG = C_SHKZG_H.
LT_EKBE-MENGE = -1 * LT_EKBE-MENGE.
ENDIF.
MOVE-CORRESPONDING LT_EKBE TO LT_EKBE_SUM.
COLLECT LT_EKBE_SUM INTO LT_EKBE_SUM.
CLEAR LT_EKBE_SUM.
ENDLOOP.
loop at it_ekpo.
** For each line item, calculate the total GR Quanity
READ TABLE LT_EKBE_SUM WITH KEY EBELN = LT_EKPO-EBELN
EBELP = LT_AWKEY-EBELP.
IF SY-SUBRC = 0.
* If the PO Item Quantity is equal to GR Quantity
IF LT_EKPO-MENGE <= LT_EKBE_SUM-MENGE.
* The PO Item can be considered completed GRed
ENDIF.
ENDIF.
ENDLOOP. -
How to know whether balance carry forward has happened or not
How to know , whether balance carry forward has happened or not for a perticular GL account or for the company code as a whole?
If the account is a balance sheet account, you can merely look at the beginning balance for the same balance sheet account for the beginning of the next fiscal year FS10N. The beginning balance will equal the previous year's ending balance. Since this does not happen automatically, you will know that carry forward has not been done if a balance sheet account has no beginning balance in the following fiscal year.
If you are talking about For P&L GL accounts, you can check the acvitity in the retained earnings accounts to make sure that they have been updated for the P&L activity. You can identify the retained earnings account by looking at the master data for the account in the section "P&L statmt acct type" and pulling up the menu to see the actual retained earnings account number.
You can perform carry foward (GVTR) as many times as you want but normally once it has been ran, any postings to a previous fiscal year are automatically carried forward to the current year after that initial run. -
How to know whether my system is J2EE compliant or not?
How to know whether my system is J2EE compliant or not?
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>java -version
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)Is my box J2EE compliant?Trust me - I've been developing on an XP box for years and Java 1.6 for a good amount of time. This has been using Tomcat, JBoss, and Glassfish (and I try hard to forget about Oracle OC4J). These are application servers that implement part (Tomcat) or all (the rest) of the J2EE specification.
Having said that, you'll want at least 2GB of RAM and a hundred or so megabytes of disk space. Less RAM will work but slowly. A reasonable processor (I'd say at least 1.5GHz or above) will speed development. -
How to know whether a country is in Europe or not?
I want to know <b>whether a country is in EUROPE or not?</b> Pls help me in this regard.
Hi,
If you want to check you can just go to the website
http://europa.eu/abc/european_countries/index_en.htm
and check .
Close the thread if it solves your purpose.
Award Points if it helps.
-Gaurang -
How to know whether a TCode is called directly or not
Hi all,
I have a requirement to create a popup in a standard TCode. This TCode is recorded to BDC and used in another report.
I would like to know how we can check (in code) whether the standard Tcode is being called directly or it is being called by a different program, function module or bdc ...
Thanks,
Khanh
Edited by: Khanh Nguyen on Apr 1, 2010 4:37 PMHi,
It can be checked in the following way:
IF sy-calld IS INITIAL.
ENDIF.
" sy-called is initial if the program is run stand alone. If it called from another program, it is not initial.
Thanks & Regards
Rocky Agarwal -
How to know whether data is being AES crypted or not?
Hi Forum,
I used AES crypting with an initial vector and a SecretKey.
The problem is , for backward compatibility I need to check if the data had been crypted or not?
if not crypted I need to show them in plain readable format instead of decrypting them.
below is my Encryption/Decryption class
public class AesEncryption
private final String CRYPTO_ALGO_= "AES";
Cipher aesCipher_;
// Create an 16-byte initialization vector
private final byte[] initialVector_ = new byte[]{
(byte)0x8E, 0x12, 0x39, (byte)0x9C,
0x07, 0x72, 0x6F, 0x5A,
(byte)0x8E, 0x12, 0x39,(byte)0x9C,
0x07, 0x72, 0x6F, 0x5A
private final SecretKey key_ = new SecretKeySpec(initialVector_, CRYPTO_ALGO_);
public AesEncryption()
* Create a Cipher by specifying the following parameters
* Algorithm name - here it is AES
try
aesCipher_ = Cipher.getInstance(CRYPTO_ALGO_);
catch (NoSuchAlgorithmException e)
e.printStackTrace();
catch (NoSuchPaddingException e)
e.printStackTrace();
public String encryptPassword(String password)
String strEncryptedText ="";
try{
* Initialize the Cipher for Encryption with secret key
aesCipher_.init(Cipher.ENCRYPT_MODE,key_);
* Encrypt the password
byte[] byteDataToEncrypt = password.getBytes();
byte[] byteCipherText = aesCipher_.doFinal(byteDataToEncrypt);
strEncryptedText = new BASE64Encoder().encode(byteCipherText);
catch (InvalidKeyException e)
e.printStackTrace();
catch (BadPaddingException e)
e.printStackTrace();
catch (IllegalBlockSizeException e)
e.printStackTrace();
return strEncryptedText;
public String decryptPassword(String encryptedPassword)
String strDecryptedText = "";
try
* Decrypt the Data
byte[] byteCipherText = new BASE64Decoder().decodeBuffer(encryptedPassword.trim());
aesCipher_.init(Cipher.DECRYPT_MODE,key_,aesCipher_.getParameters());
byte[] byteDecryptedText = aesCipher_.doFinal(byteCipherText);
strDecryptedText = new String(byteDecryptedText);
catch (InvalidKeyException invalidKey)
invalidKey.printStackTrace();
catch (BadPaddingException badPadding)
badPadding.printStackTrace();
catch (IllegalBlockSizeException illegalBlockSize)
illegalBlockSize.printStackTrace();
catch (InvalidAlgorithmParameterException invalidParam)
invalidParam.printStackTrace();
catch (IOException e)
e.printStackTrace();
return strDecryptedText;
} I just want to have a method like boolean isAESEncrypted(String data){ ???? } in my class.
Could anybody give a helping hand for the same?
Many thanks in advance
Edited by: jagabandhu on Sep 16, 2010 10:54 AMjagabandhu wrote:
I do have a choice to store the encrypted data only in 'varchar' format so I have to encrypt and store the password without changing the column data type in the database!
Again many thanks for 'Notes:' these are definitely helpful.
sabre150 wrote:
If you have a choice, then you should add a digest of the cleartext to the ciphertext. ...I fear if I use any MessageDigest , my password will be byte[] instead present String format.Not relevant since you Base64 encode the ciphertext you can also Base64 encode the digest!
for e.g.
[http://gmailassistant.sourceforge.net/src/org/freeshell/zs/common/Encryptor.java.html]
Could you please further guide me if I am in the right track?I thought I had guided you! I have pointed out what I see as the flaws in your code and I think you should use the more normal approach of just using a randomly seeded Message Digest.
>
FYI : I do not need a serious encryption format as per the present requirement. :)That is not serious encryption since it has at least 3 major security flaws.
>
Edited by: jagabandhu on Sep 16, 2010 1:17 PM -
How to know whether my iphone 5 imei replaced or not???
Please help
Where did you get it? In some (not all) countries, it is possible to purchase unlocked phones directly from Apple. Some carriers in some countries sell unlocked phones. Some carriers in some countries offer unlocking of iPhones.
-
What is the logic to know whether the GRN is done for PO or not?
Hi
How to write a code to know whether the GRN is done for PO or not?
Regards
SmithaHi,
Check the Table EKBE
Select <fields> from EKBE
where EBELN = <Po no>
and EBELP = <po item>
and VGBAE = '1'.
if SY-SUBRC eq 0.
GRN Created
else
GRN Not Created
Endif.
Regards
Vinod
Edited by: Vinod Kumar on May 10, 2010 11:42 AM -
How to know whether a vacation rule is set for a user
Hi,
How to know whether a vacation rule is set for a user or not in the BPM process. Can anyone help me in this.
Thanks,In Linux a user has to have read permission on a file to even see that it exists. As a result, if a user (or a group to which they belong) doesn't have read access to the file File.exists() will return false. Windows which doesn't have as tightly controlled access to files will admit that a file exists whether it can be read or not.
PS.
This is proof that I should never answer a question off the top of my head when I haven't had my red bull yet. This is wrong. You will be able to see it if you have read and execute on the directory.
thumps self in head
Message was edited by:
puckstopper31 -
How to know whether the javascript is disabled or not while loading the jsp
Hi,
My query is like how to know whether the javascript is disabled or not while loading the Application main JSP in Mozilla browser.
I want some Java code or JavaScript code.To the point, just let JS fire a specific HTTP request inside the same session.
This can be done in several ways. 1) Create a hidden <img> element and set the `src` attribute so that it will request a (fake) image from the server. The server just have to intercept on this specific request. 2) Fire an ajaxical request and let the server intercept on it. You can use a Filter for this which sets a token in the session scope to inform that the client has JS enabled. -
How to know whether my phone is unlocked or not
how to know whether my iphone is unlocked or not.
You don't know if you bought an unlocked iphone or not?
What did you ask for?
What does your reciept say? -
How to know whether there is any change in a transaction in ic webclient
Hi,
There is one activity screen in the ic web(CRM 5.0). There is two button(Change, Save , Sendnotification) on that screen.
Sendnotification: if i click this button then it will check whether there is any change done using below logic and will send the noti..:
DATA:lv_transaction TYPE REF TO if_bol_transaction_context,
lv_entity TYPE REF TO cl_crm_bol_entity.
lv_transaction = lv_btorder->get_transaction( ).
IF lv_transaction->check_save_needed( ) EQ 'X'.
then save the changes and send notification
ENDIF.
Question:
Now i clicked on the Change button and did some changes.Then saved.
Then again i did some changes, now i clicked on the Sendnotification button.It sent an notification.
Now i again clicked on the Sendnotification(this time i didnt do any changes), it sent the same notification again.
So how to know that actully changes done or not & how to write code if there is no changes?
During debugging , i found that the method check_save_needed always returns 'X' as long as i am in the chage mode of that activity. As a result if i dont do any changes also in the activity and click the button , it sends the notification.
please suggest how to restrict using coding........
Thanks
sudhansuNot solved.
-
How to know whether a method is thread-safe through the java-doc?
In some book, it says that SAXParserFactory.newSAXParser() is thread-safe,but in the java-doc,it doesn't say that.
newSAXParser
public abstract SAXParser newSAXParser()
throws ParserConfigurationException,
SAXExceptionCreates a new instance of a SAXParser using the currently configured factory parameters.
Returns:
A new instance of a SAXParser.
Throws:
ParserConfigurationException - if a parser cannot be created which satisfies the requested configuration.
SAXException - for SAX errors.
I want to know, how to know whether a method is thread-safe?System.out is a PrintStream object. None of the methods there use the synchronized modifier, but if you look in the source code, you will find out it is thread-safe, because it will use synchronized blocks whenever it writes some text.
The source code is in the src.jar file which you can extract.
I didn't find any comments about that PrintStream is thread-safe in the API.
Maybe you are looking for
-
GUID in table key (field name IDHEADR) is not supported
Hi Experts, the above mentioned message (see subject) was displayed after I have tried to generate a maintanace view thorugh se11/ Utilities/ Table Maint. Generator / F6. What is wrong ? How can this problem be solved Regards sas
-
I am working on trying to get LabView to communicate with an Allen-Bradley Compact Logix PLC using the NI Ethernet I/P driver. I am currently getting errors on both system of a CIP Message instruction error and cannot determine if the problem is in
-
Updating RE: License Agreement needs to be accepted, but not an admin
Hi all, I deploy the Java RE to a number of Windows XP clients via wpkg (http://wpkg.org/Java#JRE_without_Java_Quick_Starter_on_32-bit_hosts) because an Java Web Start application named EGVP [1] should be used on the clients. The author of this appli
-
I had problems with my internet connection and I had called sprint. I was told I had to erase all contacts and settings. I backed it up on iTunes now when I went to restore, first I didnt get half of my apps back (had to go re-download them) and now
-
Aggregate Invoicing - Manual billing documents
Hi All, I am working on Aggregate invoicing functionality for the distributor. So far, I have posted the aggr bills (FICA and Billing) tables DFKKTHI / ECROSSREFNO. However this i have managed to do only for Consumption Bills (periodic/interim). I ha