Re: HANA Statistics server migration
Re: CE_CALC If function
Sytax is: CE_CALC(‘<expr>’,<result_type>) ; ..like your defining an actual calculated column, so you need type...system haveto CAST expressions result into some type.
Example:
CE_CALC(‘”SALES” * :vat_rate’, decimal(10,2)) AS “SALES_VAT”
Hope it helps
Re: System Schemas in HANA
Hi Vivek,
"_SYS_BIC - As explained above all Column Views are stored here". Not only column views, even other activated objects like procedures, table types etc will be stored in BIC.
_sys_rt - It also contains configurations related to table partitioning.
Regards,
Safiyu
Re: How to uninstall UAFL plugin(Lumira Server) on SAP HANA SPS 09
The version of UAFL that was recently released (1.301.0) now contains an "aflundeploy" executable that can be used to uninsall the UAFL plugin.
See SAP Note 2103854 for instructions.
Re: How to uninstall UAFL plugin(Lumira Server) on SAP HANA SPS 09
Thanks Jody,
I have used aflundeploy to uninstall UAFL while installing Lumira 1.22
Regards,
Raj
Re: TABLE_COLUMNS COMPRESSION_TYPE wrong documentation?
NONE is indeed related to all non-column store tables columns, since SAP HANA compresses only column store tables. So NONE would be also present for virtual tables or dynamic tiering tables.
The general TABLES/COLUMNS system views typically contains detail attributes that are only valid for specific table types.
But, sure enough, there's a gap in the documentation on this.
- Lars
HANA does not start: "serviceType mismatch"
Hi all,
When I try to start HANA (rev. 85) the nameserver_alert trace file says "serviceType mismatch" and the daemon trace file says
"
Failed to retrieve HA role for current host from topology, cannot proceed with startup sequence.
Please make sure to properly add additional hosts using addHost/hdbnsutil
"
My system is however single node. It was being used as secondary in a system replication but I deregistered that.
I tried everything I can think of (even restart the server ) but no success.
Anybody with some idea..?
Thanks!
PS. Here is some more outputs from the nameserver_alert trace file:
...
[5937]{-1}[-1/-1] 2015-01-29 19:03:40.616598 e Basis TREXNameServer.cpp(02906) : Process exited due to an error via explicit exit call with exit code 1 , no crash dump will be written
[6721]{-1}[-1/-1] 2015-01-29 19:54:47.453600 e PersistenceLayer PersistenceSystem.cpp(00221) : serviceType mismatch, expected 0 but found 3
[6721]{-1}[-1/-1] 2015-01-29 19:54:50.061142 e Logger LogSegment.cpp(00463) : Found not matching segments prevGUID:7B7BC296-0076-20150129-155700-3540000001 myPrevGUID:
...
Re: HANA does not start: "serviceType mismatch"
Hi Christian, You mentioned it was a secondary HANA instance on a SINGLE HOST SYSTEM before it was deregistered. Can you please the nameserver.ini file under the below path on the Secondary host under: /hana/shared/SID/global/hdb/custom/config [landscape] id = 76183046-abdc-3w24-d230-0000a1109ae7 master = *NODENAME*:30001 idsr = 5413c002-7632-b615-e100-0000b7609b20 You should not see any entries for the Replication ID if it was properly deregistered from the System Replication. It will confirm that the Replication is not causing the issue
Re: HANA parameter setting
For those who can't get it work,
try making different names of input parameters
in a Caller and Called procedure/calc view.
In my case, I was trying to pass my IP_TARGET_CCY
from Parent calc view to Child calc view,
but Child always took its own default value.
Only different naming helped.
Kostia
Re: TABLE_COLUMNS COMPRESSION_TYPE wrong documentation?
Re: SPS09 - statisticserver - regular error in trace: SQLDBC error -10821: Session not connected.
Ok, gut feeling tells me that there is a kind of session timeout kicking out your statistics server session after some time.
I recommend to migrate the statistics server to the embedded statistics service and avoid this problem altogether.
- Lars
Re: Pre-processor failed to start in HANA.
Hello Razal,
was there a *.crashdump.trc file written for the preprocessor crash? Can you please upload it or provide the full error (inlcuding crash-stack) printed to into the trace file?
Best regards,
Michael
Re: hddpool 0% hana box
Hello,
Can you please attach the below output of GPFS filesystem commands:
- to see which fileset is affected: "mmrepquota --block-size G -a"
- to get the (fileset > mountpoint) correspondence : "mmlsfileset sapmntdata"
- to see which disks belong to storage pool hddpool: "mmdf sapmntdata --block-size G"
- to see the state of the disks belonging to hddpool: "mmlsdisk sapmntdata"
Best regards,
Michael gerstmayer
Re: HANA does not start: "serviceType mismatch"
sr_state does not fnd any left over entries for System Replication so we should be clean
Can you try taking a new backup from the source HANA system and recover it on the Secondary system? Looks like the current backup does not work
Re: Shutting down correctly Hana Server SAP Business One
Dear Jacobo,
I found the answer to your question in SAP Note 1969397 on "Troubleshooting Guide for SAP Business One, version for SAP HANA". There it says:
4.1 Question: What commands should I use to restart SAP HANA and the various SAP Business services? And in what sequence?
Solution: Restart the SAP HANA instance and the services in the following order:
- Restart SAP HANA instance as the <sid>adm user (e.g. ndbadm):
- Stop the SAP HANA database: ./HDB stop
- Start the SAP HANA database: ./HDB start
- As a root user:
< 9.0 PL11:
- Restart the server tools (SLD, license, and mailer): /etc/init.d/sapb1servertools restart
- Restart the analytics service as below:
- Stop the service: /etc/init.d/b1ad stop
- Start the service after a few moments to ensure tomcat has been stopped: /etc/init.d/b1ad start
>= 9.0 PL11: Restart the server tools and the analytics server using the same command: /etc/init.d/sapb1servertools restart
What HANA is concerned, instead of "./HDB stop" you could also use the corresponding sapcontrol command:
saposcontrol –nr [Instance Number] –function StartSystem/StopSystem/RestartSystem
However for B1 application specific questions (how to assure that no users are logged on into the system) please reach out to the experts in the SAP Business One SCN forum:
http://scn.sap.com/community/business-one
Best regards,
Michael
Re: Pre-processor failed to start in HANA.
Hi,
please have a look into the daemon log file an search for port binding errors. (trace location)
Br,
Stefan
Re: Downgrade SAP HANA Database
Re: Creating Analytic/Calculation view best practice
Hello Safiyu,
in what kind of requests have you made the observation that analytical views are faster than calculation views? I am just curious because I had the impression that calc. views are much faster.
Especialy if you use the SQLEngine.
Best regards
Patrik
HANA Studio - Available software update site issue
Hi All,
I have followed hana studio update pdf to conifgure HANA Studio for automatic updates.
Tried in both ways --Creating a repository --By specifying the file path, both cases are not successful in updating the studio to latest version.
http://<host>:8080/sap/hana/studio -- is not working
> Created a new delivery unit
> deployed it to use as repository
> restarted HANA Studio
> Tried updating HANA studio using Automatic software update.
file:/sapmnt/shared/SID/hdbstudio_update/repository -- is not working
> enabled automatic udpates
> restarted Hana Studio after this changes
Am I missing anything here?
Regards,
Raj
Message was edited by: Tom Flanagan
Re: Creating Analytic/Calculation view best practice
Venu,
I will suggest to go with calculation view with star join.
You can create calculation view as dimension for these tables: - PROJ,PRPS,SKA1,T001,CEPC,CEPCT
Then you can create calculation view with star join by including transaction table COEP,COSP,COSS as your base. Aggregate, join your data based on your requirement and then simply use above calc dim views in star join node.
Advantages: -
- You need not to define multiple analytical view for each fact table
- SAP is putting lot of effort in enhancing calculation models, so from long term solution perspective this is best choice.
- Star Join works well in terms of performance.
- You can consume this model either in BW as virtual provider or you can push data to BW target through ODP .
Link on how to use Calc view with star join : -
I am currently working on SP8 and these views works really well .
Regards,
Kulwinder