Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS Graviton EC2 Reader instance returns an empty result #15

Open
malikmuhammad1 opened this issue Feb 13, 2024 · 2 comments
Open

AWS Graviton EC2 Reader instance returns an empty result #15

malikmuhammad1 opened this issue Feb 13, 2024 · 2 comments

Comments

@malikmuhammad1
Copy link

writer: r5.large
standby: r6g.large

step1: writer

CREATE EXTENSION pg_bigm;
CREATE INDEX ix_t1_content ON t1 using GIN (content gin_bigm_ops);

insert into t1 (col1, col2, content)
SELECT
gs10, gs20,
concat(md5(random()::text)) AS random_string
FROM
generate_series(1, 1) AS gs;

update t1 set content = concat(content,'가나다') where id = 1;

rdsadmin=# select * from t1 where content like '%가나다%';
id | col1 | col2 | content
----+------+------+----------------------------------------
1 | 10 | 20 | 7329992bb1dc5fd43140f6c596cd035c가나다
(1 row)

step2: standby reader

rdsadmin=# select * from t1 where content like '%가나다%';
id | col1 | col2 | content
----+------+------+---------
(0 rows)

rdsadmin=# select * from t1 where content like '%bb1dc5fd431%';
id | col1 | col2 | content
----+------+------+----------------------------------------
1 | 10 | 20 | 7329992bb1dc5fd43140f6c596cd035c가나다
(1 row)

@ardentperf
Copy link

i think this repo is a mirror, afaik it's not monitored. this particular issue was discussed at https://osdn.net/projects/pgbigm/lists/archive/hackers/2024-February/000370.html

@MasaoFujii
Copy link
Member

This GitHub page is now the official site for pg_bigm. Let's discuss things here.

The same issue was reported and discussed on pgsql-hackers. It's best to wait for a consensus there, and then update pg_bigm following how pg_trgm resolves the issue.
https://www.postgresql.org/message-id/CB11ADBC-0C3F-4FE0-A678-666EE80CBB07@amazon.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants