How ComboStrap analyzes and replicates data ?

Undraw My Documents

ComboStrap - Analytics and database replication

About

The database replication process is the process that:

Sync

Because this is an intensive process, it happens slowly:

  • for every page visited
  • or for every page that gains or lost backlinks.

And the output is cached.

If you want to sync the database completely, you can:

Search Index Manager

The search index manager is a plugin that will replicate the page data. See how to install it and run it on this page. Search Index Manager

Cli

On the server, you can replicate the data to the database with the cli following command

cd $DOKUWIKI_HOME
# optional (for farm)
animal=animal-directory-name
# command
php ./bin/plugin.php combo metadata-to-database --host serverHostName --port 80 /

Monitoring

The replication date

The replication date is stored in the date_replication metadata and can be seen via:

select
	path,
	date_replication
from
	pages
order by date desc
limit 10;

The analytics date

You can see the analytics date on the date field of the JSON object

Example of query .

select
	path,
	json_extract(analytics, '$.date') as date
from
	pages
order by date desc
limit 10;

Replication Request

When backlinks are added or deleted, a replication request of the page is asked to update them.

This request are stored in the table pages_to_replicate. If you query this table, you would get all page that should be replicated in the near future. This table should be empty 99% of the time as this is a temporary table.

select * from pages_to_replicate




Showcase yourself and your brand

Get free news, tips, and tricks
to create a remarkable experience for your readers.




Recommended Pages
Undraw File Analysis 8k9b
All the metadatas that you can set for your pages

Page Metadata are page configuration. They are also known as: semantic data. or structured data The metadata can be seen and modified via the Metadata Manager. There is two groups of metadata:...
Backlink Action
Backlinks management in ComboStrap

Backlinks are important because they give extra-navigation possibilities and gives also more weight to pages. This article tell you everything about backlinks in ComboStrap
Low Quality Content Effect
ComboStrap SEO - Low Quality Page Protection (LQPP)

If your website has a lot of low quality page: your SEO score will be lower you can even get at worse the penalty and be deleted from the search engine index. This feature if enabled makes low quality...
Undraw My Documents
How to use the cli to perform administrative tasks

The cli is a command line client that permits to perform the following administrative tasks: replicate the file content to the database replicate the metadata to the frontmatter delete non-existing...
Link Wizard
Link Wizard

To insert a link into your page, you can use the link wizard in the toolbareditor. The search occurs in the page name, title and heading 1 The link created uses as label the page name The text...
Undraw My Documents
UUID (Universally Unique IDentifier)

The page_id field stores a identifier for your page that is unique for your website. It's a random generated string of length 12. The page_id of this page is: It is used to create: a permalink...
Move Plugin Rename
Page Move

ComboStrap supports the move of a page via the plugin:movemove third party plugin For each page move, we: rename the page link rename the image link and page image take into account the backlink...
Page Explorer List Name To Ui Region
Page-explorer: adding page navigation easily to your website

With the page-explorer component, you can add an explorer like panel that will list your pages in a list or collapsible tree fashion
Undraw My Documents
Replication

Combostrap replicates data from pages: into the database for different functionality such as: index Routing Page sql into the frontmatter (if enabled) The replication process is by default...



Task Runner