HANA - Support index partitioning?
Dear HANA experts,
Does SAP HANA support index partitioning or not?
There's a presentation from me available here in SCN (Further Playing with SAP HANA ) that explains indexes in the column store in more detail.
Similar Messages
-
IQ 16 - Support index partitioning?
Dear IQ gurues,
My colleagues using Vertica and known (don't no from) that SAP (Sybase) IQ doesn't support index partitioning
Please clarify - Does SAP IQ support index partitioning or not?Think of the FP index as the default data storage mechanism. This is no different than other databases that support partitioning but global indexes only. Not all RDBMS engines support partition based indexes.
I suggest you open a case and ask for a feature enhancement around this. It has been discussed for quite some time and I tell all customers the same thing. A case with a customer use case goes a lot further to getting features like this onto the radar screen of product management and into the product.
Mark -
Hi,
Will HANA support Bulkload like oracle has bulkload and vertica has copy command
Regards,
Manoj.Hello,
.. you can make IMPORT FROM '/<path>/<filename>.ctl' faster by adding WITH THREADS <thread_num> at the end
Yes - I know - there are more options like BATCH - all described in SAP HANA SQL Reference Guide - page 119:
https://service.sap.com/~sapidb/011000358700000604922011
.. but in my understanding it is still INSERT-based command. The bulk loader utilities usually bypass SQL layer as a performance bottle-neck and insert data directly into the data pages or at least directly into table partitions, or using some similar performance-improvement techniques
Aha... you mean Direct Path Load functionality in Oracle:
http://docs.oracle.com/cd/B28359_01/appdev.111/b28395/oci13obn.htm
I am not sure how exactly IMPORT FROM command is coded but following syntax seems to be interesting (also explained in SAP HANA SQL Reference Guide - page 119):
WITH TABLE LOCK
Locks table for fast import into column store tables. If WITHOUT TYPE CHECK option
is specified, then the record is inserted without checking the type of each field.
Probably not as fast as streamed load into data segment but probably best HANA can offer...
Would be interesting to ask SAP for details how exactly this is implemented.
Tomas -
EQG-30281: Unable to detect index partition mode
Hello,
i tried to configure a search index run over a web source with Oracle Secure enterprise Search Server 10.1.8.4. But when the plan is executed the following error occurs:
15:58:47:712 INFO main Cookie support is enabled
15:58:47:712 INFO main Maximum number of cookies = 300
15:58:47:712 INFO main Maximum number of cookies per host = 20
15:58:47:712 INFO main Maximum size of cookie = 4096 bytes
15:58:47:712 INFO main Cache file deletion is disabled
15:58:47:712 INFO main SQL hook ID is "3"
15:58:47:712 INFO main SQL command hook statement is "begin ? := eq_crw.crawler_get_command(?,?,?,?); end;"
15:58:47:712 INFO main SQL response hook statement is "begin ? := eq_crw.crawler_send_response (?,?,?,?,?,?,?,?,?,?,?,?,?); end;"
15:58:47:712 INFO main Crawler launched by schedule "ocbwiki"
15:58:47:712 INFO main Bad title to be replaced = "powerpoint presentation"
15:58:47:712 INFO main Bad title to be replaced = "slide 1"
15:58:47:712 INFO main Zip file processing package is java.util.zip
15:58:47:712 INFO main
15:58:47:712 INFO main =================== Crawling status ===================
15:58:47:712 INFO main Crawling started at 1/11/10 3:58 PM
15:58:54:634 INFO main URL manager connecting to Oracle...
15:58:54:853 INFO main connected
15:58:54:931 INFO main Queue manager connecting to Oracle...
15:58:55:150 INFO main connected
15:58:56:228 ERROR main java.sql.SQLException: ORA-06550: line 1, column 20:
PLS-00302: component 'IS_INDEX_PARTITION_ENABLED' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
15:58:56:244 ERROR main EQG-30281: Unable to detect index partition mode
at oracle.search.crawler.WebCrawler.init(WebCrawler.java:897)
at ImtCrawler.run(ImtCrawler.java:1954)
at ImtCrawler.main(ImtCrawler.java:534)
15:58:56:244 ERROR main EQG-30249: Crawler process aborted
Anyone an idea?
Regards
StefanI believe this error indicates a failure to properly upgrade from 10.1.8.2 to 10.1.8.4. SES has been upgraded but the underlying Oracle Text installation has not for some reason.
If this is a fresh installation, I would suggest dropping the whole thing, reinstalling 10.1.8.2 then upgrading to 10.1.8.4. If it's an installation with lots of sources already crawled, suggest you log an SR with support so they can help you figure out how to recover from this. -
Huge file in one of the search index partition folder
Hi,
I got a very strange situation in my SP farm. I have two index partitions on two WFE servers, each has Index Partition 0 and 1. On one of them, starting yesterday a very huge file grew over 30GB in the Index Partition 0 - Journal folder. I found the same
file in other Journal folder, most of them with less than 100MB.
Anyone has insight on this kind of behavior? Thanks in advance!
Regards,
EdwinHi Edwin,
Please help collect the following information for further troubleshoot:
1.Check the Search Application Topology if the index partition is in normal state.
2.Check the ULS log if there are any errors when the issue happened.
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Regarding Renaming INDEX Partitions
Hi All,
I have the following syntax for renaming table partitions/subpartitions :
ALTER TABLE SMTP_MSG_TRAFFIC_FCT RENAME PARTITION FOR (20100310) TO BASE_FACT_20100310;
ALTER TABLE SMTP_MSG_TRAFFIC_FCT RENAME SUBPARTITION FOR (20100310,19) TO BASE_FACT_20100310_MAILBOX;
I want to do the same thing for renaming the index partitions/subpartitions :
ALTER INDEX SMTP_MSG_TF_FX02_ARR_TM_DIM_ID RENAME PARTITION FOR (20100310) TO BASE_FACT_20100310;
ALTER TABLE SMTP_MSG_TF_FX02_ARR_TM_DIM_ID RENAME SUBPARTITION FOR (20100310,19) TO BASE_FACT_20100310_MAILBOX;
But I get the following error:
SQL> ALTER INDEX SMTP_MSG_TF_FX02_ARR_TM_DIM_ID RENAME PARTITION FOR (20100310) TO BASE_FACT_20100310;
ALTER INDEX SMTP_MSG_TF_FX02_ARR_TM_DIM_ID RENAME PARTITION FOR (20100310) TO BASE_FACT_20100310
ERROR at line 1:
ORA-14006: invalid partition name
Is it possible to rename the partition in this way? Or can I set any parameter that will ensure that when the base table partition name changes, it will also change the index partition name?
Thanks & Regards,
Aniketyes its possible:
SQL>ALTER INDEX index_name RENAME PARTITION index_partiton_name TO new_index_partition;
You are getting error because :
a partition name is expected but not present as you typed,
enter an appropriate partition name, will solve the problem.
Edited by: adnanKaysar on Mar 18, 2010 12:32 PM -
Does SAP HANA supports JCo to call BAPI RFC's and to receive IDocs?
Hi,
We are using a WSO2 ESB to integrate our SAP 4.7 version system with SalesForce.com and as part of this integration we use JCo libraries to receive IDoc's and to execute RFC's from ESB.
This year we are planning to migrate our SAP environment to SAP HANA and wondering if SAP HANA supports the JCo libraries? or is there any changes in the implementation how we use JCo libraries?
Thanks in advance.
Regards,
VenkatBAPI_TRANSACTION_COMMIT doesn't have two import parameter, please check
-
BPC 10.1 - no HANA support
Hi,
we've a BPC 10.1 sandbox and we're facing several problems
#1 no BPC HANA Support
we've changed the setting in the global and enviroment Parameters - see attachement
But when we try to open a an Excel sheet and do some calculations, we get the following dump - see attachement
I haven't found anything on the Internet. There are some enhencements but they don't work for 10.1 only for 10.0
any idea?
ThxYes
We used the "BPC_HANA_MIGRATE_FROM_10" as well -
FileVault2 & no supported helper partition to update
While a workaround for a problem I had fixed the issue, the root cause remains.
I am using FileVault2 full disk encryption. It seems on my system the kernelcache never gets updated after the drive has been encrypted with FileVault. To be exact: The kernelcache on the helper partition 'Recovery HD' never gets updated. The kernelcache in
/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache
gets updated correctly. What's missing is the part to transfer an updated kernelcache to the helper partition. The last lines of output from
kextcache -v 6 -update-volume /
are
Created prelinked kernel //System/Library/Caches/com.apple.kext.caches/Startup/kernelcache.
CSFDE property cache does not need update.
/: no supported helper partitions to update.
So the kernel cache in the encrypted '/' partition is updated, but since there are 'no supported helper partitions to update', the new kernelcache is not copied to the location which is used during boot. At boot, the kernelcache from the helper partition is loaded. Its location is
/Volumes/Recovery\ HD/com.apple.boot.S/System/Library/Caches/com.apple.kext.caches/Startup/kernelc ache
For some reason the helper partition does not seem to be associated with my encrypted root partition. Does anyone know how to associate my helper partition with the encrypted root partition again?
Here is some background about my system and how I installed it:
My Mac has one internal disk. I use it for Time Machine backups only. It is not possible to boot from the internal disk. My system disk is an external SSD connected via USB 3.0.
I installed the system disk by holding CMD-r during boot to get the Mac into Recovery Mode. With Disk Utility I erased the SSD completely, left Disk Utility and installed OS X Mountain Lion 10.8.3. When the installation was finished, I created a temporary admin user and used Migration Assistent to migrate all User accounts and programs from a backup. Then I logged into my user account which Migration Assistent had created, deleted the temporary admin user and activated File Vault. Later, I installed an upgrade for a program that uses a kernel extension. After every boot I got the message, the version of the kernel extension did not match the version of the program. While everything in the encrypted '/' partition had been updated correctly, the kernelcache on the Recovery HD had not. While I can copy the kernelcache to the helper partition manually, I think this a hack and it should happen automatically when the kernelcache is updated in the '/' partition. I am not aware having done somthing that could make Mac OS X loose the association between the '/' partition and the Recovery partition.Yuo can't "undo" the update. Bose support may be your best bet.
-
Database support for partition
Hi all,
what are the databases that support the partition. mine is MSSQL. will it not support for partition? Is that the reason the partition option is diabled.
regards
kiranHi Kiran,
Yes.SAP does not support MS-SQL as of now. As of now only ORACLE, INFORMIX support partitioning.
Check this link:
http://help.sap.com/saphelp_nw04/helpdata/en/33/dc2038aa3bcd23e10000009b38f8cf/content.htm
Bye
Dinesh -
Hi All,
Is it possible to partition the maxvalue index partion created using range index partitioning.>
thats fine , it is possible for table. But is it possible for Index ?
>
Sure - the process is similar.
See the 'split_index_partition' clause of ALTER INDEX in the SQL doc
http://docs.oracle.com/cd/B12037_01/server.101/b10759/statements_1008.htm#i2136094
>
split_index_partition
Use the split_index_partition clause to split a partition of a global range-partitioned index into two partitions, adding a new partition to the index. This clause is not valid for hash-partitioned global indexes. Instead, use the add_hash_index_partition clause.
Splitting a partition marked UNUSABLE results in two partitions, both marked UNUSABLE. You must rebuild the partitions before you can use them.
Splitting a usable partition results in two partitions populated with index data. Both new partitions are usable.
>
And the doc has an example of how to do it.
>
Splitting a Partition: Example
The following statement splits partition p2 of index cost_ix (created in "Creating a Range-Partitioned Global Index: Example") into p2a and p2b:
ALTER INDEX cost_ix
SPLIT PARTITION p2 AT (1500)
INTO ( PARTITION p2a TABLESPACE tbs_01 LOGGING,
PARTITION p2b TABLESPACE tbs_02); -
Data partitioning & Index partitioning
Hi,
I have the following questions about implementing ILM on a existing table consisting of millions of rows and with index partitioning...
1) how can data be partitioned when index partitioning exists?
2) what happens to the indexes when the table data is partitioned (per month)?
3) when the data is partitioned, will the indexes AUTOMATICALLY reorganize according to the data partitions? otherwise, what has to be done to the index partitioning?
Thanks.Hi,
The best way to do this would be to create a new table with the desired partitioning and build a local index on this. If it is possible to take the table offline and recreate all its dependencies manually, then the new table can simply be renamed to the old table. If the table needs to stay online, you may want to look into using online redefinition with dbms_redefinition. Below I have shown a sample of how you could recreate the table and index:
Original definitions -
create table my_test_table (id number, val number);
create index my_test_table_idx
on my_test_table (id)
global partition by range (id)
(partition p1_ind values less than (5),
partition p2_ind values less than (maxvalue));
New definitions -
create table my_test_table_new (id number, val number)
partition by range (id)
(partition p1_tab values less than (5),
partition p2_tab values less than (maxvalue));
create index my_test_table_idx_new
on my_test_table_new (id)
local;
Renaming -
alter table my_test_table rename to my_test_table_old;
alter table my_test_table_new rename to my_test_table;
alter index my_test_table_idx rename to my_test_table_idx_old;
alter index my_test_table_idx_new rename to my_test_table_idx; -
ADD PARTITION시 NEW LOCAL INDEX PARTITION에 관하여
제품 : ORACLE SERVER
작성날짜 : 2004-08-16
ADD PARTITION시 NEW LOCAL INDEX PARTITION에 관하여
==================================================
(※ Oracle Partitioning Option은 8~10g Standard Edition에서는 지원하지 않는다.)
개 요
=======
ALTER TABLE ADD PARTITION을 할 경우 table partition의 경우 table partition,
tablespace, physical storage attribute를 지정할 수 있으나,
local index partition의 경우 관련 syntax를 지원하지 않는다 (8.1.6 현재)
오라클은 자동으로 index partition, tablespace, physical storage attribute를 지정한다.
(ALTER TABLE SPLIT PARTITION도 마찬가지)
new index partition의 이름은 new table partition과 같은 이름이 할당되고,
tablespace, physical storage attribute는 local index에 지정된 default값이 사용되고,
local index에 지정된 default값이 없으면 user의 default tablespace가 사용된다.
그러므로 PARTITION 추가하여 사용하는 경우 index partition 관리에 주의가 요구된다.
다음은 ALTER TABLE ADD PARTITION한 이후에 index partition을 관리하는 예제이다.
예 제
=======
-- Create partition table --
CREATE TABLE tbl_emp (
empno NUMBER,
ename VARCHAR2(20),
job VARCHAR2(20)
PARTITION BY RANGE ( empno ) (
PARTITION pt_tbl_emp01 VALUES LESS THAN( 1000 ) TABLESPACE data_emp01,
PARTITION pt_tbl_emp02 VALUES LESS THAN( 2000 ) TABLESPACE data_emp02,
PARTITION pt_tbl_emp03 VALUES LESS THAN( 3000 ) TABLESPACE data_emp03
-- Create local index --
CREATE INDEX idx_emp ON tbl_emp( empno )
TABLESPACE users --> 여기서 local index default tablespace 지정
LOCAL (
PARTITION pt_idx_emp01 TABLESPACE indx_emp01,
PARTITION pt_idx_emp02 TABLESPACE indx_emp02,
PARTITION pt_idx_emp03 TABLESPACE indx_emp03
-- PK 설정 --
ALTER TABLE tbl_emp ADD CONSTRAINT pk_emp PRIMARY KEY ( empno );
-- Local Index를 PK index로 사용함을 확인 --
SELECT index_name FROM user_indexes WHERE table_name = 'TBL_EMP';
INDEX_NAME
IDX_EMP
DROP INDEX idx_emp
ERROR at line 1:
ORA-02429: cannot drop index used for enforcement of unique/primary key
-- Add partition --
ALTER TABLE tbl_emp
ADD PARTITION pt_tbl_emp04 VALUES LESS THAN( 4000 )
TABLESPACE data_emp04;
-- 추가된 Local index partition의 이름, Tablespace를 확인한다 --
SELECT partition_name, tablespace_name, status
FROM user_ind_partitions
ORDER BY 1;
PARTITION_NAME TABLESPACE_NAME STATUS
PT_IDX_EMP01 INDX_EMP01 USABLE
PT_IDX_EMP02 INDX_EMP02 USABLE
PT_IDX_EMP03 INDX_EMP03 USABLE
PT_TBL_EMP04 USERS USABLE
-- Tablespace는 local index의 default tablespace에 생긴다 --
SELECT index_name, def_tablespace_name
FROM user_part_indexes;
INDEX_NAME DEF_TABLESPACE_NAME
IDX_EMP USERS
--<< Local index partition name 변경 >>--
ALTER INDEX idx_emp
RENAME PARTITION pt_tbl_emp04 TO pt_idx_emp04;
--<< Local index tablespace 변경 >>--
ALTER INDEX idx_emp
REBUILD PARTITION pt_idx_emp04 TABLESPACE indx_emp04;
SELECT partition_name, tablespace_name, status
FROM user_ind_partitions
ORDER BY 1;
-- 변경된 Local index partition의 이름, Tablespace를 확인한다 --
PARTITION_NAME TABLESPACE_NAME STATUS
PT_IDX_EMP01 INDX_EMP01 USABLE
PT_IDX_EMP02 INDX_EMP02 USABLE
PT_IDX_EMP03 INDX_EMP03 USABLE
PT_IDX_EMP04 INDX_EMP04 USABLE
* 다음과 같이 local index의 default tablespace를 변경할 수도 있다.
alter index <indexname>
modify default attributes tablespace <new tablespace name>;>
1. If i drop one partition of a table why all the local indexes(year_1998 ... year_2000) get dropped but year_idx remains in database? I couldn't find index in dba_part_indexes view but i could find only year_idx line in dba_indexes view.
>
After dropping a partition, the row in DBA_PART_INDEXES still exists, so I'm unsure why it does not appear on your system. The index however does not appear in the DBA_INDEXES view before or after the drop partition:
for example
SQL> select owner, index_name from dba_part_indexes where
2 index_name = 'YEAR_IDX';
OWNER INDEX_NAME
APPS YEAR_IDX
SQL> alter table all_facts drop partition year_1999;
Table altered.
SQL> select owner, index_name from dba_part_indexes where
2 index_name = 'YEAR_IDX';
OWNER INDEX_NAME
APPS YEAR_IDX
SQL> select owner, index_name from dba_indexes
2 where index_name = 'YEAR_INDEX';
no rows selected -
Transport SAP HANA/BWA Index to Target
Dear Experts,
I have created SAP HANA/BWA index using t-code RSDDB in DEV system using BEx query. now i want to transport the BWA index to TEST system, but I don't know how?
Already I have transported the BEx query to TEST system.
Please help me to how we will transport the SAP HANA/BWA index to TEST system.
Thanks,
Regards,
Karuppiah NHi Karuppiah,
I am not sure it is possible to transport BWA Index
Analytic Indexes are not integrated in the BW repository and therefore cannot be transported.
"Analytic indexes can be created and filled with (transformed) data quickly. They are intended for ad-hoc scenarios. They can also be created as InfoProviders without reference to InfoObjects. They are therefore not integrated into the metadata repository and cannot be transported. "
Reference: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/209f3aec-09d9-3110-339c-c127409aee06?QuickLink=index&…
Regards,
V Srinivasan -
Loading data to indexed partitioned table
Hi,
My table is partitioned on day wise and index is created on first column (non unique)
is it possible to disable the last partition index disable to increase the speed of data loading to last partition.
create table my_table(sr_no,sr_name,doj)
partitioned on day wise field doj (date of joining).
my table size is very high (1TB) ,OraFighter wrote:
Is it possible to disable only last partition..?
modify_index_partition
Use the modify_index_partition clause to modify the real physical attributes, logging attribute, or storage characteristics of index partition partition or its subpartitions. For a hash-partitioned global index, the only subclause of this clause you can specify is UNUSABLE.
when all else fails Read The Fine Manual
ALTER INDEX
Maybe you are looking for
-
F-51: Balancing field "Profit Center" in line item 001 not filled
Hi, When trying to clear the Vendors using F-51, I'm getting a messages saying:'Balancing field "Profit Center" in line item 001 not filled'. When I simulate I'm able to see the profit centers getting picked up against all the other line items, excep
-
Why can't I access my button click method??
I have had this problem a couple of times now and I do not understand what is happening. Here is what is happening. 1) I have a login menu screen - user logs in OK. 2) User directed to another screen where user selects option 3) User directed to a th
-
What would you suggest as the best set-up for NAS & backup? I want my photos, music, documents etc. on the NAS so I can access media and data on my iPhone and ATV when the MBA is asleep or on the road somewhere. Am confused by all the different posts
-
Blackberry desktop software for balck curve ERROR 1305
I cant get a desktop to syncronize my outlook data (contacts , mails , calendary etc) I ve just get a "loader" but they dont perfom the outlook if i use the CD it give me the error 1305 and dont install the destock i use to have before in other lapto
-
Hi: I am a oracle/developer guy. i am a new for Oracle GoldenGate. I installed goldenGate and weblogic on my machine. Could you please guide me or tell me from where i got good training pdf or vedio for goldengate? i want to make a replication demo o