on 03-29-2012 9:52 PM
Hi All
In HANA system there are some per-delivered users such as SYS, SYSTEM _SYS_REPO,_SYS_STATICS.
I understand SYSTEM user is administration user for all administration related activities in HANA via the studio.but I could not understand the importance of _SYS_REPO and _SYS_STATISTICS, in _SYS_REPO under schema privileges all the schemas created needs to be added as a best practice , and I could not find the usage of _SYS_STATISTICS,can any body explain the usage of the users _SYS_REPO and _SYS_STATISTICS.
Thanks
Santosh
Hi there,
_SYS_REPO is there to be used by the designer repository. Basically it's the data store for the designer part of the HANA studio.
_SYS_STATISTICS contains the tables/views to consume the data collected by the statisticserver.
regards,
Lars
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Santosh,
Some points from my side..
1. _sys_repo is having all the information about the developed objects like package, active views, inactive views, etc.
2. _sys_statistics is having all the information regarding the monitoring or mostly admin details like sever memory, tables sizes, etc
Hope it is helpful.
Regards,Neha
I don't fully understand your question here, sorry Santosh.
The data has been put into seperate users/schemas to make sure that they are in their own security and naming context.
The _SYS_STATISTICS user is also used by the statisticsserver itself to gather data.
In general please consider the pre-configured users (SYSTEM, SYS, _SYS_*) as part of the HANA database software. They are not to be used by users, developers or administrators but only serve as 'seeding' setup to facilitate the setup of your own security and authorization scheme.
regards,
Lars
Hi Lars
No Problem,hope the below one would bring clarity on my question.
So these users are defined for internal component usage of HANA not to be touched by any users , now I understand the _SYS_STATSTICS is being used by statistics server , can you site an example for _SYS_REPO where is it being used and which component of HANA is using it .Also all these users updated automatically.suppose if I create a new schema that should be updated under SQL privileges of _SYS_REPO section right ? is it done manually or system updates automatically necessary things for these system users.
Thanks
Santosh
Hello Santosh,
In _sys_repo you will be able to see all the objects that you have been created or other users like package, views etc. the table under the _sys_repo updated automatically.
But if you created a new achema that you need to be add manually in the _sys_repo or SQL priviledge under the auhorization taht will not update automatically.
Hope it is useful.
Regards,neha
Hi Lars
Thanks for that info ,so if the respective schema is not there under_SYS_REPO, the modelling users and reporting users would not be able to view it am I right?
also as I mentioned in earlier post if a new schema is created is it automatically updated under SQL privileges section of _SYS_REPO user or any administration user needs to manually update it.In case if it is automatic updation is it true for all *SYS* users.
Thanks
Santosh
Santosh,
_SYS_REPO is a system user. Its schema is a system schema. You don't touch any of those.
When you create new application schemas in your security context, e.g. under your user, then it's necessary to grant _SYS_REPO the SELECT WITH GRANT privilege on your schema, if you want to build and activate models that read from your schema.
Think of _SYS_REPO as "the activation guy". It takes your models and creates the necessary runtime objects from them (_SYS_BIC schema, several BIMC_*-tables and other places keep these runtime information). Now, after having activated all your models that access data in your schemas, _SYS_REPO wants to give you (and probably other users) read access to the activated models. Part of that is allowing read access to your data.
That's what _SYS_REPO needs the privilege for your schema for. Allowing others the access to your schema.
Since not all schemas in the database will be used in models, there is no automatic assignment of this privilege to _SYS_REPO.
As part of your security strategy you need to actively assing _SYS_REPO the permission to every schema you want to build models on.
Cheers, Lars
Hi Ethan
I don't know which run time objects you are talking about , but if it is about run time objects of respective Attribute,Analytic and calculation Views as said above you can find them under _SYS_BIC schema you can find them under column views section ,they are not under Tables section.
Thanks
Santosh Varada
Hi Santosh
I'm referring @Lars Breddemann answer.
"Think of _SYS_REPO as "the activation guy". It takes your models and creates the necessary runtime objects from them (
_SYS_BIC schema, several BIMC_*-tables and other places keep these runtime information
)"I found those BIMC_* tables that store runtime information actually under _SYS_BI schema instead of _SYS_BIC.
And you are right, activated views were stored in _SYS_BIC/Column views. Sorry to make you confused.
Thanks
Ethan
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.