Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"If truth is beauty, how come no one has their hair done in the library?" -- Lily Tomlin


devel / comp.lang.mumps / Yottadb journalling questions

SubjectAuthor
* Yottadb journalling questionskdtop
+* Re: Yottadb journalling questionskdtop
|+- Re: Yottadb journalling questionsOldMster
|`* Re: Yottadb journalling questionsK.S. Bhaskar
| +- Re: Yottadb journalling questionskdtop
| `* Re: Yottadb journalling questionskdtop
|  `* Re: Yottadb journalling questionsK.S. Bhaskar
|   `- Re: Yottadb journalling questionskdtop
`- Re: Yottadb journalling questionsAkabouncue

1
Yottadb journalling questions

<acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=91&group=comp.lang.mumps#91

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:817:: with SMTP id s23mr7071691qks.296.1626036680023; Sun, 11 Jul 2021 13:51:20 -0700 (PDT)
X-Received: by 2002:a9d:4813:: with SMTP id c19mr11624828otf.208.1626036679683; Sun, 11 Jul 2021 13:51:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sun, 11 Jul 2021 13:51:19 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2603:3011:e00:7a00:c971:ab22:8a51:d32a; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 2603:3011:e00:7a00:c971:ab22:8a51:d32a
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
Subject: Yottadb journalling questions
From: kdtop3@gmail.com (kdtop)
Injection-Date: Sun, 11 Jul 2021 20:51:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 33
 by: kdtop - Sun, 11 Jul 2021 20:51 UTC

Hello all,

I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.

I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.

I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).

I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.

I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.

Summary:
-- How to stop journaling for particular globals?

Thanks
Kevin Toppenberg.

Re: Yottadb journalling questions

<bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=92&group=comp.lang.mumps#92

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ac8:7608:: with SMTP id t8mr2528422qtq.246.1626040125094; Sun, 11 Jul 2021 14:48:45 -0700 (PDT)
X-Received: by 2002:a4a:e206:: with SMTP id b6mr32953253oot.16.1626040124701; Sun, 11 Jul 2021 14:48:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sun, 11 Jul 2021 14:48:44 -0700 (PDT)
In-Reply-To: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:3011:e00:7a00:9484:522f:42f8:63d0; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 2603:3011:e00:7a00:9484:522f:42f8:63d0
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: kdtop3@gmail.com (kdtop)
Injection-Date: Sun, 11 Jul 2021 21:48:45 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 41
 by: kdtop - Sun, 11 Jul 2021 21:48 UTC

For my future reference, I found in the AdminOpsGuide that a better way to view the contents of the .mjl file is via the command

mupip journal -extract=-stdout -forward

And after pressing [enter], I am prompted for the name of the journal file.

Kevin

On Sunday, July 11, 2021 at 4:51:20 PM UTC-4, kdtop wrote:
> Hello all,
>
> I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
>
> I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
>
> I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
>
> I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
>
> I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
>
> Summary:
> -- How to stop journaling for particular globals?
>
> Thanks
> Kevin Toppenberg.

Re: Yottadb journalling questions

<37d1205f-2dd4-4843-bc4a-99ebf837e159n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=93&group=comp.lang.mumps#93

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a37:6044:: with SMTP id u65mr21906098qkb.330.1626092336008;
Mon, 12 Jul 2021 05:18:56 -0700 (PDT)
X-Received: by 2002:a4a:5850:: with SMTP id f77mr6202103oob.15.1626092335747;
Mon, 12 Jul 2021 05:18:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 12 Jul 2021 05:18:55 -0700 (PDT)
In-Reply-To: <bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.249.135.41; posting-account=B5cu_goAAACZo0vIvp9ba07OhA0t6wHW
NNTP-Posting-Host: 50.249.135.41
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com> <bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <37d1205f-2dd4-4843-bc4a-99ebf837e159n@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: sires.mark@gmail.com (OldMster)
Injection-Date: Mon, 12 Jul 2021 12:18:56 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: OldMster - Mon, 12 Jul 2021 12:18 UTC

On Sunday, July 11, 2021 at 5:48:45 PM UTC-4, kdtop wrote:
> For my future reference, I found in the AdminOpsGuide that a better way to view the contents of the .mjl file is via the command
>
> mupip journal -extract=-stdout -forward
>
> And after pressing [enter], I am prompted for the name of the journal file.
>
> Kevin
> On Sunday, July 11, 2021 at 4:51:20 PM UTC-4, kdtop wrote:
> > Hello all,
> >
> > I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
> >
> > I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
> >
> > I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
> >
> > I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
> >
> > I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> > It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
> >
> > Summary:
> > -- How to stop journaling for particular globals?
> >
> > Thanks
> > Kevin Toppenberg.
Kevin,
The gritty details are in the admin/ops manual, but the basics are you define a new segment and region for the the globals you don't want journalled, then 'point' the global names at that region in the 'Name' section.
If you can still run GDE on the old GTM system, you should be able to list the old global directory to see how it was done. It hasn't changed unless you are on a very old version of GTM.

Mark

Mark

Re: Yottadb journalling questions

<51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=94&group=comp.lang.mumps#94

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ac8:7608:: with SMTP id t8mr876076qtq.246.1626124904704;
Mon, 12 Jul 2021 14:21:44 -0700 (PDT)
X-Received: by 2002:a4a:a846:: with SMTP id p6mr895958oom.80.1626124904389;
Mon, 12 Jul 2021 14:21:44 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 12 Jul 2021 14:21:44 -0700 (PDT)
In-Reply-To: <bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=108.52.36.105; posting-account=zTPg1AoAAABx_LtAQ3dW6FBnU1dwmSvl
NNTP-Posting-Host: 108.52.36.105
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com> <bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: ksbhaskar@gmail.com (K.S. Bhaskar)
Injection-Date: Mon, 12 Jul 2021 21:21:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: K.S. Bhaskar - Mon, 12 Jul 2021 21:21 UTC

Kevin –

https://docs.yottadb.com/AcculturationGuide/acculturation.html#global-directories-point-to-global-variables shows how a region defines a set of global variables to be mapped to a database file.

Also, instead of typing mupip journal -extract=-stdout -forward and waiting to be prompted for a journal file name, you can type mupip journal -extract=-stdout -forward <journalfilename> all on the command line.

Regards
– Bhaskar

On Sunday, July 11, 2021 at 5:48:45 PM UTC-4, kdtop wrote:
> For my future reference, I found in the AdminOpsGuide that a better way to view the contents of the .mjl file is via the command
>
> mupip journal -extract=-stdout -forward
>
> And after pressing [enter], I am prompted for the name of the journal file.
>
> Kevin
> On Sunday, July 11, 2021 at 4:51:20 PM UTC-4, kdtop wrote:
> > Hello all,
> >
> > I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
> >
> > I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
> >
> > I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
> >
> > I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
> >
> > I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> > It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
> >
> > Summary:
> > -- How to stop journaling for particular globals?
> >
> > Thanks
> > Kevin Toppenberg.

Re: Yottadb journalling questions

<fb5ca8e3-459b-4ef3-afbf-25bfb721bd0cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=95&group=comp.lang.mumps#95

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a37:2d04:: with SMTP id t4mr3627530qkh.160.1626173242921;
Tue, 13 Jul 2021 03:47:22 -0700 (PDT)
X-Received: by 2002:a9d:5506:: with SMTP id l6mr3174115oth.176.1626173242701;
Tue, 13 Jul 2021 03:47:22 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Tue, 13 Jul 2021 03:47:22 -0700 (PDT)
In-Reply-To: <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:3011:e00:7a00:e009:12ea:a07e:2518;
posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 2603:3011:e00:7a00:e009:12ea:a07e:2518
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
<bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com> <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <fb5ca8e3-459b-4ef3-afbf-25bfb721bd0cn@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: kdtop3@gmail.com (kdtop)
Injection-Date: Tue, 13 Jul 2021 10:47:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: kdtop - Tue, 13 Jul 2021 10:47 UTC

Bhaskar,

Thanks for this. I will need to study it.

Kevin

On Monday, July 12, 2021 at 5:21:45 PM UTC-4, K.S. Bhaskar wrote:
> Kevin –
>
> https://docs.yottadb.com/AcculturationGuide/acculturation.html#global-directories-point-to-global-variables shows how a region defines a set of global variables to be mapped to a database file.
>
> Also, instead of typing mupip journal -extract=-stdout -forward and waiting to be prompted for a journal file name, you can type mupip journal -extract=-stdout -forward <journalfilename> all on the command line.
>
> Regards
> – Bhaskar
> On Sunday, July 11, 2021 at 5:48:45 PM UTC-4, kdtop wrote:
> > For my future reference, I found in the AdminOpsGuide that a better way to view the contents of the .mjl file is via the command
> >
> > mupip journal -extract=-stdout -forward
> >
> > And after pressing [enter], I am prompted for the name of the journal file.
> >
> > Kevin
> > On Sunday, July 11, 2021 at 4:51:20 PM UTC-4, kdtop wrote:
> > > Hello all,
> > >
> > > I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
> > >
> > > I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
> > >
> > > I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
> > >
> > > I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
> > >
> > > I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> > > It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
> > >
> > > Summary:
> > > -- How to stop journaling for particular globals?
> > >
> > > Thanks
> > > Kevin Toppenberg.

Re: Yottadb journalling questions

<2c8e6dc2-a377-49db-ba48-2932453d894cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=98&group=comp.lang.mumps#98

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a37:a816:: with SMTP id r22mr4133514qke.100.1626355339852;
Thu, 15 Jul 2021 06:22:19 -0700 (PDT)
X-Received: by 2002:aca:1918:: with SMTP id l24mr7874853oii.29.1626355339499;
Thu, 15 Jul 2021 06:22:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Thu, 15 Jul 2021 06:22:19 -0700 (PDT)
In-Reply-To: <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.164.29.153; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 173.164.29.153
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
<bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com> <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2c8e6dc2-a377-49db-ba48-2932453d894cn@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: kdtop3@gmail.com (kdtop)
Injection-Date: Thu, 15 Jul 2021 13:22:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: kdtop - Thu, 15 Jul 2021 13:22 UTC

Bhaskar (or others),

I'm just now getting to study this document. As I follow along, I typed in GDE --> show -region.

GDE> show -region

*** REGIONS ***

Std
Inst
Dynamic Def Rec
Key
Null
Null
Freeze
Qdb
Epoch
LOCK
Region Segment Coll Size
Size
Subs
Coll
Jnl
on Err
Rndwn
Taper
AutoDB
Stats
Crit
-------------------------------------------------------------------------------
------------------------------------------------------------
DEFAULT DEFAULT 0 256
64
NEVER
N
N
N
N
Y
N
Y
Sep
GDE>

The output wraps around, around, like the display width is too narrow. So I drag the putty window out wide, and it still does it. So it must be the definition of the display width is incorrect in yottadb. I tried logging into VistA to set up the terminal parameters. But then GDE won't launch, giving the following message

yottadb>do ^GDE

%YDB-E-COLLDATAEXISTS, Collation type cannot be changed while subscripted local
data exists
%GDE-I-NOACTION, Not updating Global Directory /opt/worldvista/EHR/g/mumps.gld

yottadb>kill

But after I issue a KILL, it will run.

So how do I set up the terminal properly?

Thanks
Kevin

On Monday, July 12, 2021 at 5:21:45 PM UTC-4, K.S. Bhaskar wrote:
> Kevin –
>
> https://docs.yottadb.com/AcculturationGuide/acculturation.html#global-directories-point-to-global-variables shows how a region defines a set of global variables to be mapped to a database file.
>
> Also, instead of typing mupip journal -extract=-stdout -forward and waiting to be prompted for a journal file name, you can type mupip journal -extract=-stdout -forward <journalfilename> all on the command line.
>
> Regards
> – Bhaskar
> On Sunday, July 11, 2021 at 5:48:45 PM UTC-4, kdtop wrote:
> > For my future reference, I found in the AdminOpsGuide that a better way to view the contents of the .mjl file is via the command
> >
> > mupip journal -extract=-stdout -forward
> >
> > And after pressing [enter], I am prompted for the name of the journal file.
> >
> > Kevin
> > On Sunday, July 11, 2021 at 4:51:20 PM UTC-4, kdtop wrote:
> > > Hello all,
> > >
> > > I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
> > >
> > > I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
> > >
> > > I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
> > >
> > > I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
> > >
> > > I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> > > It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
> > >
> > > Summary:
> > > -- How to stop journaling for particular globals?
> > >
> > > Thanks
> > > Kevin Toppenberg.

Re: Yottadb journalling questions

<2fba322b-2240-440d-aa95-058d991f5211n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=99&group=comp.lang.mumps#99

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:1195:: with SMTP id b21mr4344510qkk.71.1626362204182; Thu, 15 Jul 2021 08:16:44 -0700 (PDT)
X-Received: by 2002:a9d:58e:: with SMTP id 14mr4175901otd.222.1626362203884; Thu, 15 Jul 2021 08:16:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Thu, 15 Jul 2021 08:16:43 -0700 (PDT)
In-Reply-To: <2c8e6dc2-a377-49db-ba48-2932453d894cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=108.52.36.105; posting-account=zTPg1AoAAABx_LtAQ3dW6FBnU1dwmSvl
NNTP-Posting-Host: 108.52.36.105
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com> <bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com> <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com> <2c8e6dc2-a377-49db-ba48-2932453d894cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2fba322b-2240-440d-aa95-058d991f5211n@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: ksbhaskar@gmail.com (K.S. Bhaskar)
Injection-Date: Thu, 15 Jul 2021 15:16:44 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 241
 by: K.S. Bhaskar - Thu, 15 Jul 2021 15:16 UTC

On Thursday, July 15, 2021 at 9:22:20 AM UTC-4, kdtop wrote:
> Bhaskar (or others),
>
> I'm just now getting to study this document. As I follow along, I typed in GDE --> show -region.
>
>
> GDE> show -region
>
> *** REGIONS ***
>
> Std
> Inst
> Dynamic Def Rec
> Key
> Null
> Null
> Freeze
> Qdb
> Epoch
> LOCK
> Region Segment Coll Size
> Size
> Subs
> Coll
> Jnl
> on Err
> Rndwn
> Taper
> AutoDB
> Stats
> Crit
> -------------------------------------------------------------------------------
> ------------------------------------------------------------
> DEFAULT DEFAULT 0 256
> 64
> NEVER
> N
> N
> N
> N
> Y
> N
> Y
> Sep
> GDE>
>
>
> The output wraps around, around, like the display width is too narrow. So I drag the putty window out wide, and it still does it. So it must be the definition of the display width is incorrect in yottadb. I tried logging into VistA to set up the terminal parameters. But then GDE won't launch, giving the following message
>
> yottadb>do ^GDE
>
> %YDB-E-COLLDATAEXISTS, Collation type cannot be changed while subscripted local
> data exists
> %GDE-I-NOACTION, Not updating Global Directory /opt/worldvista/EHR/g/mumps.gld
>
> yottadb>kill
>
>
> But after I issue a KILL, it will run.
>
> So how do I set up the terminal properly?
>
> Thanks
> Kevin
>
>
> On Monday, July 12, 2021 at 5:21:45 PM UTC-4, K.S. Bhaskar wrote:
> > Kevin –
> >
> > https://docs.yottadb.com/AcculturationGuide/acculturation.html#global-directories-point-to-global-variables shows how a region defines a set of global variables to be mapped to a database file.
> >
> > Also, instead of typing mupip journal -extract=-stdout -forward and waiting to be prompted for a journal file name, you can type mupip journal -extract=-stdout -forward <journalfilename> all on the command line.
> >
> > Regards
> > – Bhaskar
> > On Sunday, July 11, 2021 at 5:48:45 PM UTC-4, kdtop wrote:
> > > For my future reference, I found in the AdminOpsGuide that a better way to view the contents of the .mjl file is via the command
> > >
> > > mupip journal -extract=-stdout -forward
> > >
> > > And after pressing [enter], I am prompted for the name of the journal file.
> > >
> > > Kevin
> > > On Sunday, July 11, 2021 at 4:51:20 PM UTC-4, kdtop wrote:
> > > > Hello all,
> > > >
> > > > I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
> > > >
> > > > I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
> > > >
> > > > I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
> > > >
> > > > I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
> > > >
> > > > I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> > > > It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
> > > >
> > > > Summary:
> > > > -- How to stop journaling for particular globals?
> > > >
> > > > Thanks
> > > > Kevin Toppenberg.

Kevin, YottaDB does not respond to dynamic terminal window resizing (which would need a handler for SIGWINCH to be implemented, much as there exists a handler for SIGUSR1/SIGUSR2). From the shell maximize your terminal window before going into YottaDB. You can also examine a global directory directly from a shell using the command: yottadb -run GDE <<<"show -command"

For example:

$ yottadb -run GDE <<<"show -command"
%GDE-I-LOADGD, Loading Global Directory file
/tmp/test/r1.32_x86_64/g/yottadb.gld
%GDE-I-VERIFY, Verification OK

GDE>
TEMPLATE -REGION -NOAUTODB
TEMPLATE -REGION -COLLATION_DEFAULT=0
TEMPLATE -REGION -EPOCHTAPER
TEMPLATE -REGION -NOINST_FREEZE_ON_ERROR
TEMPLATE -REGION -JOURNAL=(ALLOCATION=2048,AUTOSWITCHLIMIT=8386560,BEFORE_IMAGE,BUFFER_SIZE=2312,EXTENSION=2048)
TEMPLATE -REGION -KEY_SIZE=1019
TEMPLATE -REGION -LOCK_CRIT_SEPARATE
TEMPLATE -REGION -NULL_SUBSCRIPTS=ALWAYS
TEMPLATE -REGION -NOQDBRUNDOWN
TEMPLATE -REGION -RECORD_SIZE=1048576
TEMPLATE -REGION -STATS
TEMPLATE -REGION -STDNULLCOLL
! !
TEMPLATE -SEGMENT -ACCESS_METHOD=BG
TEMPLATE -SEGMENT -ALLOCATION=10000
TEMPLATE -SEGMENT -NOASYNCIO
TEMPLATE -SEGMENT -BLOCK_SIZE=2048
TEMPLATE -SEGMENT -DEFER_ALLOCATE
TEMPLATE -SEGMENT -NOENCRYPTION_FLAG
TEMPLATE -SEGMENT -EXTENSION_COUNT=20000
TEMPLATE -SEGMENT -GLOBAL_BUFFER_COUNT=2000
TEMPLATE -SEGMENT -LOCK_SPACE=220
TEMPLATE -SEGMENT -MUTEX_SLOTS=1024
TEMPLATE -SEGMENT -RESERVED_BYTES=0
! TEMPLATE -SEGMENT -ACCESS_METHOD=MM
TEMPLATE -SEGMENT -ALLOCATION=20000
TEMPLATE -SEGMENT -NOASYNCIO
TEMPLATE -SEGMENT -BLOCK_SIZE=1024
TEMPLATE -SEGMENT -DEFER
TEMPLATE -SEGMENT -DEFER_ALLOCATE
TEMPLATE -SEGMENT -NOENCRYPTION_FLAG
TEMPLATE -SEGMENT -EXTENSION_COUNT=40000
TEMPLATE -SEGMENT -GLOBAL_BUFFER_COUNT=1000
TEMPLATE -SEGMENT -LOCK_SPACE=220
TEMPLATE -SEGMENT -MUTEX_SLOTS=1024
TEMPLATE -SEGMENT -RESERVED_BYTES=0
! TEMPLATE -SEGMENT -ACCESS_METHOD=BG
! DELETE -REGION DEFAULT
DELETE -SEGMENT DEFAULT
ADD -REGION DEFAULT -DYNAMIC_SEGMENT=DEFAULT -JOURNAL=(FILE_NAME="$ydb_dir/$ydb_rel/g/yottadb.mjl") -KEY_SIZE=255 -NULL_SUBSCRIPTS=NEVER -RECORD_SIZE=4080
ADD -REGION YDBAIM -AUTODB -DYNAMIC_SEGMENT=YDBAIM -NOJOURNAL -KEY_SIZE=992 -RECORD_SIZE=1008
ADD -REGION YDBOCTO -DYNAMIC_SEGMENT=YDBOCTO -JOURNAL=(FILE_NAME="$ydb_dir/$ydb_rel/g/%ydbocto.mjl")
! ADD -SEGMENT DEFAULT -ALLOCATION=5000 -BLOCK_SIZE=4096 -EXTENSION_COUNT=10000 -FILE_NAME="$ydb_dir/$ydb_rel/g/yottadb.dat" -GLOBAL_BUFFER_COUNT=1000
ADD -SEGMENT YDBAIM -ACCESS_METHOD=MM -FILE_NAME="$ydb_dir/$ydb_rel/g/%ydbaim.dat"
ADD -SEGMENT YDBOCTO -FILE_NAME="$ydb_dir/$ydb_rel/g/%ydbocto.dat"
! LOCKS -REGION=DEFAULT
ADD -NAME %ydbAIM* -REGION=YDBAIM
ADD -NAME %ydbAIm* -REGION=YDBAIM
ADD -NAME %ydbAiM* -REGION=YDBAIM
ADD -NAME %ydbAim* -REGION=YDBAIM
ADD -NAME %ydbOCTO* -REGION=YDBOCTO
ADD -NAME %ydbOCTo* -REGION=YDBOCTO
ADD -NAME %ydbOCtO* -REGION=YDBOCTO
ADD -NAME %ydbOCto* -REGION=YDBOCTO
ADD -NAME %ydbOcTO* -REGION=YDBOCTO
ADD -NAME %ydbOcTo* -REGION=YDBOCTO
ADD -NAME %ydbOctO* -REGION=YDBOCTO
ADD -NAME %ydbOcto* -REGION=YDBOCTO
ADD -NAME %ydbaIM* -REGION=YDBAIM
ADD -NAME %ydbaIm* -REGION=YDBAIM
ADD -NAME %ydbaiM* -REGION=YDBAIM
ADD -NAME %ydbaim* -REGION=YDBAIM
ADD -NAME %ydboCTO* -REGION=YDBOCTO
ADD -NAME %ydboCTo* -REGION=YDBOCTO
ADD -NAME %ydboCtO* -REGION=YDBOCTO
ADD -NAME %ydboCto* -REGION=YDBOCTO
ADD -NAME %ydbocTO* -REGION=YDBOCTO
ADD -NAME %ydbocTo* -REGION=YDBOCTO
ADD -NAME %ydboctO* -REGION=YDBOCTO
ADD -NAME %ydbocto* -REGION=YDBOCTO
! GDE>
%GDE-I-NOACTION, Not updating Global Directory /tmp/test/r1.32_x86_64/g/yottadb.gld
$

You can put the command file under version control, for example, and you can load a command file into GDE. Details at https://docs.yottadb.com/AdminOpsGuide/gde.html

Regards
– Bhaskar

Re: Yottadb journalling questions

<41976f7e-4c2b-414f-8d62-262f8455e868n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=100&group=comp.lang.mumps#100

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ae9:f447:: with SMTP id z7mr13997211qkl.453.1626633811546;
Sun, 18 Jul 2021 11:43:31 -0700 (PDT)
X-Received: by 2002:a05:6830:215a:: with SMTP id r26mr4574060otd.244.1626633811268;
Sun, 18 Jul 2021 11:43:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sun, 18 Jul 2021 11:43:30 -0700 (PDT)
In-Reply-To: <2fba322b-2240-440d-aa95-058d991f5211n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.164.29.153; posting-account=siWvwQoAAACYCGtn7kPrEYinJEra-Oc0
NNTP-Posting-Host: 173.164.29.153
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
<bce9894f-b339-43ad-b96e-4c8a7c55e6b8n@googlegroups.com> <51df4ad2-e5d5-4831-ade9-e349225d41d3n@googlegroups.com>
<2c8e6dc2-a377-49db-ba48-2932453d894cn@googlegroups.com> <2fba322b-2240-440d-aa95-058d991f5211n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <41976f7e-4c2b-414f-8d62-262f8455e868n@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: kdtop3@gmail.com (kdtop)
Injection-Date: Sun, 18 Jul 2021 18:43:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: kdtop - Sun, 18 Jul 2021 18:43 UTC

On Thursday, July 15, 2021 at 11:16:44 AM UTC-4, K.S. Bhaskar wrote:
> On Thursday, July 15, 2021 at 9:22:20 AM UTC-4, kdtop wrote:
> > Bhaskar (or others),
> >
> > I'm just now getting to study this document. As I follow along, I typed in GDE --> show -region.
> >
> >
> ... snip --
> >
> > The output wraps around, around, like the display width is too narrow. So I drag the putty window out wide, and it still does it. So it must be the definition of the display width is incorrect in yottadb. I tried logging into VistA to set up the terminal parameters. But then GDE won't launch, giving the following message
> >
> - snip -

> Kevin, YottaDB does not respond to dynamic terminal window resizing (which would need a handler for SIGWINCH to be implemented, much as there exists a handler for SIGUSR1/SIGUSR2). From the shell maximize your terminal window before going into YottaDB. You can also examine a global directory directly from a shell using the command: yottadb -run GDE <<<"show -command"
>
-snip-
> Regards
> – Bhaskar

Bhaskar,

I understand that SIGWINCH event handler is not yet implemented. Maybe someday...

Making the window big BEFORE opening YottaDB seemed to do the trick, as you said.

Thanks
Kevin

Re: Yottadb journalling questions

<a87da57e-b749-4b13-b18a-59542a1a55dan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=109&group=comp.lang.mumps#109

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a37:96c2:: with SMTP id y185mr11758772qkd.6.1627176239588;
Sat, 24 Jul 2021 18:23:59 -0700 (PDT)
X-Received: by 2002:a05:6830:1c69:: with SMTP id s9mr7683387otg.185.1627176239352;
Sat, 24 Jul 2021 18:23:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Sat, 24 Jul 2021 18:23:59 -0700 (PDT)
In-Reply-To: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=123.253.232.51; posting-account=fayZzQoAAACZuiEbpb6HBYI66CBhLXYa
NNTP-Posting-Host: 123.253.232.51
References: <acc08003-b6d4-4b11-b635-904ef04b72cen@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a87da57e-b749-4b13-b18a-59542a1a55dan@googlegroups.com>
Subject: Re: Yottadb journalling questions
From: solokotok@gmail.com (Akabouncue)
Injection-Date: Sun, 25 Jul 2021 01:23:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Akabouncue - Sun, 25 Jul 2021 01:23 UTC

Pada Senin, 12 Juli 2021 pukul 03.51.20 UTC+7, kdtop menulis:
> Hello all,
>
> I have recently upgraded my system from GTM to yottadb, as part of a larger migration to a more recent version of Ubuntu LTS.
>
> I got a notice today that one of my hard drives was almost full. Researching this, I found that that my journal files were quite large, 3 GB generated in 1 day. That is much more than I have experienced in the past. My scripts delete journal files older than 2-3 days, as I recall. So several days of journal files are adding up.
>
> I opened the .mjl file with an editor to see if I could get any ideas, and while much of the data is unreadable, there were many string entries referencing taskman tasks, and the %ZTSCH global. (This yottadb is supporting a VistA EMR).
>
> I seem to remember years ago when setting up my prior GT.M, that I configured the database to exclude journaling on certain globals that are subject to much churning, including ^TMP.
>
> I tried scanning through the journal information in the yottadb operation guide, here: https://docs.yottadb.com/AdminOpsGuide/ydbjournal.html
> It seem that when turning on journaling, it is done for "regions." But I am not sure how regions of the database correspond to particular globals.
>
> Summary:
> -- How to stop journaling for particular globals?
>
> Thanks
> Kevin Toppenberg.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor